eman2:install:binaryinstallanaconda_2.99
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
eman2:install:binaryinstallanaconda_2.99 [2025/07/06 18:08] – steveludtke | eman2:install:binaryinstallanaconda_2.99 [2025/07/06 18:16] (current) – steveludtke | ||
---|---|---|---|
Line 30: | Line 30: | ||
* LD_LIBRARY_PATH, | * LD_LIBRARY_PATH, | ||
* If you have any of these shell variables set for use with other software, it may be necessary to remove those settings as well. If the tests below fail after installation, | * If you have any of these shell variables set for use with other software, it may be necessary to remove those settings as well. If the tests below fail after installation, | ||
+ | |||
2. **Download: | 2. **Download: | ||
3. **Install: | 3. **Install: | ||
- | < | + | < |
bash < | bash < | ||
</ | </ | ||
Line 39: | Line 40: | ||
* You will be asked if you want to initialize EMAN2 (conda init). Answer yes, or you won't have access to the ' | * You will be asked if you want to initialize EMAN2 (conda init). Answer yes, or you won't have access to the ' | ||
* EMAN2 initialization will add a block of code to your // | * EMAN2 initialization will add a block of code to your // | ||
+ | |||
4. **Close Shell** After installation, | 4. **Close Shell** After installation, | ||
+ | |||
5. **Test:** Run these programs to see if the install worked: | 5. **Test:** Run these programs to see if the install worked: | ||
- | < | + | < |
# This will display the exact version you have installed. If you ask for help, provide the full output of this command. | # This will display the exact version you have installed. If you ask for help, provide the full output of this command. | ||
e2version.py | e2version.py | ||
Line 84: | Line 87: | ||
* If you have any of these shell variables set for use with other software, it may be necessary to remove those settings as well. If the tests below fail after installation, | * If you have any of these shell variables set for use with other software, it may be necessary to remove those settings as well. If the tests below fail after installation, | ||
2. **Download: | 2. **Download: | ||
+ | |||
3. **Install: | 3. **Install: | ||
- | < | + | < |
bash < | bash < | ||
</ | </ | ||
Line 92: | Line 96: | ||
* EMAN2 initialization will add a block of code to your // | * EMAN2 initialization will add a block of code to your // | ||
4. Close your current terminal window (you may actually want to log out completely), | 4. Close your current terminal window (you may actually want to log out completely), | ||
+ | |||
5. **Test:** Run these programs to see if the install worked: | 5. **Test:** Run these programs to see if the install worked: | ||
- | < | + | < |
# This will display the exact version you have installed. If you ask for help, provide the full output of this command. | # This will display the exact version you have installed. If you ask for help, provide the full output of this command. | ||
e2version.py | e2version.py | ||
Line 158: | Line 163: | ||
4. Install OpenGL. | 4. Install OpenGL. | ||
- | < | + | < |
sudo apt update | sudo apt update | ||
sudo apt install libsm-dev libxrender-dev build-essential libgl1-mesa-dev mesa-utils mesa-common-dev libglu1-mesa libglu1-mesa-dev mesa-utils | sudo apt install libsm-dev libxrender-dev build-essential libgl1-mesa-dev mesa-utils mesa-common-dev libglu1-mesa libglu1-mesa-dev mesa-utils | ||
Line 173: | Line 178: | ||
7. Start X Server and set environment variables. | 7. Start X Server and set environment variables. | ||
- | < | + | < |
export DISPLAY=:0 | export DISPLAY=:0 | ||
glxinfo | grep OpenGL | glxinfo | grep OpenGL | ||
Line 182: | Line 187: | ||
8. Run these programs to see if the install worked: | 8. Run these programs to see if the install worked: | ||
- | < | + | < |
e2version.py | e2version.py | ||
e2speedtest.py | e2speedtest.py | ||
Line 197: | Line 202: | ||
This support is limited to Linux, and (potentially with some extra effort) Win 11 with an LSW2 installation. | This support is limited to Linux, and (potentially with some extra effort) Win 11 with an LSW2 installation. | ||
- | Many machines will have CUDA installed already, and if CUDA is an appropriate version, this should work fine with the !TensorFlow version shipped with EMAN2. However, if you are running newer versions of CUDA there may be problems. You can test compatibility quickly with: | + | Many machines will have CUDA installed already, and if CUDA is an appropriate version, this should work fine with the TensorFlow version shipped with EMAN2. However, if you are running newer versions of CUDA there may be problems. You can test compatibility quickly with: |
< | < | ||
# Make sure you have your environment set to run EMAN2 programs | # Make sure you have your environment set to run EMAN2 programs | ||
Line 210: | Line 215: | ||
* Installation depends on linux distribution, | * Installation depends on linux distribution, | ||
- | < | + | < |
apt-get install nvidia-cuda-toolkit | apt-get install nvidia-cuda-toolkit | ||
</ | </ | ||
* If the version of CUDA you have installed is incompatible, | * If the version of CUDA you have installed is incompatible, | ||
- | < | + | < |
conda remove tensorflow-gpu tensorflow-gpu-base | conda remove tensorflow-gpu tensorflow-gpu-base | ||
pip install tensorflow | pip install tensorflow |
eman2/install/binaryinstallanaconda_2.99.1751825303.txt.gz · Last modified: by steveludtke