mdrun -cpi file presence dilemma - Redmine #1889
We purposely allow mdrun -cpi to continue without error when the
checkpoint file is not found to simplify resubmit scripts with
continuation. But this also allows setups like mdrun -cpi
../whole/state_step320.cpt to continue when the file is not found (e.g.
due to a typo). In the latter case the user clearly wants a particular
file and a small typo will lead to starting a run from the start which
can easily be mistaken for a successful continuation.
I don’t know if there is a nice solution to this issue. The only thing I can come up with is to only allow a missing checkpoint file when it comes from the current directory or only with the default or -deffnm file name.
(from redmine: issue id 1889, created on 2016-01-19 by berkhess, closed on 2016-05-25)