[aspect-devel] Termination criteria module

Eric Heien emheien at ucdavis.edu
Fri Dec 14 07:49:08 PST 2012


"Working directory" is the directory Aspect is run in.  I just changed it to look in the output directory instead - this feels strange to me since it's supposed to be for output, but you're right that using the output directory will avoid causing multiple runs to quit.

-Eric

On Dec 13, 2012, at 5:26 AM, Wolfgang Bangerth wrote:

> On 12/12/2012 07:36 PM, Eric Heien wrote:
>> I just added one more termination criteria that lets the user
>> gracefully end the simulation by creating a file in the working
>> directory, by default named "terminate_aspect".  This can be useful
>> if you don't know how long you want to run, but you want a final
>> checkpoint or to ensure a graceful exit.
> 
> Clever :-) Would you be willing to change it in such a way that it looks for the file in the output directory instead? [1] I not infrequently run several instances of a program with different input files and writing into different output directories, but I presumably only want to stop one of these instances.
> 
> Best
> W.
> 
> 
> [1] Maybe that's what you mean with "working directory" -- I forgot to check out your changes before hopping on this plane...
> 
> -- 
> ------------------------------------------------------------------------
> Wolfgang Bangerth               email:            bangerth at math.tamu.edu
>                                www: http://www.math.tamu.edu/~bangerth/
> 



More information about the Aspect-devel mailing list