计算化学公社

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

[GROMACS] 求助,用gromacs做伞状采样

[复制链接 Copy URL]

63

帖子

0

威望

401

eV
积分
464

Level 3 能力者

跳转到指定楼层 Go to specific reply
楼主
老师们好,我最近在用gromacs做伞状采样,做的是约束力沿CO2和IL之间距离采样,我试过老出错误提示Fatal error:Group Protein referenced in the .mdp file was not found in the index file.
Group names must match either [moleculetype] names or custom index group
names, in which case you must supply an index file to the '-n' option
of grompp.
下面是我用的pull.mpd脚本,大佬看一下脚本有没有错,还有我的这个错误提示该怎样解决呢?
title       = Umbrella pulling simulation
define      = -DPOSRES_B
; Run parameters
integrator  = md
dt          = 0.002
tinit       = 0
nsteps      = 250000    ; 500 ps
nstcomm     = 10
; Output parameters
nstxout     = 5000      ; every 10 ps
nstvout     = 5000
nstfout     = 500
nstxtcout   = 500       ; every 1 ps
nstenergy   = 500
; Bond parameters
constraint_algorithm    = lincs
constraints             = all-bonds
continuation            = yes       ; continuing from NPT
; Single-range cutoff scheme
nstlist     = 5
ns_type     = grid
rlist       = 1.4
rcoulomb    = 1.4
rvdw        = 1.4
; PME electrostatics parameters
coulombtype     = PME
fourierspacing  = 0.12
fourier_nx      = 0
fourier_ny      = 0

fourier_nz      = 0
pme_order       = 4
ewald_rtol      = 1e-5
optimize_fft    = yes
; Berendsen temperature coupling is on in two groups
Tcoupl      = Nose-Hoover
tc_grps     = Protein   Non-Protein
tau_t       = 0.5       0.5
ref_t       = 310       310
; Pressure coupling is on
Pcoupl          = Parrinello-Rahman
pcoupltype      = isotropic
tau_p           = 1.0
compressibility = 4.5e-5
ref_p           = 1.0
refcoord_scaling = com
; Generate velocities is off
gen_vel     = no
; Periodic boundary conditions are on in all directions
pbc     = xyz
; Long-range dispersion correction
DispCorr    = EnerPres
; Pull code
pull                    = yes
pull_ngroups            = 2
pull_ncoords            = 1
pull_group1_name        = CO2

pull_group2_name        = IL
pull_coord1_type        = umbrella      ; harmonic biasing force
pull_coord1_geometry    = distance      ; simple distance increase
pull_coord1_groups      = 1 2
pull_coord1_dim         = N N Y
pull_coord1_rate        = 0.01          ; 0.01 nm per ps = 10 nm per ns
pull_coord1_k           = 1000          ; kJ mol^-1 nm^-2
pull_start              = yes           ; define initial COM distance > 0


374

帖子

2

威望

1543

eV
积分
1957

Level 5 (御坂)

2#
发表于 Post on 2019-6-15 17:37:59 | 只看该作者 Only view this author
tc_grps     = Protein   Non-Protein没找到temperature coupling group
要么直接tc_grps     = system 然后把tau_t和ref_t也改一下
要么自己make_ndx定义不同的group 然后加上-n index.ndx

评分 Rate

参与人数
Participants 1
eV +3 收起 理由
Reason
liuzejiang + 3 谢谢

查看全部评分 View all ratings

6万

帖子

99

威望

6万

eV
积分
125148

管理员

公社社长

3#
发表于 Post on 2019-6-16 00:46:30 | 只看该作者 Only view this author
这体系里根本就没蛋白,你拿模拟蛋白质的mdp直接用显然会提示找不到名为Protein的组
没事别用all-bonds,这是很以讹传讹的选项

评分 Rate

参与人数
Participants 1
eV +3 收起 理由
Reason
liuzejiang + 3 谢谢

查看全部评分 View all ratings

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

63

帖子

0

威望

401

eV
积分
464

Level 3 能力者

4#
 楼主 Author| 发表于 Post on 2019-6-16 21:16:17 | 只看该作者 Only view this author
sobereva 发表于 2019-6-16 00:46
这体系里根本就没蛋白,你拿模拟蛋白质的mdp直接用显然会提示找不到名为Protein的组
没事别用all-bonds, ...

多谢老师解答,本人小白一个,想问下有没有适合我这个体系的pull.mdp推荐呀,或者该脚本是不是部分改动也能用于我的体系?

63

帖子

0

威望

401

eV
积分
464

