计算化学公社

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

[GROMACS] 关于gmx_mpi版的mdrun参数设置问题

[复制链接 Copy URL]

13

帖子

0

威望

173

eV
积分
188

Level 3 能力者

跳转到指定楼层 Go to specific reply
楼主
初用mpi版本的gmx,计算平台为64核超算;
模拟体系盒子大小3.888*3.29*7.92(nm);
;;;;;;;;;;;;;;;;;;;;;;;;;;;
不设置dd和npme时报错信息为:
Program:     gmx mdrun, version 2020.3
Source file: src/gromacs/domdec/domdec.cpp (line 2277)
MPI rank:    0 (out of 64)

Fatal error:
There is no domain decomposition for 48 ranks that is compatible with the
given box and a minimum cell size of 1.885 nm
Change the number of ranks or mdrun option -rdd or -dds
Look in the log file for details on the domain decomposition

;;;;;;;;;;;;;;;;;;;;;;;;;
如果设置dd,为了满足大于1.885nm,则会出现dd设置的过小,npme设置过大的报错;

想请教一下:
在尽可能的提高计算速度的情况下,我改调整哪些参数呢(我看手册对dds和rdd的概念没太理解..)?
dd与npme的和一定是要满足64吗?
或者直接不用mpi版本的gmx?


13

帖子

0

威望

173

eV
积分
188

Level 3 能力者

2#
 楼主 Author| 发表于 Post on 2020-11-11 17:50:00 | 只看该作者 Only view this author
附上我的mdp内容,不知是否有用;


integrator        = md                                                ; leap-frog integrator
nsteps                = 7500000                                        ; 1 fs * 100000 = 100 ps 15ns
dt                        = 0.002                                                ; 1 fs

; Output control
nstxout                = 10000                                                ; save coordinates every 1 ps
nstvout                = 10000                                                ; save velocities every 1 ps
nstxtcout        = 10000                                                ; xtc compressed trajectory output every 1 ps
nstenergy        = 10000                                                ; save energies every 1 ps
nstlog                = 10000                                                ; update log file every 1 ps

; Bond parameters
constraints        = none                                        ; all bonds (even heavy atom-H bonds) constrained

; Neighborsearching
cutoff-scheme           = Verlet                                        ; search neighboring grid cels
ns-type                 = Grid
nstlist                = 10                                                ; 10 fs
rlist                = 1.2                                                ; short-range neighborlist cutoff (in nm)
rcoulomb        = 1.2                                                ; short-range electrostatic cutoff (in nm)
rvdw                = 1.2                                                ; short-range van der Waals cutoff (in nm)

; Electrostatics
coulombtype        = PME                                                ; Particle Mesh Ewald for long-range electrostatics

; Temperature coupling is on
tcoupl                = V-rescale                                        ; modified Berendsen thermostat
tc-grps                = System                                        ; two coupling groups - more accurate
tau_t                = 0.1                                                ; time constant, in ps
ref_t                = 300                                                ; reference temperature, one for each group, in K

; Pressure coupling is on
; Pressure coupling is on
pcoupl                  = Berendsen        ;Berendsen or Parrinello-Rahman
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
refcoord_scaling        = com

; Periodic boundary conditions
pbc                = xyz                                                        ; 3-D PBC

; Velocity generation
gen_vel                = yes                                                ; Velocity generation is on
gen_temp        = 300                                                ;

freezegrps = MMT_NOOH
freezedim = Y Y Y

6万

帖子

99

威望

6万

eV
积分
125147

管理员

公社社长

3#
发表于 Post on 2020-11-11 20:59:01 | 只看该作者 Only view this author
适当减小thread-mpi数,增加OpenMP并行线程数
北京科音自然科学研究中心http://www.keinsci.com)致力于计算化学的发展和传播,长期开办极高质量的各种计算化学类培训:初级量子化学培训班中级量子化学培训班高级量子化学培训班量子化学波函数分析与Multiwfn程序培训班分子动力学与GROMACS培训班CP2K第一性原理计算培训班,内容介绍以及往届资料购买请点击相应链接查看。这些培训是计算化学从零快速入门以及进一步全面系统性提升研究水平的高速路!培训各种常见问题见《北京科音办的培训班FAQ》
欢迎加入北京科音微信公众号获取北京科音培训的最新消息,并避免错过网上有价值的计算化学文章!
欢迎加入人气极高、专业性特别强的理论与计算化学综合交流群思想家公社QQ群(群号见此链接),合计达一万多人。北京科音培训班的学员在群中可申请VIP头衔,提问将得到群主Sobereva的最优先解答。
思想家公社的门口Blog:http://sobereva.com(发布大量原创计算化学相关博文)
Multiwfn主页:http://sobereva.com/multiwfn(十分强大、极为流行的量子化学波函数分析程序)
Google Scholar:https://scholar.google.com/citations?user=tiKE0qkAAAAJ
ResearchGate:https://www.researchgate.net/profile/Tian_Lu

13

帖子

0

威望

173

eV
积分
188

Level 3 能力者

4#
 楼主 Author| 发表于 Post on 2020-11-12 15:45:13 | 只看该作者 Only view this author
sobereva 发表于 2020-11-11 20:59
适当减小thread-mpi数,增加OpenMP并行线程数

谢谢老师 ,但是遗憾的是超算编译的这个版本-npmpi不可用啊.. 提示not compatible with thread-MPI;
仅仅使用-npomp起不到任何效果,尝试过只设置-npomp,从16到48,都是出现和不加npomp时候一样的报错
是他们安装的问题吗,有什么好的意见可以让我去尝试呢?
再次感谢!

6万

帖子

99

威望

6万

eV
积分
125147

管理员

公社社长

5#
发表于 Post on 2020-11-13 09:21:10 | 只看该作者 Only view this author
huangfuxin 发表于 2020-11-12 15:45
谢谢老师 ,但是遗憾的是超算编译的这个版本-npmpi不可用啊.. 提示not compatible with thread-MPI;
仅 ...

没有npmpi,那是ntmpi
如果是基于MPI并行的,修改mpirun -np对应的并行进程数
北京科音自然科学研究中心http://www.keinsci.com)致力于计算化学的发展和传播,长期开办极高质量的各种计算化学类培训:初级量子化学培训班中级量子化学培训班高级量子化学培训班量子化学波函数分析与Multiwfn程序培训班分子动力学与GROMACS培训班CP2K第一性原理计算培训班,内容介绍以及往届资料购买请点击相应链接查看。这些培训是计算化学从零快速入门以及进一步全面系统性提升研究水平的高速路!培训各种常见问题见《北京科音办的培训班FAQ》
欢迎加入北京科音微信公众号获取北京科音培训的最新消息,并避免错过网上有价值的计算化学文章!
欢迎加入人气极高、专业性特别强的理论与计算化学综合交流群思想家公社QQ群(群号见此链接),合计达一万多人。北京科音培训班的学员在群中可申请VIP头衔,提问将得到群主Sobereva的最优先解答。
思想家公社的门口Blog:http://sobereva.com(发布大量原创计算化学相关博文)
Multiwfn主页:http://sobereva.com/multiwfn(十分强大、极为流行的量子化学波函数分析程序)
Google Scholar:https://scholar.google.com/citations?user=tiKE0qkAAAAJ
ResearchGate:https://www.researchgate.net/profile/Tian_Lu

本版积分规则 Credits rule

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

GMT+8, 2026-2-22 13:33 , Processed in 0.176081 second(s), 20 queries , Gzip On.

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