# Possible bug with simulation extension

**URL:** <https://gromacs.bioexcel.eu/t/possible-bug-with-simulation-extension/218>\
**Category:** User discussions\
**Created:** [May 31, 2020, 10:05am UTC](https://gromacs.bioexcel.eu/t/possible-bug-with-simulation-extension/218 "2020-05-31T10:05:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sprior](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/sprior/32/92_2.png) [@sprior](https://gromacs.bioexcel.eu/u/sprior)\
**Post date:** [May 31, 2020, 10:05am UTC](https://gromacs.bioexcel.eu/t/possible-bug-with-simulation-extension/218/1 "2020-05-31T10:05:34Z")

</div>

GROMACS version: 2020.2  
GROMACS modification: No  
Hello, I am trying to extend a simulation and have encountered a possible bug. I extended with:

gmx convert-tpr -s md01.tpr -extend 10070 -o md02.tpr

and ran with:

gmx mdrun -v -c md02.pdb -deffnm md02 -cpi md01.cpt

which outputted:

GROMACS: gmx mdrun, version 2020.2  
Executable: /usr/local/gromacs/bin/gmx  
Data prefix: /usr/local/gromacs  
Working dir: /mnt/c/My Documents/data/JAS\_00643 - SP-ET/gromacs/fadh2-a2q  
Command line: gmx mdrun -v -c md02.pdb -deffnm md02 -cpi md01.cpt

Program: gmx mdrun, version 2020.2  
Source file: src/gromacs/mdrunutility/handlerestart.cpp (line 159) Function: void gmx::{anonymous}::throwBecauseOfMissingOutputFiles(const char\*, gmx::ArrayRef, int, const t\_filenm\*, size\_t)  
Inconsistency in user input: Some output files listed in the checkpoint file md01.cpt are not present or not named as the output files by the current program:)  
Expected output files that are present:  
Expected output files that are not present or named differently:  
md01.log  
md01.xtc  
md01.edr  
To keep your simulation files safe, this simulation will not restart. Either name your output files exactly the same as the previous simulation part (e.g. with -deffnm), or make sure all the output files are present (e.g. run from the same directory as the previous simulation part), or instruct mdrun to write new output files with  
mdrun -noappend.  
In the last case, you will not be able to use appending in future for this simulation.  
For more information and tips for troubleshooting, please check the GROMACS  
website at [http://www.gromacs.org/Documentation/Errors](http://www.gromacs.org/Documentation/Errors)

however ls gives:

/mnt/c/My Documents/data/JAS\_00643 - SP-ET/gromacs/fadh2-a2q$ ls md01\*  
md01.cpt md01.edr md01.log md01.pdb md01.tpr md01.xtc md01\_part.xtc md01\_prev.cpt

So all the files are there and the directory structure hasn’t changed. I’m thinking it might be the inclusion of spaces in the directory names? Is there any way to explicitly input the files to mdrun so I can append? Or is it too late for this simulation now?

Many thanks,  
Steve

---

<div class="post-metadata">

**Author:** ![cblau](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/cblau/32/5_2.png) [@cblau](https://gromacs.bioexcel.eu/u/cblau)\
**Post date:** [June 26, 2020, 3:49pm UTC](https://gromacs.bioexcel.eu/t/possible-bug-with-simulation-extension/218/2 "2020-06-26T15:49:23Z")

</div>

Hi Steve,

if you use -deffnm md02, then the files will be named differently (md02.log etc) and your simulation should continue normally if you use -deffnm md01.

you can always use -noappend and glue all files together afterwards with trjcat, though not the nicest solution.
