# Is there any way to extract simulation information from .tpr files?

**URL:** <https://gromacs.bioexcel.eu/t/is-there-any-way-to-extract-simulation-information-from-tpr-files/1697>\
**Category:** User discussions\
**Created:** [March 7, 2021, 12:31am UTC](https://gromacs.bioexcel.eu/t/is-there-any-way-to-extract-simulation-information-from-tpr-files/1697 "2021-03-07T00:31:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sodiumnitrate](https://avatars.discourse-cdn.com/v4/letter/s/eada6e/32.png) [@sodiumnitrate](https://gromacs.bioexcel.eu/u/sodiumnitrate)\
**Post date:** [March 7, 2021, 12:31am UTC](https://gromacs.bioexcel.eu/t/is-there-any-way-to-extract-simulation-information-from-tpr-files/1697/1 "2021-03-07T00:31:05Z")

</div>

GROMACS version: N/A  
GROMACS modification: No

I have old simulation files from a previous student. They have not saved any .mdp files, however. All I have is .tpr files. Is it possible to generate an .mdp file from these? Or at least figure out what the general simulation parameters are? They probably used version 5x to generate the files. I have access to almost all versions of gromacs.

---

<div class="post-metadata">

**Author:** ![milosz.wieczor](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@milosz.wieczor](https://gromacs.bioexcel.eu/u/milosz.wieczor)\
**Post date:** [March 8, 2021, 4:08pm UTC](https://gromacs.bioexcel.eu/t/is-there-any-way-to-extract-simulation-information-from-tpr-files/1697/2 "2021-03-08T16:08:17Z")

</div>

Not sure if a more direct solution exists, but once you run the .tpr, the resulting .log lists the .mdp settings for the run (apparently all the non-default ones) - with a few tweaks, you should be able to recover all the .mdp settings from these.

---

<div class="post-metadata">

**Author:** ![pbauer](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/pbauer/32/13_2.png) [@pbauer](https://gromacs.bioexcel.eu/u/pbauer)\
**Post date:** [March 8, 2021, 4:20pm UTC](https://gromacs.bioexcel.eu/t/is-there-any-way-to-extract-simulation-information-from-tpr-files/1697/3 "2021-03-08T16:20:07Z")

</div>

Hello,

you can also use `gmx dump -s yourfile.tpr` to the same effect. It will print you the mdp options.

Cheers

Paul
