diff options
author | tradke <tradke@4825ed28-b72c-4eae-9704-e50c059e567d> | 2004-06-09 10:42:16 +0000 |
---|---|---|
committer | tradke <tradke@4825ed28-b72c-4eae-9704-e50c059e567d> | 2004-06-09 10:42:16 +0000 |
commit | 38fbe980f6b9275467ce7c54d9d4ab5cd68478d3 (patch) | |
tree | babe7be3f398561f60f004354ed50928079e276c /src/Startup.c | |
parent | cd73bb05af6b26417f83423c93566a48d104cc94 (diff) |
After setup, do an initial I/O parameter parsing and warn/stop on parsing errors
(depending on IO::strict_io_parameter_check).
You will also need to update CactusBase/IOUtil.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5/trunk@197 4825ed28-b72c-4eae-9704-e50c059e567d
Diffstat (limited to 'src/Startup.c')
-rw-r--r-- | src/Startup.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Startup.c b/src/Startup.c index 9bafc73..2d2e06e 100644 --- a/src/Startup.c +++ b/src/Startup.c @@ -137,6 +137,15 @@ static void *SetupGH (tFleshConfig *config, int conv_level, cGH *GH) myGH->out_every_default = out_every - 1; myGH->last_checkpoint_iteration = -1; + myGH->stop_on_parse_errors = strict_io_parameter_check; + if (! CCTK_Equals (verbose, "none")) + { + CCTK_INFO ("I/O Method 'IOHDF5' registered: output of grid variables and " + "hyperslabs thereof to HDF5 files"); + } + IOHDF5_CheckSteerableParameters (GH, myGH); + myGH->stop_on_parse_errors = 0; + /* get the name of IOHDF5's output directory */ my_out_dir = out_dir; if (*my_out_dir == 0) |