Continuing the discussion from There is an error in input file(S):
[quote=“kesistor, post:1, topic:7012, full:true”]
GROMACS version:2022
GROMACS modification: No
When I input the command line:
gmx grompp -f npt_umbrella.mdp -c conf207.gro -p topol.top -r conf207.gro -n index.ndx -o npt4.tpr
it will remind me:
There is an error in input file(S)
The details are as follows:
ERROR 1[file npt_umbrella.mdp]
When the maximum distance from a pull group referrence atom to other atoms in the group is larger than 0.5 times half the box size a centrally placed atom should be chosen as pbctom. Pull group 1 is larger than that and does not have a specific atom selected as reference atom.
But the key is that I can successfully run the command
gmx grompp -f npt_umbrella.mdp -c conf6.gro -p topol.top -r conf6.gro -n index.ndx -o npt0.tpr
The npt1~3 has been created. This means some parts are OK, the others are not.
What’s more, I got file npt_umbrella.npt from GROMACS tutorial, which means it shouldn’t be wrong theoretically.
-----------------------the second update-----------------------------------
The pull distance fills the entire box space when viewing molecular images in VMD.In my opinion, the error may be the unsuitable box size.