[gmx-users] Restart a run with different files

Davit Hakobyan davhak2000 at hotmail.com
Sun Dec 23 09:21:30 CET 2012





Dear Gromacs users,

I use Gromacs 4.5.1. The problem relates to the restarting procedure of a run. Usually I restart the run with the "-append" option and now I need to move the ".trr" and ".xtc" files to another directory since they got too big for the directory quota where they were located by now. So, previously the restart line looked like the following:

mdrun -append -s system.tpr -c system.gro -g system.log -e system.edr -cpi system.cpt -cpo system.cpt -o system.trr -x system.xtc

and now after copying (or just moving) the ".trr" and ".xtc" files to a new directory the restart line looks like:

dir=new_dir
mdrun -append -s system.tpr -c system.gro -g system.log -e
 system.edr -cpi system.cpt -cpo system.cpt -o ${dir}/system.trr -x ${dir}/system.xtc

However, in the latter case Gromacs gives the error "output files not present or named differently:..." complaining that the ".trr" and ".xtc" files could not be found in the location pointed by the checkpoint ".cpt" file. This is even when the copy of the original ".trr" and ".xtc" files were left in their original directory.

Could anybody point to a solution or a workaround ?

Thanks a lot in advance.


 		 	   		  


More information about the gromacs.org_gmx-users mailing list