<div dir="ltr">Glad you found your mistake<div><br></div><div>For restarting the number of steps is the number of steps the program will do (if you say 10 steps, it will do 10 steps from 1 to 10, if you say 10 steps starting from a restart at step 10, it will do ten from 11 to 20)</div><div><br></div><div>When I ran a meta of 10000 steps, adding hills and I need 10000 steps more: I write the same input (Meta QM/MM, but i'll think it's basically the same for MM or QM)</div><div><br></div><div>removing/commenting the <span style="line-height: 18px;">COORD_FILE_FORMAT/ COORD_FILE_NAME </span>section in &SUBSYS/&TOPOLOGY </div><div>adding the SCF_GUESS (&DFT/&SCF/SCF_GUESS RESTART) reading the last wfn (the 10000th one)</div><div>adding </div><div><br></div><div>EXT_RESTART</div><div><span style="line-height: 18px;"> </span><span class="s3" style="line-height: 18px;">RESTART_FILE_NAME  name of the last restart (10000th)</span><br></div><div> RESTART_DEFAULT FALSE </div><div> RESTART_COUNTERS          TRUE   (-> so the 1st steps for the 2nd meta will be 10001 and other counters (time, nb of hills)</div><div> RESTART_AVERAGES          TRUE (-> to keep track of the averages)</div><div> RESTART_POS                      TRUE</div><div> RESTART_VEL                       TRUE</div><div> RESTART_METADYNAMICS TRUE</div><div><span style="line-height: 18px;"> RESTART_RANDOMG</span><span class="s1" style="line-height: 18px;">           TRUE (-> i think is to keep the same seed)</span><br></div><div><span class="s1" style="line-height: 18px;"><br></span></div><div> (RESTART_THERMOSTAT TRUE if needed)</div><div> (RESTART_QMMM TRUE if needed)</div><div> (RESTART_CELL TRUE if your cell changes)</div><div> (RESTART_WALKERS TRUE if needed)</div><div><br></div><div><br></div><div>Also you can use the restart file to restart directly the calculation if you're not changing anything : the restart file is basically a CP2K input file but I never tried.</div><div><br></div><div><br>On Thursday, April 30, 2015 at 1:23:49 AM UTC+2, Christopher O'Brien wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr">Thanks so much for your response. I found my mistake in the input. I wrongly assumed that the atoms were numbered from 0, not 1. This should be expected as CP2K is written in FORTRAN, not C or Python. <div><br></div><div>Regarding restarting:</div><div>I am unsure of exactly what happens during a restart. By restart, I actually mean continuing the simulation from the last MD step, if I decide that I want more. </div><div>If I need to add:<br></div><div>&EXT_RESTART<br></div><div>  RESTART_METADYNAMICS </div><div>&END EXT_RESTART</div><div>Do I need to include RESTART_POS, RESTART_VEL in the &EXT_RESTART section? Would I also need to modify the SCF_GUESS (&DFT/&SCF/SCF_GUESS RESTART)?<br></div><div><div><br></div><div>If I leave the input the same, and simply launch CP2K with the read_restart option, will it simply run the same simulation again, starting from the last step or will it say the simulation is over because it completed all of the requested MD steps?<br></div></div><div><br></div><div>Thanks again!</div><div><br></div></div></blockquote></div></div>