From schnetter at cct.lsu.edu Wed May 7 13:52:31 2008 From: schnetter at cct.lsu.edu (Erik Schnetter) Date: Wed, 7 May 2008 13:52:31 -0500 Subject: [Patches] Steering checkpointing by wall time Message-ID: <6ACB027F-E8B7-443F-BB2D-651B84D5F6FC@cct.lsu.edu> 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. -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" -- Erik Schnetter http://www.cct.lsu.edu/~eschnett/ My email is as private as my paper mail. I therefore support encrypting and signing email messages. Get my PGP key from www.keyserver.net. From schnetter at cct.lsu.edu Mon May 12 16:22:46 2008 From: schnetter at cct.lsu.edu (Erik Schnetter) Date: Mon, 12 May 2008 16:22:46 -0500 Subject: [Patches] Steering checkpointing by wall time In-Reply-To: <6ACB027F-E8B7-443F-BB2D-651B84D5F6FC@cct.lsu.edu> References: <6ACB027F-E8B7-443F-BB2D-651B84D5F6FC@cct.lsu.edu> Message-ID: <399AEAD6-259C-4449-BB88-BD40054BFD62@cct.lsu.edu> I have committed this patch, including the corresponding changes to the documentation. -erik On May 7, 2008, at 13:52:31, 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. > > -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" > > -- > Erik Schnetter http://www.cct.lsu.edu/~eschnett/ > > My email is as private as my paper mail. I therefore support > encrypting > and signing email messages. Get my PGP key from www.keyserver.net. > > > -- Erik Schnetter http://www.cct.lsu.edu/~eschnett/ My email is as private as my paper mail. I therefore support encrypting and signing email messages. Get my PGP key from www.keyserver.net.