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

John Naliboff jbnaliboff at ucdavis.edu
Thu Jun 28 09:34:11 PDT 2012


Thanks Eric!

On Jun 27, 2012, at 3:38 PM, Timo Heister wrote:

>> 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/
> _______________________________________________
> Aspect-devel mailing list
> Aspect-devel at geodynamics.org
> http://geodynamics.org/cgi-bin/mailman/listinfo/aspect-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://geodynamics.org/pipermail/aspect-devel/attachments/20120628/65c7fdc6/attachment.htm 


More information about the Aspect-devel mailing list