计算化学公社

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

[GROMACS] 求助:FMNSf跑npt前出现的v-rescale 报错,换成Beredsen可以跑,但是我们要用v-res...

[复制链接 Copy URL]

3

帖子

0

威望

19

eV
积分
22

Level 1 能力者

跳转到指定楼层 Go to specific reply
楼主
error:The v-rescale thermostat was called with a group with #DOF=2.933824, but for #DOF<3 only integer #DOF are supported


我用的gromacs版本是2020.1的,去查gromacs手册上也没有找到DOF是指什么。
大家有遇到过这种报错吗?求问是怎么解决的?或者我应该从哪个方向找问题?


我的mdp文件
title                    = fmns MD
;cpp                      = /lib/cpp
;include                  = /usr/share/gromacs/top
;define                   = -DPOSRES   ; ICE restrain the polyethylene


;Run parameters
integrator               = md    ;leap-frog integrator
dt                       = 0.002     ;2fs
nsteps                   = 100000   ;2ns


;Output control                           
nstxout                  = 500         
nstvout                  = 500         
nstlog                   = 500         
nstenergy                = 500         
nstxout-compressed        = 500      


;   xtc compressed trj output
compressed-x_grps                 = FMNS NA   
energygrps               = FMNS NA


; Neighborsearching
cutoff-scheme            = Verlet      
nstlist                  = 10     ; 20fs
ns-type                  = grid   
; search neighboring grid cels
rlist                    = 1.0     ; short-range neighborlist cutoff (in nm)


;Electrostatics
coulombtype              = PME  ; Particle Mesh Ewald for long-range eletro
pme_order                = 4    ; cubic interpolation
fourierspacing           = 0.16  ; grid spacing for FFT
rcoulomb                 = 1.0   ; short-range for electrostatic cutoff
rvdw                     = 1.0   ;                van der Waals


; Temperature coupling is on
tcoupl                   = V-rescale   ; modified Beredsen thermostat   这里改成Beredsen就可以跑,但是老师说我们还是要用v-rescale
tc-grps                  = FMNS NA   ; 3 coupling group
tau-t                    = 0.1 0.1   ; time constant ,in ps
ref-t                    = 298 298   ; reference T


; Pressure coupling is on
pcoupl                   = Berendsen    ; Pressure coupling
pcoupltype                = isotropic    ; uniform scaling of box vectors
tau-p                    = 2.0         ; time constant
compressibility          = 4.5e-5     ; isothermal compressibility of water
ref-p                    = 1.0            ; reference pressure, in bar
refcoord_scaling         = all


gen-vel                  = yes            ; generate v ,yes for the first md, no for 2st, 3rd....
gen-temp                 = 298
gen-seed                 = 173529  


;Bonds
constraints              = h-bonds
constraint-algorithm     = LINCS
lincs_iter               = 1    ; accuracy of LINCS
lincs_order              = 4    ; also related to accuracy
  
; Periodic boundary conditions
pbc                      = xyz    ; 3-D PBC


; Dispersion correction
DispCorr   = EnerPres     ; account for cut-off vdW scheme

6万

帖子

99

威望

6万

eV
积分
125147

管理员

公社社长

2#
发表于 Post on 2021-10-13 19:52:42 | 只看该作者 Only view this author
DOF含义去官方论坛问开发者,或者自己读源代码

尝试不同gmx版本,如2019、2021
也可以尝试改大tau-t看看
也可以把gen-vel设no试试

实在不行就用Berendsen

发帖时候别用那么大字号,一般人的视力没那么差

北京科音自然科学研究中心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

313

帖子

2

威望

3900

eV
积分
4253

Level 6 (一方通行)

3#
发表于 Post on 2021-10-13 19:56:47 | 只看该作者 Only view this author
应该是你这个FMNS 和NA其中一个组的原子个数非常少,比如小于3.
直接用system一个组应该就可以。

3

帖子

0

威望

19

eV
积分
22

Level 1 能力者

4#
 楼主 Author| 发表于 Post on 2021-10-14 14:30:57 | 只看该作者 Only view this author
sobereva 发表于 2021-10-13 19:52
DOF含义去官方论坛问开发者,或者自己读源代码

尝试不同gmx版本,如2019、2021

好的,我尝试了用system 就正常跑了,下次发帖注意字体大小问题,不好意思啊

3

帖子

0

威望

19

eV
积分
22

Level 1 能力者

5#
 楼主 Author| 发表于 Post on 2021-10-14 14:32:26 | 只看该作者 Only view this author
lyj714 发表于 2021-10-13 19:56
应该是你这个FMNS 和NA其中一个组的原子个数非常少,比如小于3.
直接用system一个组应该就可以。

我尝试改成system 就能跑了 !感谢!

本版积分规则 Credits rule

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

GMT+8, 2026-2-22 13:41 , Processed in 0.289151 second(s), 26 queries , Gzip On.

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