gromacs学习中,面临各种报错,作为初学者,自己把踩过的坑一一记录下来,希望对后来者有所帮助。

1. 报错: Atom index n in position_restraints out of bounds

解决方案:见官网,链接:http://www.gromacs.org/Documentation/Errors#Atom_index_n_in_position_restraints_out_of_bounds

解释:

【gromacs学习】-gromacs报错解决方案

简单说就是topol.top文件中最后部分分子的的位置约束文件排列不整齐,比如:
WRONG:
#include “topol_A.itp”
#include “topol_B.itp”
#include “ligand.itp”

#ifdef POSRES
#include “posre_A.itp”
#include “posre_B.itp”
#include “ligand_posre.itp”
#endif

A、B和ligang分开写了,正确如下:

RIGHT:
#include “topol_A.itp”
#ifdef POSRES
#include “posre_A.itp”
#endif

#include “topol_B.itp”
#ifdef POSRES
#include “posre_B.itp”
#endif

#include “ligand.itp”
#ifdef POSRES
#include “ligand_posre.itp”
#endif

应该是将各个部分的itp和porse.itp放在一起。

总结:topol.top文件的写至关重要!

相关文章:

  • 2021-06-12
  • 2021-10-22
  • 2021-09-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-02
  • 2021-08-01
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-01
  • 2021-11-19
  • 2021-11-20
  • 2022-12-23
  • 2021-10-09
相关资源
相似解决方案