diff options
author | tradke <tradke@0888f3d4-9f52-45d2-93bc-d00801ff5e46> | 2000-10-12 12:00:41 +0000 |
---|---|---|
committer | tradke <tradke@0888f3d4-9f52-45d2-93bc-d00801ff5e46> | 2000-10-12 12:00:41 +0000 |
commit | bdbda7529f84626b193aedddc0ac2de883036a74 (patch) | |
tree | 6ae101fc646f09a7bdda86e53de217fc71335676 /par | |
parent | 82634bf2d2df1b3c8b1c1ec72170610d7e5aa77d (diff) |
Two parameter files to test checkpointing and recovery from streamed HDF5 files.
Run both files at the same time on the same machine.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOStreamedHDF5/trunk@48 0888f3d4-9f52-45d2-93bc-d00801ff5e46
Diffstat (limited to 'par')
-rw-r--r-- | par/checkpoint.par | 63 | ||||
-rw-r--r-- | par/recover.par | 34 |
2 files changed, 97 insertions, 0 deletions
diff --git a/par/checkpoint.par b/par/checkpoint.par new file mode 100644 index 0000000..a50578b --- /dev/null +++ b/par/checkpoint.par @@ -0,0 +1,63 @@ +# checkpoint.par - stream checkpoints from a wavetoy evolution +# $Id$ +# +# /*@@ +# @file checkpoint.par +# @date Thu Oct 12 2000 +# @author Thomas Radke +# @desc +# Wavetoy parameter file +# demonstrating checkpointing with IOStreamedHDF5. +# +# Run this parfile in conjunction with recover.par. +# @enddesc +# @history +# Created from wavetoyc_none.par +# @endhistory +# @@*/ + +ActiveThorns = "IDScalarWaveC Time WaveToyC PUGH CartGrid3D IOUtil IOBasicIOHDF5Util IOStreamedHDF5 " + + +# tell Cactus how often to checkpoint +IO::checkpoint_every = 1 + +# the IO mode to use for checkpoint files +# +# Currently IOStreamedHDF5 can only stream "onefile" +# but this may be chunked or unchunked. +IO::out3d_mode = "onefile" +#IO::out3D_unchunked = "yes" + +# enable IOStreamedHDF5 checkpointing +IOStreamedHDF5::checkpoint = "yes" + +# set the timeout for clients to connect +IOStreamedHDF5::checkpoint_accept_timeout = 3 + +# print some verbose output and timing information +IO::verbose = "yes" +IO::print_timing_info = "yes" + + +############################################################### +# the following are WaveToy parameters - no need to touch these +############################################################### +driver::global_nsize = 40 + +cactus::cctk_itlast = 10 + +time::dtfac = 0.5 + +idscalarwave::initial_data = "gaussian" +idscalarwave::sigma = 2.8 +idscalarwave::radius = 0 + +wavetoy::bound = "none" + +grid::type = "BySpacing" +grid::domain = "full" +grid::dxyz = 0.3 + +IOBasic::outInfo_every = 1 +IOBasic::outInfo_vars = "wavetoy::phi" diff --git a/par/recover.par b/par/recover.par new file mode 100644 index 0000000..c7ed0eb --- /dev/null +++ b/par/recover.par @@ -0,0 +1,34 @@ +# recover.par - recover from a streamed checkpoint file +# $Id$ +# +# /*@@ +# @file recover.par +# @date Thu Oct 12 2000 +# @author Thomas Radke +# @desc +# Wavetoy parameter file +# demonstrating recovery with IOStreamedHDF5. +# +# Run this parfile in conjunction with checkpoint.par. +# @enddesc +# @history +# Created from wavetoyc_none.par +# @endhistory +# @@*/ + +ActiveThorns = "IDScalarWaveC Time WaveToyC PUGH CartGrid3D IOUtil IOBasicIOHDF5Util IOStreamedHDF5 " + + +# set the recovery mode to "manual" since "auto" wouldn't make sense here +IO::recover = "manual" + +# tell Cactus where to recover from +IO::recover_file = "localhost:8001" + +# switch off checkpointing which otherwise would be enabled +# after parameter recovery +IO::checkpoint_every = 0 + +# print some verbose output and timing information +IO::verbose = "yes" +IO::print_timing_info = "yes" |