This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
cluster:213 [2022/07/25 13:19] hmeij07 [Amber20] |
cluster:213 [2022/07/25 17:58] hmeij07 [Amber22] |
||
---|---|---|---|
Line 266: | Line 266: | ||
< | < | ||
+ | |||
+ | # First **all the necessary packages ** (yum install...) | ||
| | ||
Line 339: | Line 341: | ||
< | < | ||
+ | |||
+ | # First **all the necessary packages ** (yum install...) | ||
| | ||
Line 355: | Line 359: | ||
-DDOWNLOAD_MINICONDA=TRUE \ | -DDOWNLOAD_MINICONDA=TRUE \ | ||
2>&1 | tee cmake.log | 2>&1 | tee cmake.log | ||
+ | ./run_cmake | ||
+ | make install | ||
- | # Env | + | # Note !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
+ | The OpenMPI and MPICH system installations provided by CentOS | ||
+ | (i.e., through yum install) | ||
+ | are known to be somehow incompatible with Amber22. | ||
+ | # OUCH !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
- | [hmeij@n100 ~]$ module load cuda/11.6 | ||
- | [hmeij@n100 ~]$ echo $CUDA_HOME | + | # GO TO node n100 |
- | / | + | |
- | [hmeij@n100 ~]$ which nvcc mpicc gcc | + | # copy head node's amber22_src/ |
- | /usr/local/cuda/ | + | |
- | / | + | |
- | / | + | |
- | # [FIXED} cmake error on conda install, set to FALSE | ||
- | # OS native python, install on n[100-101] | ||
- | -- Python version 3.9 -- OK | ||
- | -- Found PythonLibs: / | ||
- | -- Checking for Python package numpy -- not found | ||
- | -- Checking for Python package scipy -- not found | ||
- | -- Checking for Python package matplotlib -- not found | ||
- | -- Checking for Python package setuptools -- found | ||
- | [END FIXED] | ||
- | # mpi & cuda FALSE builds serial | + | source |
- | ./run_cmake | + | echo $AMBERHOME |
- | make install | + | |
- | # lots and lots of warnings | + | |
- | # then | + | # install latest openmpi version |
- | source | + | cd amber_src/Ambertools/src |
+ | tar xvfj ../../../../openmpi-4.1.4.tar.bz2 | ||
- | # on n100 now, parallel, set miniconda flags to FALSE | + | ./ |
+ | |||
+ | |||
+ | # on n100 now, parallel, set | ||
-MPI=TRUE | -MPI=TRUE | ||
+ | -DDOWNLOAD_MINICONDA=FALSE | ||
./run_cmake | ./run_cmake | ||
make install | make install | ||
# on n100 just change cuda flag | # on n100 just change cuda flag | ||
+ | module load cuda/11.6 | ||
-CUDA=TRUE | -CUDA=TRUE | ||
+ | -DDOWNLOAD_MINICONDA=FALSE | ||
./run_cmake | ./run_cmake | ||
make install | make install | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | [hmeij@n100 ~]$ echo $CUDA_HOME | ||
+ | / | ||
+ | |||
+ | [hmeij@n100 ~]$ which nvcc mpicc gcc | ||
+ | / | ||
+ | / | ||
+ | / | ||
#tests | #tests | ||
Line 407: | Line 419: | ||
</ | </ | ||
- | |||
- | **[[cluster: | ||
**[[cluster: | **[[cluster: | ||