Regenerate .tpr file

GROMACS version: 5.1.2
GROMACS modification: Yes/No
Here post your question

Hi everyone,
I want to calculate free energy g_mmpbs 5.1.x. I had MDS in gromacs 2020.1 then I used gromacs 5.1.2 to re generate index.ndx and md.tpr

I used these commands:
gmx make_ndx -f em.gro -o index1.ndx

1 | 13
q
gmx grompp -f md.mdp -c npt.gro -t npt.cpt -p topol.top -n index1.ndx -o md_0_10_1.tpr

Then I have error:
Attempting to read a checkpoint file of version 21 with code of version 16

Is it necessary to regenerate npt files or I need to use other gromacs version to re generate tpr file? Please help me, thank you so much

i have same issue… can you assist me if u solved this one

You are reading a .cpt file that is produced with a newer GROMACS version and GROMACS automatically fails as generally backwards-compatibility is ensured but not forward one. I do not think you can transform a .cpt file from a version to another. One way to avoid the error is to drop the -t npt.cpt part during the grompp compilation, whether this is reasonable or not for your case I do not know!