Exactly. That's the logic I followed and I did both the things in my program.
My problem is the iteration number in run.out is further ahead of the number in xyz.out.
This is because there is a buffer for xyz.out (which is interrupted when I kill suddenly) and for run.out I open and close...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.