计算化学公社

 找回密码 Forget password
 注册 Register
Views: 10779|回复 Reply: 3
打印 Print 上一主题 Last thread 下一主题 Next thread

[GROMACS] 使用free-energy功能时,gmx能gpu加速吗

[复制链接 Copy URL]

3

帖子

0

威望

37

eV
积分
40

Level 2 能力者

跳转到指定楼层 Go to specific reply
楼主
本人计算小分子溶解自由能时,使用到了gmx的free-energy功能;根据官方教程六http://www.mdtutorials.com/gmx/,将平时的(integrator=)md模拟改成了sd,并添加了free-energy相关命令;
模拟过程倒是顺利,就是发现,gmx能够正常的调用1个gpu,但是在任务管理器中gpu的使用量是0;(平时md模拟是可以正常调用gpu加速的)
遂上网求助各位老师,使用gmx的free-energy功能是不是不能gpu加速?
贴出一个示例mdp:
define       = -DPOSRES
integrator   = sd      
nsteps       = 2000000
dt           = 0.002   
comm-mode    = Linear  
nstcomm      = 100     

nstxout                = 0   
nstvout                = 0   
nstfout                = 0   
nstxout-compressed     = 1000
compressed-x-precision = 1000
nstlog                 = 1000
nstenergy              = 1000
nstcalcenergy          = 100

constraint_algorithm   = lincs   
constraints            = all-bonds
lincs_iter             = 1        
lincs_order            = 4        
lincs-warnangle        = 30      
continuation           = yes      

cutoff-scheme   = Verlet
ns-type         = grid  
nstlist         = 20   
rlist           = 1.2   
pbc             = xyz   

coulombtype      = PME
rcoulomb         = 1.2
ewald_geometry   = 3d  
pme-order        = 4   
fourierspacing   = 0.16
ewald-rtol       = 1e-6

vdw-type                = PME            
rvdw                    = 1.2            
vdw-modifier            = Potential-Shift
ewald-rtol-lj           = 1e-3           
lj-pme-comb-rule        = Geometric      
DispCorr                = EnerPres      

tc_grps          = System           
tau_t            = 0.2              
ref_t            = 310              
pcoupl           = Parrinello-Rahman
pcoupltype       = isotropic        
tau_p            = 2.0              
ref_p            = 1.013            
compressibility  = 4.5e-05         
refcoord-scaling = com              

gen_vel      = no
gen_seed     = -1
gen_temp     = 310

free-energy              = yes                                                                                    
couple-moltype           = bla                                                                                    
couple-lambda0           = none                                                                                   
couple-lambda1           = vdw-q                                                                                 
couple-intramol          = no                                                                                    
separate-dhdl-file       = yes                                                                                    
sc-alpha                 = 0.5                                                                                    
sc-power                 = 1                                                                                      
sc-sigma                 = 0.3                                                                                                
init-lambda-state        = 0                                                                              
coul-lambdas             = 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.00 0.0 0.00 0.00 0.00 0.0 0.2 0.4 0.5 0.6 0.7 0.8 0.9 1.0
vdw-lambdas              = 0.0 0.2 0.4 0.5 0.6 0.7 0.8 0.85 0.9 0.95 0.97 0.99 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0
nstdhdl                  = 100                                                                                    
calc-lambda-neighbors    = -1                                                                                     




374

帖子

2

威望

1543

eV
积分
1957

Level 5 (御坂)

2#
发表于 Post on 2021-4-14 05:04:17 | 只看该作者 Only view this author
用最新的2021的话 可以使用一部分 当然速度没有不用FE的快

3

帖子

0

威望

37

eV
积分
40

Level 2 能力者

3#
 楼主 Author| 发表于 Post on 2021-4-14 10:08:00 | 只看该作者 Only view this author
wuzhiyi 发表于 2021-4-14 05:04
用最新的2021的话 可以使用一部分 当然速度没有不用FE的快

也就是说,本人使用的2019.3版本的gmx是不能gpu加速fe的吗

561

帖子

0

威望

3410

eV
积分
3971

Level 5 (御坂)

4#
发表于 Post on 2021-4-14 12:53:49 | 只看该作者 Only view this author
用2021理论上可以,但是推荐使用其他的engine,跑alchemical method基本都比GMX快。

本版积分规则 Credits rule

手机版 Mobile version|北京科音自然科学研究中心 Beijing Kein Research Center for Natural Sciences|京公网安备 11010502035419号|计算化学公社 — 北京科音旗下高水平计算化学交流论坛 ( 京ICP备14038949号-1 )|网站地图

GMT+8, 2026-2-23 03:00 , Processed in 0.201283 second(s), 26 queries , Gzip On.

快速回复 返回顶部 返回列表 Return to list