| 查看: 1973 | 回复: 2 | ||
| 当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖 | ||
小猪100110新虫 (初入文坛)
|
[交流]
更新lammps为18版本后,进行计算时出现无效原子ID 已有1人参与
|
|
|
更新lammps为18版本后,进行计算时出现 ERROR on proc 1: Invalid atom ID in Dihedrals section of data file (../atom.cpp:1167) Last command: read_data ${fname} 这个错误,之前用17版计算时就不会出错,请问各位大神,是什么原因啊?特别着急,都好久没有解决了。。。。 |
小猪100110
新虫 (初入文坛)
- 应助: 0 (幼儿园)
- 金币: 142.4
- 散金: 10
- 帖子: 41
- 在线: 36.9小时
- 虫号: 8299214
- 注册: 2018-03-17
- 性别: MM
- 专业: 橡胶及弹性体
3楼2018-06-20 20:52:29
★
小木虫: 金币+0.5, 给个红包,谢谢回帖
小木虫: 金币+0.5, 给个红包,谢谢回帖
|
手上没有18版的lammps,不过看github上这个错误在atom.ccp:1165而不是1167,代码如下: if ((atom1 <= 0) || (atom1 > map_tag_max) || (atom2 <= 0) || (atom2 > map_tag_max) || (atom3 <= 0) || (atom3 > map_tag_max) || (atom4 <= 0) || (atom4 > map_tag_max) || (atom1 == atom2) || (atom1 == atom3) || (atom1 == atom4) || (atom2 == atom3) || (atom2 == atom4) || (atom3 == atom4)) error->one(FLERR,"Invalid atom ID in Dihedrals section of data file" ;拿了一个贼早的版本,相应代码如下: if (atom1 <= 0 || atom1 > map_tag_max || atom2 <= 0 || atom2 > map_tag_max || atom3 <= 0 || atom3 > map_tag_max || atom4 <= 0 || atom4 > map_tag_max) error->one(FLERR,"Invalid atom ID in Dihedrals section of data file" ;所以说,我猜测18版本的lammps中二面角4个原子数不能相等 |
2楼2018-06-20 19:37:21













回复此楼