24小时热门版块排行榜    

查看: 2894  |  回复: 0

zxy964777869

铜虫 (正式写手)

[求助] gromacs Segmentation fault

我用gromacs做纳米管中传导水的模拟是出现Segmentation fault错误,对系统我跑了EM达到了收敛,并且NVE达到了温度的平衡,但在跑NPT模拟提交mdrun后程序返回Segmentation fault,今天调试了一天也没什么进展,但有意思的是我把NPT参数文件中的关于压力耦合的部分删除后用此mdp跑任务竟然无错误。
由于我在网上搜的时候,有人说出现这种错误是由于能量未达到最小化,但我跑完EM收敛了,并且NVE跑完后温度曲线也很稳定,在300K左右小幅震荡。
我跑NPT模拟的参数内容为:

title=water MD
cpp  = /lib/cpp
define         = -DFLEXIBLE
integrator     = md
dt  = 0.002       ; ps
nsteps = 500000        
comm_mode = linear
nstcomm = 1
nstxout = 100
nstvout = 100
nstlog = 100
nstenergy = 100
pbc  = xyz
continuation =yes
; group(s) to write to energy file
energygrps = System
nstlist = 5
ns_type = grid
coulombtype = PME
fourierspacing = 0.15
pme_order = 4
ewald_rtol = 1e-5
optimize_fft = yes
; Temperature coupling
tcoupl = nose-hoover
tc-grps = System
tau_t  = 0.1
ref_t  = 300

pcoupl = Parrinello-Rahman
pcoupltype        = semiisotropic       
tau_p                = 2.0                                ; time constant, in ps
ref_p                = 1.0        1.0
compressibility = 4.5e-5  4.5e-5
(此块去掉后模拟可以运行)
; No constraints
constraints           = all-bonds
constraint_algorithm = lincs
lincs_order  = 4
rlist  = 1.0
rcoulomb = 1.0

rvdw  = 1.0
;Velocity generation
gen_vel = no
; Energy group exclusions
energygrp_excl =
; Freezing bottom water layer and top part of CNT
freezegrps = slabfix
freezedim =Y Y Y


log文件最后显示,并无出错信息:

           Step           Time         Lambda
              0        0.00000        0.00000

   Energies (kJ/mol)
          Angle Ryckaert-Bell.          LJ-14     Coulomb-14        LJ (SR)
    3.28384e+03    1.16390e+05    1.47468e+04    0.00000e+00    1.89427e+06
   Coulomb (SR)   Coul. recip.      Potential    Kinetic En.   Total Energy
   -5.81940e+04   -4.70806e+03    1.96579e+06    1.07137e+04    1.97651e+06
    Temperature Pressure (bar)   Constr. rmsd
    3.01629e+02   -1.23503e+32    5.75108e-05
再次向众位求解,金币不多,还望多参与讨论,谢谢。
回复此楼
已阅   关注TA 给TA发消息 送TA红花 TA的回帖

智能机器人

Robot (super robot)

我们都爱小木虫

找到一些相关的精华帖子,希望有用哦~

科研从小木虫开始,人人为我,我为人人
相关版块跳转 我要订阅楼主 zxy964777869 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 麻烦专家们看看评委们的意见(F口面上) +4 gdd2018 2026-08-28 5/250 2026-08-28 12:41 by Tide man
[基金申请] 2026年叶企孙基金 +3 bud_bud 2026-08-27 6/300 2026-08-28 11:53 by bud_bud
[基金申请] 基金系统什么内容也没有 30+4 winsaint 2026-08-27 9/450 2026-08-28 11:06 by maolC
[基金申请] 面上合作单位盖章 +5 ssyjh 2026-08-27 5/250 2026-08-27 20:50 by gdfollow
[教师之家] 导师吐槽:我怎么摊上了这么个极品研究生! +7 苏东坡二世 2026-08-23 7/350 2026-08-27 18:14 by 瞬息宇宙
[基金申请] 申请删除本帖 +6 lyz123lyz 2026-08-27 7/350 2026-08-27 17:31 by 宁静致远sy
[基金申请] 基金未中,这种答复是模板吗? +5 zhaosm1982 2026-08-27 6/300 2026-08-27 16:00 by lfy8008
[基金申请] 怎么看青基中了没有啊 +5 叶九微 2026-08-26 5/250 2026-08-27 10:35 by l_zh2008
[文学芳草园] 梦想 +3 myrtle 2026-08-26 3/150 2026-08-27 10:01 by angelyueyi
[基金申请] 2026年的国家社科基金项目通讯评审的新规则与新动向、新挑战 +7 process2012 2026-08-23 10/500 2026-08-26 19:23 by hmhminy
[基金申请] 能否退出参与的面上项目解除限项 +23 koalala 2026-08-24 26/1300 2026-08-26 14:29 by 宝贝虫子
[基金申请] 国合里面能看到了 +7 一怀馨秋 2026-08-26 7/350 2026-08-26 11:23 by zhaosm1982
[基金申请] 国际合作可查了,中了面上 (EPI+1)(金币+50) +18 Ldrop2023 2026-08-26 18/900 2026-08-26 11:15 by cmrandy
[基金申请] 项目信息和经费信息在系统里都可以看到了 +6 wittyboy 2026-08-26 14/700 2026-08-26 10:55 by wittyboy
[基金申请] 今天务委会开完了,明天出结果吗 +19 angus9576 2026-08-25 23/1150 2026-08-26 10:03 by zp519
[基金申请] 国合现在查不到了吗? +10 chengyan1220 2026-08-24 20/1000 2026-08-26 08:57 by peasantsprig
[基金申请] 牛来!米来!面来! +8 beefly 2026-08-26 8/400 2026-08-26 08:37 by xuzhipiao
[基金申请] 在坚冰还盖着北海的时候,我看到了怒放的梅花。 (金币+10) +6 ziyangfang 2026-08-25 9/450 2026-08-25 20:26 by huagongfeihu
[基金申请] 没有任何消息-是不是就凉了 +9 图啦图啦 2026-08-24 10/500 2026-08-25 11:59 by 南海小哥
[基金申请] 建议基金发布提前给出明确的时间点 +13 kulium 2026-08-21 16/800 2026-08-24 16:27 by superceng
信息提示
请填处理意见