24小时热门版块排行榜    

北京石油化工学院2026年研究生招生接收调剂公告
查看: 2210  |  回复: 2
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

zxy964777869

铜虫 (正式写手)

[求助] There was 1 error in input file(s)在gromacs中是什么错误?

由于刚学GMX,按照一个教程上的步骤模拟纳米管的水输运行为,我做的步骤如下:
第一步:由MS建立(6,6)144碳纳米管,之后用gaussian转换为pdb文件格式。
第二步:在gmxl力场文件中建立了n2t文件,指定纳米管的成键,并在ffbon.itp文件中添加了碳纳米管的一系列成键参数。
第三步:用g_x2top -f cnt.pdb -o swnt_6_6_144.top -ff gmx 生成top文件。
第三步:建立盒子,生成gro文件,命令为:editconf -f cnt.pdb -o cnt.gro -c -box a b c
第四步:加水genbox -cp cnt.gro -cs -o swnt_6_6_144_b4em.gro -p swnt_6_6_144.top
第五步:grompp -f em.mdp -c swnt_6_6_144_b4em.gro -p swnt_6_6_144.top -o index
在此出现错误,信息如下:
processing coordinates...
Warning: atom name 1 in SWNT_6_6_144.top and SWNT_6_6_144_b4em.gro does not match (1 - C)
Warning: atom name 2 in SWNT_6_6_144.top and SWNT_6_6_144_b4em.gro does not match (2 - C)
Warning: atom name 3 in SWNT_6_6_144.top and SWNT_6_6_144_b4em.gro does not match (3 - C)
Warning: atom name 4 in SWNT_6_6_144.top and SWNT_6_6_144_b4em.gro does not match (4 - C)
Warning: atom name 5 in SWNT_6_6_144.top and SWNT_6_6_144_b4em.gro does not match (5 - C)
Warning: atom name 6 in SWNT_6_6_144.top and SWNT_6_6_144_b4em.gro does not match (6 - C)
Warning: atom name 7 in SWNT_6_6_144.top and SWNT_6_6_144_b4em.gro does not match (7 - C)
Warning: atom name 8 in SWNT_6_6_144.top and SWNT_6_6_144_b4em.gro does not match (8 - C)
Warning: atom name 9 in SWNT_6_6_144.top and SWNT_6_6_144_b4em.gro does not match (9 - C)
Warning: atom name 10 in SWNT_6_6_144.top and SWNT_6_6_144_b4em.gro does not match (10 - C)
Warning: atom name 11 in SWNT_6_6_144.top and SWNT_6_6_144_b4em.gro does not match (11 - C)
Warning: atom name 12 in SWNT_6_6_144.top and SWNT_6_6_144_b4em.gro does not match (12 - C)
Warning: atom name 13 in SWNT_6_6_144.top and SWNT_6_6_144_b4em.gro does not match (13 - C)
Warning: atom name 14 in SWNT_6_6_144.top and SWNT_6_6_144_b4em.gro does not match (14 - C)
Warning: atom name 15 in SWNT_6_6_144.top and SWNT_6_6_144_b4em.gro does not match (15 - C)
Warning: atom name 16 in SWNT_6_6_144.top and SWNT_6_6_144_b4em.gro does not match (16 - C)
Warning: atom name 17 in SWNT_6_6_144.top and SWNT_6_6_144_b4em.gro does not match (17 - C)
Warning: atom name 18 in SWNT_6_6_144.top and SWNT_6_6_144_b4em.gro does not match (18 - C)
Warning: atom name 19 in SWNT_6_6_144.top and SWNT_6_6_144_b4em.gro does not match (19 - C)
Warning: atom name 20 in SWNT_6_6_144.top and SWNT_6_6_144_b4em.gro does not match (20 - C)
(more than 20 non-matching atom names)

WARNING 1 [file SWNT_6_6_144.top, line 1537]:
  144 non-matching atom names
  atom names from SWNT_6_6_144.top will be used
  atom names from SWNT_6_6_144_b4em.gro will be ignored


double-checking input for internal consistency...

There was 1 note

There was 1 warning

-------------------------------------------------------
Program grompp, VERSION 4.5.5
Source code file: grompp.c, line: 1372

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
-------------------------------------------------------
不知错误如何解决,若能解决,不胜感激,附上gro和top文件以及mdp文件。
回复此楼

» 本帖附件资源列表

  • 欢迎监督和反馈:小木虫仅提供交流平台,不对该内容负责。
    本内容由用户自主发布,如果其内容涉及到知识产权问题,其责任在于用户本人,如对版权有异议,请联系邮箱:xiaomuchong@tal.com
  • 附件 1 : SWNT_6_6_144_b4em.gro
  • 2012-05-20 15:41:54, 137.02 K
  • 附件 2 : SWNT_6_6_144.top
  • 2012-05-20 15:41:57, 90.71 K
  • 附件 3 : em.mdp
  • 2012-05-20 15:42:01, 1.1 K

» 猜你喜欢

