I have been using Gromacs 2021.7. I wanted to simulate two small molecules in water. But, while generating the ions.tpr, I am getting the following error. The topol.top and .itp files for each molecule are given below.
Fatal error: Syntax error - File receptor.itp, line 8 Last line read: ‘[ atomtypes ] ’ Invalid order for directive atomtypes’
My topol.top file looks like below:
; Include forcefield parameters #include “charmm27.ff/forcefield.itp”
; Include drg topology #include “DRG.itp”
; Include lig topolgy #include “LIG.itp”
; Include water topology #include “charmm27.ff/tip3p.itp”
#ifdef POSRES_WATER ; Position restraint for each water oxygen [ position_restraints ] ; i funct fcx fcy fcz 1 1 1000 1000 1000 #endif
; Include topology for ions #include “charmm27.ff/ions.itp”
[ system ] ; Name System in water
[ molecules ] ; Compound #mols LIG 1 DRG 1 SOL 6436
The two .itp files mentioned for those two molecules are attached.