diff options
author | Roland Haas <roland.haas@physics.gatech.edu> | 2012-08-03 22:34:59 -0700 |
---|---|---|
committer | Barry Wardell <barry.wardell@gmail.com> | 2012-09-11 18:23:32 +0100 |
commit | c6731c4a190e0ffef19f59911c3a2f2a390312bf (patch) | |
tree | 4a69db644454e80f73af2296c6d82201b54a42d1 /Carpet/CarpetIOHDF5/src/CarpetIOHDF5.cc | |
parent | 4abdb582f5d64a83982548888a2b39fc3d7e0134 (diff) |
CarpetIOHDF5: support indices in sequential chunked output
which happens to be the output method used for single process runs.
Diffstat (limited to 'Carpet/CarpetIOHDF5/src/CarpetIOHDF5.cc')
-rw-r--r-- | Carpet/CarpetIOHDF5/src/CarpetIOHDF5.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Carpet/CarpetIOHDF5/src/CarpetIOHDF5.cc b/Carpet/CarpetIOHDF5/src/CarpetIOHDF5.cc index 909764b46..85b10c229 100644 --- a/Carpet/CarpetIOHDF5/src/CarpetIOHDF5.cc +++ b/Carpet/CarpetIOHDF5/src/CarpetIOHDF5.cc @@ -871,7 +871,7 @@ static int OutputVarAs (const cGH* const cctkGH, const char* const fullname, groupdata.disttype == CCTK_DISTRIB_CONSTANT) { error_count += WriteVarUnchunked (cctkGH, file, io_bytes, r, false); } else if (CCTK_EQUALS (out_mode, "onefile")) { - error_count += WriteVarChunkedSequential (cctkGH, file, io_bytes, r, false); + error_count += WriteVarChunkedSequential (cctkGH, file, io_bytes, r, false, index_file); } else { error_count += WriteVarChunkedParallel (cctkGH, file, io_bytes, r, false, index_file); } |