» 本主题相关商家推荐: (我也要在这里推广)

» 本主题相关价值贴推荐,对您同样有帮助:

已阅   关注TA 给TA发消息 送TA红花 TA的回帖

zxy964777869

铜虫 (正式写手)

引用回帖:
2楼: Originally posted by jiaoyixiong at 2012-05-20 16:02:24:
这个警告的意思是说你的坐标文件(gro)中的原子名称和拓扑文件(top)中的原子名称不一致,模拟将会使用拓扑文件中的名称。
你仔细检查你的坐标文件中的原子顺序与拓扑文件是否一一对应,如果是对应,而且你让这 ...

十分感谢你的应答,这两点我也不是很清楚,我对从gauss得到的pdb坐标文件,直接用editconf命令将其转换到gro文件,gro文件的第一列就全是0.
我想问下:resid和resname通过编程随便指定一个力场可识别的residue name,对结果会不会有影响?必须得在力场中的那个rtp文件中找到相应的residue并添加上C原子么?
3楼2012-05-20 16:50:32
已阅   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 3 个回答

jiaoyixiong

荣誉版主 (职业作家)

【答案】应助回帖

★ ★ ★ ★ ★
感谢参与,应助指数 +1
zh1987hs: 金币+3, 鼓励交流 2012-05-20 16:39:56
zxy964777869: 金币+2, ★★★很有帮助 2012-05-20 16:50:57
这个警告的意思是说你的坐标文件(gro)中的原子名称和拓扑文件(top)中的原子名称不一致,模拟将会使用拓扑文件中的名称。
你仔细检查你的坐标文件中的原子顺序与拓扑文件是否一一对应,如果是对应,而且你让这些原子的名字按照拓扑中的名字来,这个警告可以忽略不管!

你的这个警告可以忽略

只是有2点儿不明:
1、为何你的gro文件中的resid 从0开始?我模拟的一般都是从1开始
2、为何你的gro文件中碳纳米管没有 resname ?

[ Last edited by jiaoyixiong on 2012-5-20 at 16:15 ]
2楼2012-05-20 16:02:24
已阅   关注TA 给TA发消息 送TA红花 TA的回帖
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 307分求调剂 +4 (o~o) 2026-03-31 4/200 2026-03-31 15:24 by yanflower7133
[考研] 085601 材料工程 313分 求调剂 +6 Ong3 2026-03-27 6/300 2026-03-31 15:18 by yanflower7133
[考研] 080500-315分复试调剂 +5 上岸3821 2026-03-31 5/250 2026-03-31 15:15 by yanflower7133
[考研] 一志愿a区211,085601-307分求调剂 +8 党嘉豪 2026-03-31 16/800 2026-03-31 15:05 by fmesaito
[考研] 334分 一志愿武理-080500 材料求调剂 +7 李李不服输 2026-03-25 7/350 2026-03-31 14:57 by 不吃魚的貓
[考研] 求调剂 生物学 377分 +5 zzll03 2026-03-31 5/250 2026-03-31 14:28 by 记事本2026
[考研] 英一数一总分334求调剂 +4 陈阳坤 2026-03-31 4/200 2026-03-31 14:22 by 记事本2026
[考研] 调剂申请 +6 张张张张zy 2026-03-31 6/300 2026-03-31 14:20 by 记事本2026
[考研] 317求调剂 +11 蛋黄咸肉粽 2026-03-26 12/600 2026-03-31 13:30 by 记事本2026
[考研] 311求调剂一志愿合肥工业大学 +9 秋二十二 2026-03-30 9/450 2026-03-31 13:15 by Dyhoer
[考研] 张芳铭-中国农业大学-环境工程专硕-298 +8 手机用户 2026-03-26 8/400 2026-03-31 12:40 by 331429
[考研] 一志愿南昌大学324求调剂 +6 hanamiko 2026-03-30 6/300 2026-03-31 12:19 by 唐沐儿
[考研] 291求调剂 +12 Y-cap 2026-03-29 15/750 2026-03-31 09:25 by Huaxue_Wang
[考研] 370求调剂 +3 080700调剂 2026-03-30 3/150 2026-03-31 01:09 by A_Zhe
[考研] 334分 一志愿武理 材料求调剂 +16 李李不服输 2026-03-26 16/800 2026-03-30 17:47 by wangjy2002
[考研] 一志愿北京工业大学,324分求调剂 +6 零八# 2026-03-28 6/300 2026-03-29 21:20 by nanaliuyun
[考研] 0856求调剂 +13 zhn03 2026-03-25 14/700 2026-03-29 08:13 by fmesaito
[考研] 272求调剂 +7 脚滑的守法公民 2026-03-27 7/350 2026-03-27 17:23 by laoshidan
[考研] 08开头275求调剂 +4 拉谁不重要 2026-03-26 4/200 2026-03-27 14:12 by Delta2012
[考研] 281求调剂 +6 Koxui 2026-03-24 7/350 2026-03-26 15:37 by 无际的草原
信息提示
请填处理意见