compile gromacs GPU version from source code
已有 5753 次阅读
2012-4-24 14:37
| 系统分类:科研笔记 |
code, GPU, gromacs, Compile, Souce
1. download source code:
git clone git://git.gromacs.org/gromacs.git
2. install openMM and CUDA library into
/soft/gromacs-gpu/openmm (download from https://simtk.org/project/xml/downloads.xml?group_id=506
)
/soft/gromacs-gpu/cuda
configuring .cshrc as following
etenv OPENMM_ROOT_DIR /soft/openmm
setenv LD_LIBRARY_PATH /soft/gromacs4.6-gpu/cuda/lib64:/soft/gromacs4.6-gpu/cuda/lib:/soft/gromacs-gpu
/openmm/lib
3. compile GROMACS CUDA from source code
mkdir cuda
cd cuda
cmake ../. -DGMX_OPENMM=ON -DGMX_THREADS=OFF -DCMAKE_INSTALL_PREFIX=/soft/gromacs4.6-gpu
make -j24
make install
4. configure .cshrc
source /soft/gromacs4.6-gpu/bin/GMXRC.csh
done!
转载本文请联系原作者获取授权,同时请注明本文来自袁曙光科学网博客。 链接地址: https://blog.sciencenet.cn/blog-355217-563041.html
上一篇:
compile Desmond from source code 下一篇:
useful hot key for Qtiplot