“第10届量子化学波函数分析与Multiwfn程序培训班将于5月4-8日于北京举办,这是一次性完整、系统学习波函数分析的各种理论知识和全面掌握强大的Multiwfn波函数分析程序使用的最不可错过的机会!请点击此链接查看详情和报名方式,欢迎参加!

“第18届北京科音分子动力学与GROMACS培训班” 将于5月23-26日于北京举办。这是一次性全面、系统学习分子动力学模拟知识和最流行的分子动力学程序GROMACS的关键机会!报名正在进行中,请点击此链接查看详情,欢迎参加!

计算化学公社

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

[GROMACS] how can i deal with this fatal error

[复制链接 Copy URL]

14

帖子

0

威望

77

eV
积分
91

Level 2 能力者

跳转到指定楼层 Go to specific reply
楼主
本帖最后由 srwjp001 于 2021-8-18 11:58 编辑

Fatal error:
Syntax error - File h2o.itp, line 3
Last line read:
'[ moleculetype ]'
Invalid order for directive moleculetype


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

I checked the list of .itp. in new files,
then the error changed

Fatal error:
Syntax error - File DEE_GMX.itp, line 3
Last line read:
'[ moleculetype ]'
Invalid order for directive moleculetype

[ atomtypes ] was inclued in top file




waterbox.gro

116.6 KB, 下载次数 Times of downloads: 4

h2o.itp

791 Bytes, 下载次数 Times of downloads: 6

h2o.top

360 Bytes, 下载次数 Times of downloads: 7

DEE_GMX.itp

8.16 KB, 下载次数 Times of downloads: 1

water_GMX.itp

791 Bytes, 下载次数 Times of downloads: 1

mix.top

965 Bytes, 下载次数 Times of downloads: 1

dodecane_GMX.itp

25.25 KB, 下载次数 Times of downloads: 1

1589

帖子

0

威望

5147

eV
积分
6736

Level 6 (一方通行)

2#
发表于 Post on 2021-8-17 13:06:33 | 只看该作者 Only view this author
又菜又爱玩

14

帖子

0

威望

77

eV
积分
91

Level 2 能力者

3#
 楼主 Author| 发表于 Post on 2021-8-17 13:18:13 | 只看该作者 Only view this author
牧生 发表于 2021-8-17 13:06
http://bbs.keinsci.com/thread-19320-1-1.html

thank you  for your reply. but the range has nothing different with sirsob

14

帖子

0

威望

77

eV
积分
91

Level 2 能力者

4#
 楼主 Author| 发表于 Post on 2021-8-17 13:24:27 | 只看该作者 Only view this author
could you give me  more  details?

1187

帖子

5

威望

2876

eV
积分
4163

Level 6 (一方通行)

5#
发表于 Post on 2021-8-17 13:58:50 | 只看该作者 Only view this author
本帖最后由 snljty 于 2021-8-17 22:16 编辑

From sob's slides.

Common directives should follow this order when all included files in the top file are unfolded, especially any [ atomtypes ] should appear before all [ moleculetype ].

You forgot the [ atomtypes ] directive, e.g., [ atomtypes ]
;name   bond_type     mass     charge   ptype   sigma         epsilon       Amb
oh       oh          0.00000  0.00000   A     3.06647e-01   8.80314e-01 ; 1.72  0.2104
ho       ho          0.00000  0.00000   A     0.00000e+00   0.00000e+00 ; 0.00  0.0000

that should appear before your [ moleculetype ] directive.

Also, your [ molecules ] field is incorrect, the name should match exactly your name in [ moleculetype ], and nmols is the numer of molecules in your gro file, not the number of atoms. For your input file, it should be like:

[ molecules ]
; Compound        nmols
water              884   


Plus, your atom names in your top/itp files do not match your gro file. Those use lowercases are usually GAFF/GAFF2 types, which is used by acpype by default.

BTW, generally we seldom create topology file for water ourselves, since there are already bunches of expert water models that can be obtained from articles, e.g., SPC/E, OPC3, TIP4P-Ew, OPC, ...

评分 Rate

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

查看全部评分 View all ratings

14

帖子

0

威望

77

eV
积分
91

Level 2 能力者

6#
 楼主 Author| 发表于 Post on 2021-8-17 16:42:20 | 只看该作者 Only view this author
snljty 发表于 2021-8-17 13:58
From sob's slides.

Common directives should follow this order when all included files in the top  ...

thank you for your kindness. i will check what you mentioned.: )

本版积分规则 Credits rule

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

GMT+8, 2026-4-24 07:44 , Processed in 0.332769 second(s), 26 queries , Gzip On.

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