Science Blog of Dr. Yuan分享 http://blog.sciencenet.cn/u/albumns This blog is mainly on Molecular molecular modelling and simulations

博文

compile gromacs GPU version from source code

已有 5603 次阅读 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
收藏 IP: 212.87.3.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (2 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-4-27 04:11

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部