<div>Hi,</div><div><br></div><div>the MAX_STEPS keyword in the MD section is what you are looking for:</div><div>https://manual.cp2k.org/cp2k-8_1-branch/CP2K_INPUT/MOTION/MD.html#MAX_STEPS</div><div><br></div><div>Cheers,</div><div>Fabian<br></div><br><div class="gmail_quote"><div dir="auto" class="gmail_attr">On Monday, 8 March 2021 at 18:38:29 UTC+1 am...@gmail.com wrote:<br/></div><blockquote class="gmail_quote" style="margin: 0 0 0 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi,<div>Say if I have a QM/MM input file that asks to run 200000 steps. The cluster killed the job in 180000 steps due to timeout.</div><div>When I resume the calculation with </div><div><br></div><div>cp2k.psmp -i prod.restart<br></div><div><br></div><div>The restart file knows that it is currently in 180000 steps and it needs to run 200000 steps but won't stop when 200000 steps are reached. I imagine that it would run a further of 200000 steps. </div><div>I wonder if it is better that the restart function will take into account the current step and only run the number of steps that it needs to run? Thank you.</div></blockquote></div>