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 09:19] hmeij07 [Amber20] |
cluster:213 [2022/07/25 13:52] 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 |
- | /usr/local/cuda | + | |
+ | # copy head node's amber22_src/ | ||
+ | |||
+ | |||
+ | source / | ||
+ | echo $AMBERHOME | ||
+ | |||
+ | # install latest openmpi version | ||
+ | cd amber_src/ | ||
+ | tar xvfj ../ | ||
+ | |||
+ | ./ | ||
- | [hmeij@n100 ~]$ which nvcc mpicc gcc | ||
- | / | ||
- | / | ||
- | / | ||
- | # [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 | ||
- | ./run_cmake | ||
- | make install | ||
- | # lots and lots of warnings | ||
- | # then | ||
- | source / | ||
# on n100 now, parallel, set miniconda flags to FALSE | # on n100 now, parallel, set miniconda flags to FALSE | ||
Line 393: | Line 395: | ||
# on n100 just change cuda flag | # on n100 just change cuda flag | ||
+ | module load cuda/11.6 | ||
-CUDA=TRUE | -CUDA=TRUE | ||
./run_cmake | ./run_cmake | ||
make install | make install | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | [hmeij@n100 ~]$ echo $CUDA_HOME | ||
+ | / | ||
+ | |||
+ | [hmeij@n100 ~]$ which nvcc mpicc gcc | ||
+ | / | ||
+ | / | ||
+ | / | ||
#tests | #tests | ||
Line 407: | Line 421: | ||
</ | </ | ||
- | |||
- | **[[cluster: | ||
**[[cluster: | **[[cluster: | ||