[Developers] Steering checkpointing by wall time
Jian Tao
jtao at cct.lsu.edu
Wed May 7 14:49:24 CDT 2008
I guess it doesn't really matter here. Since the parameter
is a real number, one can use a fraction of an hour.
Regards,
Jian
Burkhard Zink wrote:
> Hours or minutes both sound good to me.
>
> - B
>
> Ian Hinder wrote:
>> Erik Schnetter wrote:
>>> I suggest to add a new parameter to CactusBase/IOUtil which
>>> checkpoints every so many wall clock hours. This is often more
>>> convenient than choosing the checkpointing interval by iterations.
>> This is a good idea. Should it be hours, or minutes or seconds? I
>> think the termination condition is done in minutes, which seems
>> reasonable to me.
>>
>>
>>> -erik
>>>
>>> Index: param.ccl
>>> ===================================================================
>>> RCS file: /cactusdevcvs/CactusBase/IOUtil/param.ccl,v
>>> retrieving revision 1.51
>>> diff -u -r1.51 param.ccl
>>> --- param.ccl 18 Apr 2007 16:00:12 -0000 1.51
>>> +++ param.ccl 7 May 2008 18:50:15 -0000
>>> @@ -142,6 +143,11 @@
>>> 1:* :: "Every so many iterations"
>>> -1:0 :: "Disable periodic checkpointing"
>>> } -1
>>> +REAL checkpoint_every_walltime_hours "How often to checkpoint"
>>> STEERABLE = ALWAYS
>>> +{
>>> + (0:* :: "After so much walltime has passed"
>>> + -1 :: "Disable periodic walltime checkpointing"
>>> +} -1
>>> BOOLEAN checkpoint_on_terminate "Checkpoint after last iteration"
>>> STEERABLE = ALWAYS
>>> {
>>> } "no"
>>>
>>
>
More information about the Developers
mailing list