From bdbda7529f84626b193aedddc0ac2de883036a74 Mon Sep 17 00:00:00 2001 From: tradke Date: Thu, 12 Oct 2000 12:00:41 +0000 Subject: 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 --- par/checkpoint.par | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ par/recover.par | 34 +++++++++++++++++++++++++++++ 2 files changed, 97 insertions(+) create mode 100644 par/checkpoint.par create mode 100644 par/recover.par (limited to 'par') 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" -- cgit v1.2.3