计算化学公社

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

[GROMACS] 求助:使用GROMACS模拟溶液中苯分子的聚集现象报错(提示ben.itp不正确)

[复制链接 Copy URL]

8

帖子

0

威望

89

eV
积分
97

Level 2 能力者

跳转到指定楼层 Go to specific reply
楼主
使用GROMACS模拟溶液中苯分子的聚集现象,使用sobtop生成了拓扑文件,使用Multiwfn计算了RESP电荷,根据网上的资料构建了system.top和修改了ben.itp文件。
在使用GROMACS进行能量最小化时(执行gmx grompp -f minim.mdp -c box-sol.gro -p system.top -o em.tpr)报错了,报错如下:

ERROR 1 [file ben.itp, line 5]:
  Atoms in the .top are not numbered consecutively from 1 (rather, atomnr =
  1, while at->nr = 3)


-------------------------------------------------------
Program:     gmx grompp, version 2020.6-MODIFIED
Source file: src\gromacs\gmxpreprocess\toppush.cpp (line 1318)

Fatal error:
There was 1 error in input file(s)

For more information and tips for troubleshooting, please check the GROMACS
website at http://www.gromacs.org/Documentation/Errors
-------------------------------------------------------



它指出在输入文件(ben.itp)中存在一个问题。错误的具体内容是,在拓扑文件(.top文件)中,原子的编号没有从1开始连续编号。在这个例子中,错误信息显示有一个原子的编号是1,但是根据文件的其他部分(可能是通过at->nr访问的),这个位置的原子编号应该是3。




但是我的ben.itp中编号是从1开始的,不知道哪里改错了,请各位老师指教

所有文件附件已上传

ben.zip

646.25 KB, 下载次数 Times of downloads: 15

206

帖子

0

威望

1153

eV
积分
1359

Level 4 (黑子)

终身学习

2#
发表于 Post on 2024-12-12 00:01:32 | 只看该作者 Only view this author
ben.itp的[moleculetype]没了
Open source enables open science.

8

帖子

0

威望

89

eV
积分
97

Level 2 能力者

3#
 楼主 Author| 发表于 Post on 2024-12-12 14:18:18 | 只看该作者 Only view this author
Seyilaxa 发表于 2024-12-12 00:01
ben.itp的[moleculetype]没了

我是根据https://zhuanlan.zhihu.com/p/571601988  这篇文章删除了ben.itp的这个部分,我不知道这部分的具体作用是什么,还请赐教。

原文引用:“删除MOL_GMX.top文件中[ atomtypes ]和[ moleculetype ]部分,及文件最后的[ system ]和[ molecules ]部分,将原子名称ca和ha分别改为opls_966和opls_967,将所有MOL替换为BEN,即得到ben.itp文件。”

206

帖子

0

威望

1153

eV
积分
1359

Level 4 (黑子)

终身学习

4#
发表于 Post on 2024-12-12 14:25:55 | 只看该作者 Only view this author
SummerWine 发表于 2024-12-12 14:18
我是根据https://zhuanlan.zhihu.com/p/571601988  这篇文章删除了ben.itp的这个部分,我不知道这部分的 ...

没什么道理,我猜原文的意思应该是删除[default]和[atomtypes]
看看这篇http://bbs.keinsci.com/forum.php?mod=viewthread&tid=45783
Open source enables open science.

8

帖子

0

威望

89

eV
积分
97

Level 2 能力者

5#
 楼主 Author| 发表于 Post on 2024-12-16 10:48:29 | 只看该作者 Only view this author
Seyilaxa 发表于 2024-12-12 14:25
没什么道理,我猜原文的意思应该是删除[default]和[atomtypes]
看看这篇http://bbs.keinsci.com/forum.p ...

好的,非常感谢

本版积分规则 Credits rule

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

GMT+8, 2026-1-25 18:33 , Processed in 0.161717 second(s), 23 queries , Gzip On.

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