# Fatal error: reading tpx file (step5.tpr) version 119 with version 112 program

**URL:** <https://gromacs.bioexcel.eu/t/fatal-error-reading-tpx-file-step5-tpr-version-119-with-version-112-program/3627>\
**Category:** User discussions\
**Created:** [February 8, 2022, 11:34pm UTC](https://gromacs.bioexcel.eu/t/fatal-error-reading-tpx-file-step5-tpr-version-119-with-version-112-program/3627 "2022-02-08T23:34:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![imrbay](https://avatars.discourse-cdn.com/v4/letter/i/67e7ee/32.png) [@imrbay](https://gromacs.bioexcel.eu/u/imrbay)\
**Post date:** [February 8, 2022, 11:34pm UTC](https://gromacs.bioexcel.eu/t/fatal-error-reading-tpx-file-step5-tpr-version-119-with-version-112-program/3627/1 "2022-02-08T23:34:15Z")

</div>

GROMACS version:2018.1  
GROMACS modification: Yes/No  
Here post your question  
I want to simulate my structure and used charmm-gui and prepared input files from charmm-gui and download after that I run these commands:  
1-gmx grompp -f step4.0\_minimization.mdp -o step4.0\_minimization.tpr -c step3\_input.gro -r step3\_input.gro -p topol.top -n index.ndx -maxwarn -1  
2-gmx\_d mdrun -v -deffnm step4.0\_minimization  
3-gmx grompp -f step4.1\_equilibration.mdp -o step4.1\_equilibration.tpr -c step4.0\_minimization.gro -r step3\_input.gro -p topol.top -n index.ndx  
4-gmx mdrun -v -deffnm step4.1\_equilibration  
5-gmx grompp -f step5\_production.mdp -o step5.tpr -c step4.1\_equilibration.gro -p topol.top -n index.ndx  
for last step running md ı used server mpirun $GROMACS\_DIR/bin/gmx\_mpi mdrun -deffnm step5  
but I am getting this error Fatal error:  
reading tpx file (step5.tpr) version 119 with version 112 program how to fix this error ?

---

<div class="post-metadata">

**Author:** ![jalemkul](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/jalemkul/32/18_2.png) [@jalemkul](https://gromacs.bioexcel.eu/u/jalemkul)\
**Post date:** [February 9, 2022, 2:24am UTC](https://gromacs.bioexcel.eu/t/fatal-error-reading-tpx-file-step5-tpr-version-119-with-version-112-program/3627/2 "2022-02-09T02:24:55Z")

</div>

Use the same version of GROMACS to prepare inputs and run the simulation. Apparently your `mdrun` version is older than your `grompp` version.

---

<div class="post-metadata">

**Author:** ![Jyothilakshmi](https://avatars.discourse-cdn.com/v4/letter/j/e8c25b/32.png) [@Jyothilakshmi](https://gromacs.bioexcel.eu/u/Jyothilakshmi)\
**Post date:** [March 30, 2023, 11:49am UTC](https://gromacs.bioexcel.eu/t/fatal-error-reading-tpx-file-step5-tpr-version-119-with-version-112-program/3627/3 "2023-03-30T11:49:40Z")

</div>

Hi, i am facing the same issue so just wanted to know if you have resolved it and if yes then how ? The mdrun version and grompp version happen to be the same.

---

<div class="post-metadata">

**Author:** ![hess](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/hess/32/416_2.png) [@hess](https://gromacs.bioexcel.eu/u/hess)\
**Post date:** [March 30, 2023, 12:12pm UTC](https://gromacs.bioexcel.eu/t/fatal-error-reading-tpx-file-step5-tpr-version-119-with-version-112-program/3627/4 "2023-03-30T12:12:05Z")

</div>

The gmx binary, or library, you used for grompp and mdrun can not be the same when you get this error message. This message must mean that the version of mdrun is from an older release than that of grompp.

---

<div class="post-metadata">

**Author:** ![Jyothilakshmi](https://avatars.discourse-cdn.com/v4/letter/j/e8c25b/32.png) [@Jyothilakshmi](https://gromacs.bioexcel.eu/u/Jyothilakshmi)\
**Post date:** [March 31, 2023, 11:07am UTC](https://gromacs.bioexcel.eu/t/fatal-error-reading-tpx-file-step5-tpr-version-119-with-version-112-program/3627/5 "2023-03-31T11:07:54Z")

</div>

Thank you so much for the reply, resolved the issue by downloading the appropriate version.
