<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Note that the precision will be affected by printing by gmxdump and subsequent reading by whatever program. So if you want to use the exact numbers from the tpr, don't go through gmxdump.<div><br></div><div>Erik</div><div><br><div><div><div>On Mar 7, 2013, at 1:47 PM, francesco oteri wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div dir="ltr">Hi gunther,<div>as far as I know there is no library to parse tpr because it changes in nearly all the&nbsp;</div><div>versions. In any case you can use the functions in include/tpxio.h.</div><div>Alternatively, and depending upon the programming language you are going top use, I suggest you to parse the output of gmxdump.</div><div>You can open I pipe directly inside your program (C,C++ and Python have this functionality) in order to make the interaction between the&nbsp;</div><div>parser and gmxdump user-transparent!</div><div><br></div><div>Francesco</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/3/7 Gunther Lukat<span class="Apple-converted-space">&nbsp;</span><span dir="ltr">&lt;<a href="mailto:g.lukat@gmx.net" target="_blank">g.lukat@gmx.net</a>&gt;</span><br><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">Hello developers.<br><br>I am interested in accessing the binary .tpr files.<br><br>Is there a library like the xdr lib to read those .tpr files?<br><br><br>Greetings<br><br>Dipl.-Inf. Gunther Lukat</blockquote></div></div></span></blockquote></div><br></div></div></body></html>