diff options
author | Thomas Radke <tradke@aei.mpg.de> | 2005-06-24 12:39:00 +0000 |
---|---|---|
committer | Thomas Radke <tradke@aei.mpg.de> | 2005-06-24 12:39:00 +0000 |
commit | 67f5bca54cccb46ff35e037f460847dab5d62d42 (patch) | |
tree | 623a6a9472ad76388cfa030e5217beed216ebdf7 /Carpet/CarpetIOHDF5/schedule.ccl | |
parent | f1bbec2b98eec1d20762012595b8a865c2fd1b7f (diff) |
CarpetIOHDF5: implement parallel I/O
Like CactusPUGHIO/IOHDF5, CarpetIOHDF5 now also provides parallel I/O for
data and checkpointing/recovery.
The I/O mode is set via IOUtils' parameters IO::out_mode and IO::out_unchunked,
with parallel output to chunked files (one per processor) being the default.
The recovery and filereader interface can read any type of CarpetIOHDF5 data
files transparently - regardless of how it was created (serial/parallel,
or on a different number of processors).
See the updated thorn documentation for details.
darcs-hash:20050624123924-776a0-5639aee9677f0362fc94c80c534b47fd1b07ae74.gz
Diffstat (limited to 'Carpet/CarpetIOHDF5/schedule.ccl')
-rw-r--r-- | Carpet/CarpetIOHDF5/schedule.ccl | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/Carpet/CarpetIOHDF5/schedule.ccl b/Carpet/CarpetIOHDF5/schedule.ccl index dd5dba6b7..24963cf68 100644 --- a/Carpet/CarpetIOHDF5/schedule.ccl +++ b/Carpet/CarpetIOHDF5/schedule.ccl @@ -13,12 +13,6 @@ schedule CarpetIOHDF5_Init at BASEGRID OPTIONS: global } "Initialisation routine" -schedule CarpetIOHDF5_ReadData at INITIAL -{ - LANG: C - OPTIONS: level -} "Read initial data from file" - if (checkpoint && checkpoint_ID) { schedule CarpetIOHDF5_InitialDataCheckpoint at CPINITIAL @@ -40,11 +34,11 @@ schedule CarpetIOHDF5_TerminationCheckpoint at TERMINATE OPTIONS: meta } "Termination checkpoint routine" -schedule CarpetIOHDF5_CloseFile at POSTINITIAL +schedule CarpetIOHDF5_CloseFiles at POSTINITIAL { LANG: C OPTIONS: global -} "Close an input file opened by the filereader" +} "Close all filereader input files" if (! CCTK_Equals (recover, "no") && *recover_file) { @@ -54,9 +48,9 @@ if (! CCTK_Equals (recover, "no") && *recover_file) OPTIONS: meta } "Parameter recovery routine" - schedule CarpetIOHDF5_CloseFile at POST_RECOVER_VARIABLES + schedule CarpetIOHDF5_CloseFiles at POST_RECOVER_VARIABLES { LANG: C OPTIONS: global - } "Close an initial data checkpoint file" + } "Close all initial data checkpoint files after recovery" } |