<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
My guess would be that for some reason (which I don't know),<br>your xtc file has not been written to disk completely.<br>You can check this by using gmxdump -cp on your checkpoint file<br>and looking at the size of the xtc file.<br><br>Berk<br><br>&gt; Date: Fri, 7 Aug 2009 10:19:35 +0200<br>&gt; From: qiaobf@gmail.com<br>&gt; To: gmx-users@gromacs.org<br>&gt; Subject: [gmx-users] question about mdrun -append<br>&gt; <br>&gt; Hi all,<br>&gt; <br>&gt; I meet one problem when I am using mdrun -append. In some cases, the<br>&gt; following error information happens, and mdrun is halted<br>&gt; *************************************************<br>&gt; Program mdrun, VERSION 4.0.5<br>&gt; Source code file: checkpoint.c, line: 1248<br>&gt; Fatal error:<br>&gt; Truncation of file T298.xtc failed.<br>&gt; *************************************************<br>&gt; Line 1248 in checkpoint.c is the inner loop as follows<br>&gt; *********************************************************************************<br>&gt;         if(bAppendOutputFiles) {<br>&gt;                 for(i=0;i&lt;nfiles;i++)  {<br>&gt;                         if(0 !=<br>&gt; truncate(outputfiles[i].filename,outputfiles[i].offset) )  {<br>&gt;                                gmx_fatal(FARGS,"Truncation of file %s<br>&gt; failed.",outputfiles[i].filename);<br>&gt;                         }<br>&gt;                 }<br>&gt;         }<br>&gt; *********************************************************************************<br>&gt; <br>&gt; But I don't know how to solve it. Please give some suggestions! Thanks a<br>&gt; lot!<br>&gt; <br>&gt; The following script is used<br>&gt; grompp -f T298.mdp -c pre2.gro -p system.top -o T298<br>&gt; mpirun -np 40 mdrun -npme 12 -deffnm T298 -maxh 23.5<br>&gt; mpirun -np 40 mdrun -npme 12 -deffnm T298 -maxh 23.5 -cpi T298.cpt -append<br>&gt; <br>&gt; regards,<br>&gt; Baofu Qiao<br>&gt; _______________________________________________<br>&gt; gmx-users mailing list    gmx-users@gromacs.org<br>&gt; http://lists.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 />What can you do with the new Windows Live? <a href='http://www.microsoft.com/windows/windowslive/default.aspx' target='_new'>Find out</a></body>
</html>