生物分子模拟论坛

 找回密码
 我想注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 4718|回复: 5

[Gromacs] Gromacs CPU的问题

[复制链接]
发表于 2015-10-22 22:40:11 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,下载更多分子模拟资源。

您需要 登录 才可以下载或查看,没有帐号?我想注册

x
跑了能量最小化以后显示这个,我的GPU卡很差,GTX750TI,出现这种负载颠倒的情况能够优化吗?
NOTE: The GPU has >20% more load than the CPU. This imbalance causes
      performance loss, consider using a shorter cut-off and a finer PME grid.

NOTE: 14 % of the run time was spent in pair search,
      you might want to increase nstlist (this has no effect on accuracy)
发表于 2015-10-25 23:22:02 | 显示全部楼层
gromacs要注意cpu和gpu的搭配,gromacs设置了gpu用于计算非键相互作用,cpu计算成键相互作用。所以如果cpu快了,gpu慢了,那么cpu就要等gpu,反之则gpu等cpu,这样就导致了计算速度下降。
 楼主| 发表于 2015-10-28 20:00:59 | 显示全部楼层
川大-灰太狼 发表于 2015-10-25 23:22
gromacs要注意cpu和gpu的搭配,gromacs设置了gpu用于计算非键相互作用,cpu计算成键相互作用。所以如果cpu ...

嗯嗯,好的,谢谢灰太狼o(∩_∩)o
发表于 2015-10-30 11:49:15 | 显示全部楼层
川大-灰太狼 发表于 2015-10-25 23:22
gromacs要注意cpu和gpu的搭配,gromacs设置了gpu用于计算非键相互作用,cpu计算成键相互作用。所以如果cpu ...

灰太狼大大,可以理解成只要gpu速度快于cpu就不会拖计算后腿吗?
发表于 2015-10-30 14:01:08 | 显示全部楼层
atmdd 发表于 2015-10-30 11:49
灰太狼大大,可以理解成只要gpu速度快于cpu就不会拖计算后腿吗?

两个要搭配好,谁都不能慢,就如同水桶理论一样:)
 楼主| 发表于 2015-11-22 23:49:41 | 显示全部楼层
川大-灰太狼 发表于 2015-10-30 14:01
两个要搭配好,谁都不能慢,就如同水桶理论一样:)

那这个主要是要修改md.mdp中的哪个呢?

title       = Protein-ligand complex MD simulation
; Run parameters
integrator  = md        ; leap-frog integrator
nsteps      = 15000000    ; 2 * 15000000 = 30000 ps (30 ns)
dt          = 0.002     ; 2 fs
; Output control
nstxout             = 0         ; suppress .trr output
nstvout             = 0         ; suppress .trr output
nstenergy           = 5000      ; save energies every 10.0 ps
nstlog              = 5000      ; update log file every 10.0 ps
nstxout-compressed  = 5000      ; write .xtc trajectory every 10.0 ps
compressed-x-grps   = System
energygrps          = Protein EVO
; Bond parameters
continuation    = yes           ; first dynamics run
constraint_algorithm = lincs    ; holonomic constraints
constraints     = all-bonds     ; all bonds (even heavy atom-H bonds) constrained
lincs_iter      = 1             ; accuracy of LINCS
lincs_order     = 4             ; also related to accuracy
; Neighborsearching
cutoff-scheme   = Verlet
ns_type         = grid      ; search neighboring grid cells
nstlist         = 10        ; 20 fs, largely irrelevant with Verlet
rcoulomb        = 1.4       ; short-range electrostatic cutoff (in nm)
rvdw            = 1.4       ; short-range van der Waals cutoff (in nm)
; Electrostatics
coulombtype     = PME       ; Particle Mesh Ewald for long-range electrostatics
pme_order       = 4         ; cubic interpolation
fourierspacing  = 0.16      ; grid spacing for FFT
; Temperature coupling
tcoupl      = V-rescale                     ; modified Berendsen thermostat
tc-grps     = Protein_EVO Water_and_ions    ; two coupling groups - more accurate
tau_t       = 0.1   0.1                     ; time constant, in ps
ref_t       = 300   300                     ; reference temperature, one for each group, in K
; Pressure coupling
pcoupl      = Parrinello-Rahman             ; pressure coupling is on for NPT
pcoupltype  = isotropic                     ; uniform scaling of box vectors
tau_p       = 2.0                           ; time constant, in ps
ref_p       = 1.0                           ; reference pressure, in bar
compressibility = 4.5e-5                    ; isothermal compressibility of water, bar^-1
; Periodic boundary conditions
pbc         = xyz       ; 3-D PBC
; Dispersion correction
DispCorr    = EnerPres  ; account for cut-off vdW scheme
; Velocity generation
gen_vel     = no        ; assign velocities from Maxwell distribution
您需要登录后才可以回帖 登录 | 我想注册

本版积分规则

QQ|分迪科技|小黑屋|手机版|Archiver|生物分子模拟论坛 ( 蜀ICP备14009200号-3 )

GMT+8, 2024-4-20 06:50 , Processed in 0.201270 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表