-
Installation
-
Download the package from GitHub
git clone https://github.com/pandegroup/openmm.git
-
Load Anaconda module and create your own conda environment
- python 2: . /sw/summit/python/2.7/anaconda2/5.3.0/etc/profile.d/conda.sh
- python 3: . /sw/summit/python/3.7/anaconda3/5.3.0/etc/profile.d/conda.sh
-
Install the dependencies,
swig
,numpy
andcython
conda install swig numpy cython
- (swig version 3+)
-
Module load necessary packages
module load cmake
module load gcc/7.4.0
module load cuda/9.1.85
-
Compile the code using
cmake
(version >= 3.12.0)cd openmm mkdir -p build_openmm cd build_openmm >>>Summit cmake .. -DCUDA_HOST_COMPILER=/sw/summit/gcc/7.4.0/bin/gcc -DCUDA_SDK_ROOT_DIR=/sw/summit/cuda/9.1.85/samples -DCUDA_TOOLKIT_ROOT_DIR=/sw/summit/cuda/9.1.85/ -DCMAKE_CXX_COMPILER=/sw/summit/gcc/7.4.0/bin/g++ -DCMAKE_C_COMPILER=/sw/summit/gcc/7.4.0/bin/gcc -DCMAKE_INSTALL_PREFIX=${openmm_install_path}
Set the variable CMAKE_INSTALL_PREFIX to the location where you want to install OpenMM
-
Build the package
make -j 40 make install make PythonInstall
-
Test the installation
python -m simtk.testInstallation make test
-
-
Known issues
- A lower version (6.4.0) of
gcc
may result inno module found: simtk
. - A higher version
gcc/8.1.0
may result in large/wrongMedian difference
from CPU platform frompython -m simtk.testInstallation
.
- A lower version (6.4.0) of
Last active
September 20, 2019 19:36
-
-
Save lee212/4bbfe520c8003fbb91929731b8ea8a1e to your computer and use it in GitHub Desktop.
OpenMM Installation on Summit
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Credit goes to @hengma1001