I solved the problem.<br><br>The command that works is: <br>trjcat -f md00.xtc md01.xtc ... md0N.xtc -o out00.xtc out01.xtc ... out0N.xtc -s replica_index.xvg<br><br>Jianhui<br><br>Date: Tue, 03 Nov 2009 10:24:12 -0500<br>

From: &quot;Justin A. Lemkul&quot; &lt;<a href="mailto:jalemkul@vt.edu">jalemkul@vt.edu</a>&gt;<br>
Subject: [gmx-users] Re: trjcat -demux problem<br>
To: Jianhui Tian &lt;<a href="mailto:tianj@rpi.edu">tianj@rpi.edu</a>&gt;, &quot;Gromacs Users&#39; List&quot;<br>
        &lt;<a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a>&gt;<br>
Message-ID: &lt;<a href="mailto:4AF04B1C.3000900@vt.edu">4AF04B1C.3000900@vt.edu</a>&gt;<br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
<br>
Please keep all correspondence on the gmx-users list.  I do not advertise myself<br>
as a private help service, and furthermore, you always stand a better chance at<br>
getting a response by posting to the list.<br>
<br>
Is this the post you&#39;re referring to?<br>
<br>
<a href="http://lists.gromacs.org/pipermail/gmx-users/2008-December/038719.html" target="_blank">http://lists.gromacs.org/pipermail/gmx-users/2008-December/038719.html</a><br>
<br>
It&#39;s always best to refer directly to the thread you read.<br>
<br>
What version of Gromacs are you using?  I seem to recall that the quoted error<br>
came up in 3.3.3, but not in the 4.0.x series.  I never actually solved the<br>
above problem; my issue was with version 4.0.2, and it ended up being my own<br>
fault for using an improper command :)<br>
<br>
-Justin<br>
<br>
Jianhui Tian wrote:<br>
&gt; Hi Justin,<br>
&gt;<br>
&gt; I found your post on gromacs mailing list when I searched for the<br>
&gt; &quot;trjcat -demux&quot; problem.<br>
&gt;<br>
&gt; I had the same problem as you had before:<br>
&gt;<br>
&gt; Fatal error:<br>
&gt; Demuxing the same replica 4 twice at time 30.000002<br>
&gt;<br>
&gt; Unfortunately, I didn&#39;t find any successful hit to solve it on the<br>
&gt; mailing list.<br>
&gt; Could you please share with me how to solve the problem if you have<br>
&gt; solved it?<br>
&gt; Thank you very much.<br>
&gt;<br>
&gt; Jianhui<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>