I am running MD simulations with GROMACS 2018. I am planning to run 500ns but I want my trajectories and other output files in five different sets, i.e., filename XXX_100ns. , XXX_200ns., XXXX_300ns., etc.
Now initially I used and my set of output files corresponding to 100ns were perfectly generated:
gmx grompp -f md.mdp -c XXX.gro -r XXX.gro -t XXX.cpt -p topol.top -o XXX_100ns.tpr
gmx mdrun -s XXX_100ns.tpr -deffnm XXX_200ns
and for continuing the run (My job gets killed every 24hours due to HPC rules)
gmx mdrun -cpi XXX_100ns.cpt -deffnm XXX_100ns
Next in order to continue the run and get outputs as XXX_200ns. , I used:
gmx convert-tpr -s XXX_100ns.tpr -extend 100000 -o XXX_200ns.tpr
gmx mdrun -s XXX_200ns.tpr -cpi XXX_200ns.cpt -deffnm XXX_200ns -noappend
Here, I saw that the outputs I am getting have names: XXX_200ns.part0005.xtc, XXX_200ns.part0005.edr, etc
My question: 1. can I get rid of the ".part0005" from my file name?
2. Since my runs get killed every 24 hr, I need to restart it so now I use:
gmx mdrun -s XXX_200ns.tpr -cpi XXX_200ns.cpt -deffnm XXX_200ns.part0005
But this does not append the outputs to XXX_200ns.part0005. etc files rather creates new files with names XXX_200ns.part0005.part0005. etc.
Any suggestion on how to deal with this issue. I preferred the earlier GROMACS versions as dealing with new names was easier. Also, I should mentions that I need to break my trajectories into different sets because I will be running very long simulations and transferring smaller size trajectories is easier. And if I can choose the specific file names I can handle them easily.