[gmx-users] find out tpx version of tpr

Tsjerk Wassenaar tsjerkw at gmail.com
Mon May 23 11:39:29 CEST 2016


Hey :)

If you just have the .tpr and you don't want to use Gromacs' tools, you can
use python:

python -c 'import struct; print
"".join(struct.unpack(100*"c",open("YOUR-TPR-HERE").read(100)))'

(Python 2, mind you).

Cheers,

Tsjerk

On Mon, May 23, 2016 at 11:33 AM, Mark Abraham <mark.j.abraham at gmail.com>
wrote:

> Hi,
>
> Mdrun reports it to the log file, or likely gmx dump and gmx check also do
> so.
>
> Mark
>
> On Mon, 23 May 2016 11:12 Sabine Reisser <sabine.reisser at kit.edu> wrote:
>
> > Hello,
> >
> > how can I find out the tpx version of a tpr file?
> >
> > Cheers
> > Sabine
> > --
> > Gromacs Users mailing list
> >
> > * Please search the archive at
> > http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List before
> > posting!
> >
> > * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
> >
> > * For (un)subscribe requests visit
> > https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users or
> > send a mail to gmx-users-request at gromacs.org.
> >
> --
> Gromacs Users mailing list
>
> * Please search the archive at
> http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List before
> posting!
>
> * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
>
> * For (un)subscribe requests visit
> https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users or
> send a mail to gmx-users-request at gromacs.org.
>



-- 
Tsjerk A. Wassenaar, Ph.D.


More information about the gromacs.org_gmx-users mailing list