Level 3 能力者

5#
 楼主 Author| 发表于 Post on 2019-6-16 21:26:39 | 只看该作者 Only view this author
wuzhiyi 发表于 2019-6-15 17:37
tc_grps     = Protein   Non-Protein没找到temperature coupling group
要么直接tc_grps     = system 然 ...

多谢老师解答,tc_grps     = system这里改动我还能懂,tau_t和ref_t这里改动不太懂,望老师解疑一下

374

帖子

2

威望

1543

eV
积分
1957

Level 5 (御坂)

6#
发表于 Post on 2019-6-17 01:32:59 | 只看该作者 Only view this author
剑与玫瑰 发表于 2019-6-16 21:26
多谢老师解答,tc_grps     = system这里改动我还能懂,tau_t和ref_t这里改动不太懂,望老师解疑一下

tau_t 就是thermostat触发的时间间隔 有两个系统就有两个间隔
ref_t就是reference temperature同样有两个系统就有两个reference temperature

评分 Rate

参与人数
Participants 1
eV +3 收起 理由
Reason
wad + 3 谢谢

查看全部评分 View all ratings

63

帖子

0

威望

401

eV
积分
464

Level 3 能力者

7#
 楼主 Author| 发表于 Post on 2019-6-18 08:30:14 | 只看该作者 Only view this author
wuzhiyi 发表于 2019-6-17 01:32
tau_t 就是thermostat触发的时间间隔 有两个系统就有两个间隔
ref_t就是reference temperature同样有两 ...

老师你好,我昨天试着把tc_grps     = system这里改了,跑完之后出现错误提示,这是什么原因该怎样修改呢
Fatal error:
Invalid T coupling input: 1 groups, 2 ref-t values and 2 tau-t values
For more information and tips for troubleshooting, please check the GROMACS
website at http://www.gromacs.org/Documentation/Errors

374

帖子

2

威望

1543

eV
积分
1957

Level 5 (御坂)

8#
发表于 Post on 2019-6-18 22:07:40 | 只看该作者 Only view this author
剑与玫瑰 发表于 2019-6-18 08:30
老师你好,我昨天试着把tc_grps     = system这里改了,跑完之后出现错误提示,这是什么原因该怎样修改呢 ...

有两个系统就有两个reference temperature
tc_grps     = system的话就只有一个系统 所有一个值就够了

75

帖子

0

威望

655

eV
积分
730

Level 4 (黑子)

9#
发表于 Post on 2020-4-13 21:13:43 | 只看该作者 Only view this author
请问这个问题您是如何解决的?我修改了对应部分
tc_grps     = system
tau_t       = 0.1
ref_t       = 300
但还是有这个报错。

23

帖子

0

威望

140

eV
积分
163

Level 3 能力者

10#
发表于 Post on 2020-4-19 12:56:14 | 只看该作者 Only view this author
wuzhiyi 发表于 2019-6-15 17:37
tc_grps     = Protein   Non-Protein没找到temperature coupling group
要么直接tc_grps     = system 然 ...

多谢大佬,学习了

23

帖子

0

威望

272

eV
积分
295

Level 3 能力者

11#
发表于 Post on 2021-4-15 10:54:26 | 只看该作者 Only view this author
我之前也遇到这样的问题,按照报错提示修改tau-t  ref-t的数量就可以,system 一般只输入一个就可以

3

帖子

0

威望

466

eV
积分
469

Level 3 能力者

12#
发表于 Post on 2021-6-29 11:12:31 | 只看该作者 Only view this author
sobereva 发表于 2019-6-16 00:46
这体系里根本就没蛋白,你拿模拟蛋白质的mdp直接用显然会提示找不到名为Protein的组
没事别用all-bonds, ...

请问老师,对于键参数约束除了all-bonds还有别的比较好的设定吗?谢谢老师!!

6万

帖子

99

威望

6万

eV
积分
125148

管理员

公社社长

13#
发表于 Post on 2021-6-30 03:19:28 | 只看该作者 Only view this author
Jan 发表于 2021-6-29 11:12
请问老师,对于键参数约束除了all-bonds还有别的比较好的设定吗?谢谢老师!!

没事甭瞎约束,只会引入人为虚假因素,等着挨审稿人批,还没有任何实际意义

评分 Rate

参与人数
Participants 1
eV +3 收起 理由
Reason
Jan + 3 谢谢

查看全部评分 View all ratings

北京科音自然科学研究中心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-23 01:28 , Processed in 0.279931 second(s), 21 queries , Gzip On.

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