计算化学公社

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

[GROMACS] 乙醇与水摩尔比1:2混合体系的模拟问题

[复制链接 Copy URL]

2

帖子

0

威望

45

eV
积分
47

Level 2 能力者

跳转到指定楼层 Go to specific reply
楼主
在重复培训教程乙醇与水摩尔比1:2混合体系的模拟案例时,用chem3D构建乙醇和水的pdb文件,然后用两次gmx insert-molecules 命令构建混合体系生成mix.pdb文件,后续按教程步骤修改ethanol.itp文件,建立mix.top文件,进行能量极小化和平衡相MD,然后就在平衡相MD的计算中卡住进行不下去了。请问老师,是什么地方出问题了呢?

具体过程、文件及报错信息如下:
gmx insert-molecules -box 3 3 3 -ciethanol.pdb -nmol 150 -o temp.pdb
gmx insert-molecules -f temp.pdb -ciwater.pdb -nmol 300 -o mix.pdb
gmx grompp -f em.mdp -c mix.pdb -p mix.top-o em.tpr -maxwarn 1

获得em.tpr文件,被忽略的报错信息为:
Warning: atom name 1 in mix.top and mix.pdb does not match (OW - C)
Warning: atom name 2 in mix.top and mix.pdb does not match (HW1 - C)
Warning: atom name 3 in mix.top and mix.pdb does not match (HW2 - O)
Warning: atom name 4 in mix.top and mix.pdb does not match (OW - H)
Warning: atom name 5 in mix.top and mix.pdb does not match (HW1 - H)
Warning: atom name 6 in mix.top and mix.pdb does not match (HW2 - H)
Warning: atom name 7 in mix.top and mix.pdb does not match (OW - H)
Warning: atom name 8 in mix.top and mix.pdb does not match (HW1 - H)
Warning: atom name 9 in mix.top and mix.pdb does not match (HW2 - H)
Warning: atom name 10 in mix.top and mix.pdb does not match (OW - C)
Warning: atom name 11 in mix.top and mix.pdb does not match (HW1 -C)
Warning: atom name 12 in mix.top and mix.pdb does not match (HW2 -O)
Warning: atom name 13 in mix.top and mix.pdb does not match (OW - H)
Warning: atom name 14 in mix.top and mix.pdb does not match (HW1 -H)
Warning: atom name 15 in mix.top and mix.pdb does not match (HW2 -H)
Warning: atom name 16 in mix.top and mix.pdb does not match (OW - H)
Warning: atom name 17 in mix.top and mix.pdb does not match (HW1 -H)
Warning: atom name 18 in mix.top and mix.pdb does not match (HW2 -H)
Warning: atom name 19 in mix.top and mix.pdb does not match (OW - C)
Warning: atom name 20 in mix.top and mix.pdb does not match (HW1 -C)
(more than 20 non-matching atom names)

WARNING 1 [file mix.top, line 12]:
  2250 non-matching atom names
  atom names from mix.top willbe used
  atom names from mix.pdb willbe ignored

继续进行能量最小化并进行平衡相MD:
gmx mdrun -v -deffnm em
gmx grompp -f eq.mdp -c em.gro -p mix.top-o eq.tpr
gmx mdrun -v -deffnm eq

无法完成计算,报错信息如下:
step 0: One or more water molecules can not be settled.
Check for bad contacts and/or reduce the timestep if appropriate.

Back Off! I just backed up step0b.pdb to ./#step0b.pdb.1#

Back Off! I just backed up step0c.pdb to ./#step0c.pdb.1#
Wrote pdb files with previous and current coordinates
step 0Warning: Only triclinic boxes with the first vector parallelto the x-axis and the second vector in the xy-plane are supported.
         Box (3x3):
            Box[    0]={  -nan(ind),    -nan(ind),    -nan(ind)}
            Box[    1]={  -nan(ind),    -nan(ind),    -nan(ind)}
            Box[    2]={  -nan(ind),    -nan(ind),    -nan(ind)}
         Can not fix pbc.





2

帖子

0

威望

45

eV
积分
47

Level 2 能力者

2#
 楼主 Author| 发表于 Post on 2023-8-12 16:31:21 | 只看该作者 Only view this author
重复检查调试了10遍,终于发现漏掉一个信息。mix.top文件中的顺序需与mix.pdb中的一致。我是先插入的乙醇再插入的水。导致两者不一致了。现在已经可以继续计算下去。

6万

帖子

99

威望

6万

eV
积分
125155

管理员

公社社长

3#
发表于 Post on 2023-8-12 23:14:44 | 只看该作者 Only view this author
Warning: atom name 1 in mix.top and mix.pdb does not match (OW - C)
Warning: atom name 2 in mix.top and mix.pdb does not match (HW1 - C)
Warning: atom name 3 in mix.top and mix.pdb does not match (HW2 - O)
从warning一开始就明显知道结构文件和拓扑文件不对应,元素都对不上
北京科音自然科学研究中心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-24 12:49 , Processed in 0.155717 second(s), 21 queries , Gzip On.

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