<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'><div style="text-align: left;">Hi,<br><br>Indeed this is the problem.<br>I have fixed it in CVS for the Gromacs 4 release.<br><br>Thanks for reporting this bug,<br><br>Berk.<br></div><br><br><hr id="stopSpelling">&gt; From: lulanyuan@msn.com<br>&gt; To: gmx-users@gromacs.org<br>&gt; Date: Tue, 12 Aug 2008 19:51:17 -0400<br>&gt; Subject: [gmx-users] A bug of trjconv for force output?<br>&gt; <br>&gt; <br>&gt; Hello All,<br>&gt; I just found a strange problem for the gromacs tool trjconv. I have a trajectory (and the tpr file) which contains three groups of molecules and x,v and f. When I use trjconv to output the trajectory of the 1st group, everything is fine. For example, I have A,B and C groups in my trajectory and I choose A only at the prompt of trjconv and use "-force" option to include forces in my output trajectory of A only. But if I want a trajectory of C only, I found the output forces were wrong. Positions and velocities are right in this case. It seems to me the trjconv just pick the first N force numbers to write where N is the total number of atoms in group C. In fact these forces belong to group A and B. This "logic" of trjconv explains why the output is correct if I choose the first group A to write.<br>&gt; Some month ago I reported a problem regarding the deshuf.ndx and the wrong force output. I think that problem is related to this problem. Because fewer people use forces, I think this is the reason these bugs haven't been found before. I appreciate if some authors can fix them.<br>&gt; Thanks.<br>&gt; Lanyuan Lu <br>&gt; _________________________________________________________________<br>&gt; 用手机MSN聊天写邮件看空间,无限沟通,分享精彩!<br>&gt; http://mobile.msn.com.cn/<br>&gt; _______________________________________________<br>&gt; gmx-users mailing list    gmx-users@gromacs.org<br>&gt; http://www.gromacs.org/mailman/listinfo/gmx-users<br>&gt; Please search the archive at http://www.gromacs.org/search before posting!<br>&gt; Please don't post (un)subscribe requests to the list. Use the <br>&gt; www interface or send it to gmx-users-request@gromacs.org.<br>&gt; Can't post? Read http://www.gromacs.org/mailing_lists/users.php<br><br /><hr />Express yourself instantly with MSN Messenger! <a href='http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/' target='_new'>MSN Messenger</a></body>
</html>