I am following the “KALP-15 in DPPC” tutorial on my computer with GROMACS 2020.2, and I try to run the NPT equilibration in parallel on a cluster of my department, whose GROMACS is version 5.1.2. I submit my job and the output file reads:
Fatal error: reading tpx file (npt.tpr) version 119 with version 103 program
Is this because the tpr file produced by a latter version of GMX cannot be read by an older GMX? If so, how to deal with the problem?
You are precisely correct, the newer file contains some options that the old program does not know about.
Some solutions, in order of difficulty and time spent:
Transfer the input files (.gro/.pdb, .mdp, .top, and anything else needed) to the cluster and run gmx grompp on it
Download Gromacs 5.1.2 and compile it on your local machine (you can compile it without installing it, after running make the gmx executable is in the bin folder)
Compile Gromacs 2020 by yourself on the cluster and use that
Convince your system administrator to install Gromacs 2020 on the cluster
Yes, use the -DCMAKE_INSTALL_PREFIX=[directory] option when running cmake and source the GMXRC file from that directory (in the bin folder of that destination).
hi
i have 5.1.2 version of gromacs but i need 2021.6 too
I live in Iran and I dont have enough access to internet for searching these days.
I will be thankful if you help me step by step : how to install new version and also have the last version too
Have you found a solution to this problem? I also experienced the same problem. I’ve tried using grompp to generate md tpr v 5.1.2, but it says it can’t read my 2024 npt checkpoints
Fatal error:
Attempting to read a checkpoint file of version 23 with code of version 16
That of @PetriDish is the same original problem as the thread was originally about. You can’t use an old gromacs version to work on a .tpr compiled with a more recent one. Trying to convert it using an old gromacs IS using an old gromacs version to modify a .tpr. It wont work.
The solutions are those reported by @pjohansson. Since you are already have the old version, take the original input files used to compile the .tpr with the newer gromacs (structure restraints index etc), you can find the command you used to compile the old .tpr in the mdout.mdp file that was generated by the grompp passage back in the day. Then rerun gmx grompp with the same files BUT with the older gromacs version, this will generate a new .tpr that is compatible with the gromacs you are using, that is, the old one. And then use that as input for the old version!