I have trouble creating a check-point i.e. to restart a program from where it was if it is suddenly killed.
I output from the program in a file called "xyz.out", which has x y z (real dp) values. At the end of each output "data block" (5 xyz lines), I have a check variable which is 65e10 65e10...