[aspect-devel] Statistics file is easily deleted during model run

Timo Heister heister at math.tamu.edu
Wed Jun 27 15:38:29 PDT 2012


> This is probably due to the vagaries of Unix and the file system rather than any problem with Aspect.  To my understanding, Aspect rewrites the statistics file each time step with the whole simulation history.

That is correct. It gets written from processor 0 from scratch every time.

> The easy way to fix this is to write statistics each time step to a temporary file, then move this temporary file to overwrite the old one.  If there are no objections I can easily add this to Aspect.

Yes, that sounds like a good solution.

-- 
Timo Heister
http://www.math.tamu.edu/~heister/


More information about the Aspect-devel mailing list