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

Eric Heien emheien at ucdavis.edu
Thu Jun 28 10:14:34 PDT 2012


OK, the change is in.  Let me know if you experience this sort of problem again.

-Eric

On Jun 28, 2012, at 9:34 AM, John Naliboff wrote:

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



More information about the Aspect-devel mailing list