eman2:install:condainstall
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| eman2:install:condainstall [2025/06/19 21:41] – steveludtke | eman2:install:condainstall [2025/08/22 20:21] (current) – steveludtke | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| ====== Install binary into Anaconda/ | ====== Install binary into Anaconda/ | ||
| + | |||
| + | < | ||
| 1. **Install Anaconda or [[https:// | 1. **Install Anaconda or [[https:// | ||
| - | * On that page, scroll down to the Latest Release, then download the appropriate file, for example: Miniforge3-Linux-x86_64.sh | + | |
| + | | ||
| * Run the installer, for example: bash Miniforge3-Linux-x86_64.sh | * Run the installer, for example: bash Miniforge3-Linux-x86_64.sh | ||
| - | * //On M1/M2 Macs:// make sure you have the ARM64 !MiniForge, not Intel. | + | * //On M1/M2 Macs:// make sure you have the ARM64 MiniForge, not Intel. |
| - | * //On Windows 11:// the native Windows | + | * //On Windows 11:// the native Windows MiniForge will not work, you must use the __Linux__ |
| - | * We suggest | + | * //For Linux running on ARM processors:// |
| + | * We suggest MiniForge to avoid licensing issues with Anaconda, but if your institution subscribes to Anaconda, that's fine too. If you use Anaconda, you may need to install Mamba manually below. | ||
| - | 2. **Install mamba (only if necessary):** | + | 2. **Install mamba (skip with MiniForge):** |
| * if you just installed MiniForge above, you will already have mamba. If you have your own Anaconda installation, | * if you just installed MiniForge above, you will already have mamba. If you have your own Anaconda installation, | ||
| < | < | ||
| Line 54: | Line 58: | ||
| </ | </ | ||
| - | << | ||
| ===== GPU Aceleration & Deep Learning ===== | ===== GPU Aceleration & Deep Learning ===== | ||
| Older EMAN2 programs make use of Tensorflow for Deep Learning/ | Older EMAN2 programs make use of Tensorflow for Deep Learning/ | ||
| Line 60: | Line 63: | ||
| * Tensorflow | * Tensorflow | ||
| * Should be installed automatically as part of the EMAN2 environment setup above | * Should be installed automatically as part of the EMAN2 environment setup above | ||
| - | * You can check to see what version of Tensorflow and whether it is GPU accelerated with: "conda list|grep tensorflow". On a machine with an NVIDIA GPU and properly configured drivers, you should see a tensorflow version like "2.17.0 | + | * You can check to see what version of Tensorflow and whether it is GPU accelerated with: //conda list|grep tensorflow//. On a machine with an NVIDIA GPU and properly configured drivers, you should see a tensorflow version like **2.17.0 |
| * You can test tensorflow with: // | * You can test tensorflow with: // | ||
| Line 66: | Line 69: | ||
| * While it is possible to install JAX using conda/ | * While it is possible to install JAX using conda/ | ||
| * Instead, we strongly suggest just installing JAX using pip: | * Instead, we strongly suggest just installing JAX using pip: | ||
| - | | + | |
| - | | + | conda activate eman2 |
| - | | + | |
| + | # Linux (NVIDIA): | ||
| + | pip install | ||
| + | |||
| + | #Other (cpu): | ||
| + | pip install jax optax | ||
| + | </code> | ||
| * see [[https:// | * see [[https:// | ||
| * You can test after installation with: // | * You can test after installation with: // | ||
eman2/install/condainstall.1750369296.txt.gz · Last modified: by steveludtke
