计算化学公社

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

[GROMACS] Gromacs模拟离子液体退火时出现语法错误求助

[复制链接 Copy URL]

74

帖子

0

威望

1165

eV
积分
1239

Level 4 (黑子)

跳转到指定楼层 Go to specific reply
楼主
请问sob老师和给我老师朋友,我在模拟离子液体做退火处理时,出现以下错误:

Fatal error:
First time point for annealing > init_t.

加入tini_t = 0,在退火时间改为annealing-time = 0 1500 3000 4000 5000后还是不能解决。具体的mdp文件内容如下,请问大家应该如何解决呢?非常感谢您的解答。

title       = NPT equilibration
; Run parameters
integrator  = md        ; leap-frog integrator
nsteps      = 2500     ; 2 * 2500 = 5000 ps
dt          = 0.002     ; 2 fs
; Output control
nstxout     = 25000       ; save coordinates every 5.0 ps
nstvout     = 25000       ; save velocities every 5.0 ps
nstenergy   = 25000       ; save energies every 5.0 ps
nstlog      = 25000       ; update log file every 5.0 ps
; Bond parameters
continuation    = no       ; first dynamics run
constraint_algorithm = lincs    ; holonomic constraints
constraints     = h-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.0       ; short-range electrostatic cutoff (in nm)
rvdw            = 1.0       ; 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                   ; thermostat
tc-grps     = system   ; two coupling groups - more accurate
tau_t       = 0.4  ; time constant, in ps
ref_t       = 473         ; 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
refcoord_scaling    = com
;Simulated annealing
annealing               = single
annealing-npoints       = 4
annealing-time          = 1500 3000 4000 5000
init_t
annealing-temp          = 473 443 403 373
; Periodic boundary conditions
pbc         = xyz       ; 3-D PBC
; Dispersion correction
DispCorr    = EnerPres  ; account for cut-off vdW scheme
; Velocity generation
gen_vel     = no       ; velocity generation off after NVT

282

帖子

0

威望

3021

eV
积分
3303

Level 5 (御坂)

2#
发表于 Post on 2019-12-22 14:11:35 | 只看该作者 Only view this author
annealing-time  里数字从0开始,数字数量要与annealing-npoints 相等
示例:
annealing           =  single
annealing-npoints   =  5
annealing-time      =  0 500 1500 7500 8000
annealing-temp      =  298 598 598 298 298

6万

帖子

99

威望

6万

eV
积分
125127

管理员

公社社长

3#
发表于 Post on 2019-12-22 16:00:02 | 只看该作者 Only view this author
标题里不要在末尾用叹号,给你改了
写tinit=0没有意义,本来默认就是0。annealing-time需要从0时刻开始指定(或者指定了tinit的时候,从tinit开始指定),要不然程序不知道一开始温度怎么控
北京科音自然科学研究中心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

74

帖子

0

威望

1165

eV
积分
1239

Level 4 (黑子)

4#
 楼主 Author| 发表于 Post on 2019-12-23 08:46:23 | 只看该作者 Only view this author
wbn 发表于 2019-12-22 14:11
annealing-time  里数字从0开始,数字数量要与annealing-npoints 相等
示例:
annealing           =  si ...

非常感谢!使用您给出的方法解决了问题。

74

帖子

0

威望

1165

eV
积分
1239

Level 4 (黑子)

5#
 楼主 Author| 发表于 Post on 2019-12-23 08:47:04 | 只看该作者 Only view this author
sobereva 发表于 2019-12-22 16:00
标题里不要在末尾用叹号,给你改了
写tinit=0没有意义,本来默认就是0。annealing-time需要从0时刻开始指 ...

非常感谢,根据您给的提示,把问题解决了。

本版积分规则 Credits rule

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

GMT+8, 2026-2-19 15:42 , Processed in 0.156562 second(s), 20 queries , Gzip On.

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