Hi Bert.<br><br>Thanks a lot for the help. I&#39;ve found the mistakes, one programming minor issue and a compiler configuration a bit of &quot;hidden&quot; in the config files. Old time mistakes just choose to arise at its worst moments. :)
<br><br>At the moment, I already can read the coordinates, number of atoms, box coordinates, step number, simulation time and precision. I guess this is all what is stored in the .xtc files themselves, am I right?<br><br>
I have so one extra question: I guess that extra information as atom names, number of molecules of type X, number of molecular types, box and pbc &quot;shape&quot; and atomic charges and masses are *not* stored in the .xtc files, am I right? Ok, the &quot;integer&quot; stuff (number of molecules of type X, number of molecular types, box and pbc) could be written in a special .ndx file, but that would, by all means, looks at least &quot;diselegant&quot;.
<br><br>If so, the only two possible ways of getting them is reading or the .top and .itp files correctly, or to read the .tpr file, correct? Now, is there any guideline available on how to deal with those files?<br><br>Thanks a lot everybody for all the help.
<br><br>Sincerally yours,<br><br>Jones<br><br><div><span class="gmail_quote">On 9/29/07, <b class="gmail_sendername">Bert de Groot</b> &lt;<a href="mailto:bgroot@gwdg.de">bgroot@gwdg.de</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Sat, 29 Sep 2007, Jones de Andrade wrote:<br><br>&gt; Hi Bert.<br>&gt;<br>&gt; Thank you for the prompt answer.<br>&gt;<br>&gt; Just did as instructed, but got the following:<br>&gt;<br>&gt; CruNumMac src/own/B/9/xtc 286% ifort 
xtciof.f90 test_xtc.f90<br>&gt; -L/home/johannes/src/own/B/9/xtc/xtc/ -lxrdf -lg2c<br>&gt; IPO link: can not find -lxrdf<br><br><br>well, apparently the path you specify with -L does not contain a<br>libxdrf.a<br><br>the way you called it the compiler expects it to be located here:
<br>/home/johannes/src/own/B/9/xtc/xtc/libxdrf.a<br><br>also, IIRC, the xtcio stuff is already linked into the libxdrf.a, so no<br>need to include it again.<br><br><br>&gt; ifort: error: problem during multi-file optimization compilation (code 1)
<br>&gt;<br>&gt; Looks better, in the sense that the number of error messages was reduced.<br>&gt; But still doesn&#39;t accept to link to the xrdf library.<br>&gt;<br>&gt; Tried that with and without re-make of the library (strange fact that the
<br>&gt; SGI arch is to be used in linux) and also tried to say -llibxrdf instead of<br>&gt; -lxrdf. Nothing worked.<br>&gt;<br>&gt; Have you or someone come across such an error before? Any clue of what can<br>&gt; possibly be going wrong?
<br>&gt;<br>&gt; Thanks a lot in advance...<br>&gt;<br>&gt; Sincerally yours,<br>&gt;<br>&gt; Jones<br>&gt;<br>&gt; On 9/29/07, Bert de Groot &lt;<a href="mailto:bgroot@gwdg.de">bgroot@gwdg.de</a>&gt; wrote:<br>&gt; &gt;<br>
&gt; &gt; Hi,<br>&gt; &gt;<br>&gt; &gt; try:<br>&gt; &gt;<br>&gt; &gt; download<br>&gt; &gt; <a href="http://www.mpibpc.gwdg.de/groups/de_groot/xtc.tar.gz">http://www.mpibpc.gwdg.de/groups/de_groot/xtc.tar.gz</a><br>&gt; &gt;
<br>&gt; &gt; (and optionally issue a &#39;make&#39; in the xtc directory after unpacking)<br>&gt; &gt;<br>&gt; &gt; in the linking stage, use something like<br>&gt; &gt;<br>&gt; &gt; ifort -blabla -lxdrf -L/wherever/xtc -lg2c
<br>&gt; &gt;<br>&gt; &gt; your smalll test code looks OK apart from the fact that I don&#39;t know what<br>&gt; &gt; happens if you read&amp;write from the same file.<br>&gt; &gt;<br>&gt; &gt; Bert<br>&gt; &gt;<br>&gt;<br>
<br><br>Bert<br><br><br><br>________________________________________________<br>Bert de Groot, PhD<br><br>Max Planck Institute for Biophysical Chemistry<br>Computational biomolecular dynamics group<br>Am Fassberg 11<br>37077 Goettingen, Germany
<br><br>tel: +49-551-2012308, fax: +49-551-2012302<br><br><a href="http://www.mpibpc.gwdg.de/groups/de_groot">http://www.mpibpc.gwdg.de/groups/de_groot</a><br>_______________________________________________<br>gmx-users mailing list&nbsp;&nbsp;&nbsp;&nbsp;
<a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br><a href="http://www.gromacs.org/mailman/listinfo/gmx-users">http://www.gromacs.org/mailman/listinfo/gmx-users</a><br>Please search the archive at <a href="http://www.gromacs.org/search">
http://www.gromacs.org/search</a> before posting!<br>Please don&#39;t post (un)subscribe requests to the list. Use the<br>www interface or send it to <a href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org
</a>.<br>Can&#39;t post? Read <a href="http://www.gromacs.org/mailing_lists/users.php">http://www.gromacs.org/mailing_lists/users.php</a><br></blockquote></div><br>