# Conversion of tpr file

**URL:** <https://gromacs.bioexcel.eu/t/conversion-of-tpr-file/9862>\
**Category:** User discussions\
**Tags:** mdrun\
**Created:** [August 12, 2024, 5:20pm UTC](https://gromacs.bioexcel.eu/t/conversion-of-tpr-file/9862 "2024-08-12T17:20:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lilian](https://avatars.discourse-cdn.com/v4/letter/l/b5a626/32.png) [@lilian](https://gromacs.bioexcel.eu/u/lilian)\
**Post date:** [August 12, 2024, 5:20pm UTC](https://gromacs.bioexcel.eu/t/conversion-of-tpr-file/9862/1 "2024-08-12T17:20:44Z")

</div>

GROMACS version: 2019.4

Hi. I have a tpr file. When I used gmx\_mpi mdrun -v -deffnm md, i encountered with

Fatal error:  
reading tpx file (md.tpr) version 127 with version 116 program

Is there any way to convert this old version tpr to new version tpr. Unfortunately, I don’t access to gro file related to previous step.

---

<div class="post-metadata">

**Author:** ![MagnusL](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/magnusl/32/2380_2.png) [@MagnusL](https://gromacs.bioexcel.eu/u/MagnusL)\
**Post date:** [August 13, 2024, 5:59am UTC](https://gromacs.bioexcel.eu/t/conversion-of-tpr-file/9862/2 "2024-08-13T05:59:29Z")

</div>

The problem is that the tpr file is _too new_, not too old, for the program version you are using. There is backward compatibility when reading a tpr (a newer program version can read an older version of a tpr file), but not necessarily the other way around.

The tpr file was generated with GROMACS 2022. So, 2022 or later versions should be able to open it.

---

<div class="post-metadata">

**Author:** ![lilian](https://avatars.discourse-cdn.com/v4/letter/l/b5a626/32.png) [@lilian](https://gromacs.bioexcel.eu/u/lilian)\
**Post date:** [August 13, 2024, 7:16am UTC](https://gromacs.bioexcel.eu/t/conversion-of-tpr-file/9862/3 "2024-08-13T07:16:07Z")

</div>

Hi, Thanks Magnus for your answer.

The problem is that I just access to Gromacs 2019.4, now.

How to resolve this issue?

Best,  
Lilian

---

<div class="post-metadata">

**Author:** ![MagnusL](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/magnusl/32/2380_2.png) [@MagnusL](https://gromacs.bioexcel.eu/u/MagnusL)\
**Post date:** [August 13, 2024, 8:38am UTC](https://gromacs.bioexcel.eu/t/conversion-of-tpr-file/9862/4 "2024-08-13T08:38:22Z")

</div>

I don’t think there is a way to convert a GROMACS 2022 tpr file to be usable in GROMACS 2019, especially not without a GROMACS 2022 installation.

In most cases you can install GROMACS 2022 (or preferably a newer supported version, such as 2024) as a local user without administrator privileges.
