计算化学公社

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

[GROMACS] 求助:想用gromacs进行电解质的退火模拟,出现segmentation fault错误

[复制链接 Copy URL]

2

帖子

0

威望

53

eV
积分
55

Level 2 能力者

跳转到指定楼层 Go to specific reply
楼主
mdp文件如下,在执行命令grompp_mpi -f ann.mdp -c npt.gro -p topol.top -o ann.tpr   时出现segmentation fault错误。把annealing这几行删掉可以正常产生tpr文件,求大神指点

title                = NPT equilibration for system
;define                = -DPOSRES        ; position restrain the protein
; Run parameters
integrator        = md                ; leap-frog integrator
nsteps                = 20000000                ; 2 * 50000 = 100 ps
dt                    = 0.001                ; 2 fs
; Output control
nstxout                = 50000        ; save coordinates every 0.2 ps
nstvout                = 50000        ; save velocities every 0.2 ps
nstenergy        = 50000        ; save energies every 0.2 ps
nstlog                = 50000        ; update log file every 0.2 ps
nstxout-compressed            = 50000    ; save compressed coordinates every 10.0 ps
                                ; nstxout-compressed replaces nstxtcout
compressed-x-grps   =     ; replaces xtc-grps
; Bond parameters
continuation        = yes                    ; first dynamics run
constraint_algorithm = lincs        ; holonomic constraints
constraints        =    none     ; all bonds (even heavy atom-H bonds) constrained
lincs_iter        = 1                            ; accuracy of LINCS
lincs_order        = 4                            ; also related to accuracy
; Neighborsearching
ns_type                = grid                ; search neighboring grid cels
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)
cutoff-scheme = Verlet
; Electrostatics
coulombtype        = PME                ; Particle Mesh Ewald for long-range electrostatics
pme_order        = 4                    ; cubic interpolation
fourierspacing        = 0.16                ; grid spacing for FFT
; Temperature coupling is on
tcoupl                =  V-rescale                    ; modified Berendsen thermostat
tc-grps                = TFO  AL        DXE; three coupling groups - more accurate
tau_t                = 0.2        0.2  0.2    ; time constant, in ps
ref_t                = 298  298   298   ; reference temperature, one for each group, in K

; Pressure coupling is off
pcoupl                = Parrinello-Rahman         
pcoupltype  = isotropic
tau_p                        = 1.0                            ; time constant, in ps
ref_p                        = 1.0                      ; reference pressure, in bar
compressibility     = 4.5e-5
annealing = single  single  single  
annealing-npoints= 0 0 4
annealing-time= 0  1000 2000  4000
annealing-temp= 298 349  400  400         
; 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
gen_temp        = 250                ; temperature for Maxwell distribution
gen_seed        = -1                ; generate a random seed
; COM motion removal



6万

帖子

99

威望

5万

eV
积分
120109

管理员

公社社长

2#
发表于 Post on 2025-5-21 05:49:16 | 只看该作者 Only view this author
退火点没法写0个

没事甭写fourierspacing        = 0.16 ,避免被以讹传讹
北京科音自然科学研究中心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

2

帖子

0

威望

53

eV
积分
55

Level 2 能力者

3#
 楼主 Author| 发表于 Post on 2025-5-21 09:08:01 | 只看该作者 Only view this author
sobereva 发表于 2025-5-21 05:49
退火点没法写0个

没事甭写fourierspacing        = 0.16 ,避免被以讹传讹

请问如果要给单个组退火 要怎么写呢

6万

帖子

99

威望

5万

eV
积分
120109

管理员

公社社长

4#
发表于 Post on 2025-5-22 03:56:14 | 只看该作者 Only view this author
sowhat 发表于 2025-5-21 09:08
请问如果要给单个组退火 要怎么写呢

某个组温度若始终恒定,退火点至少也得写1;或者写2,前、后的参考温度设成相同的值
北京科音自然科学研究中心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, 2025-8-14 04:13 , Processed in 0.251858 second(s), 20 queries , Gzip On.

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