aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland Haas <rhaas@tapir.caltech.edu>2013-08-03 21:28:44 -0700
committerRoland Haas <rhaas@tapir.caltech.edu>2013-08-10 13:04:35 -0700
commit984857f8041d5c4727b7f025a409ff3a165385fe (patch)
tree673446675372b2127b47353de8e0407f8a6455e4
parenta098b911dc93593011c598e4e8b30b90b97fd6d6 (diff)
CarpetIOHDF5: delay browsing of input files
this means the BrowseDataSets is only called from one location
-rw-r--r--Carpet/CarpetIOHDF5/src/Input.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/Carpet/CarpetIOHDF5/src/Input.cc b/Carpet/CarpetIOHDF5/src/Input.cc
index 549d5a6af..bf182f506 100644
--- a/Carpet/CarpetIOHDF5/src/Input.cc
+++ b/Carpet/CarpetIOHDF5/src/Input.cc
@@ -961,15 +961,6 @@ static list<fileset_t>::iterator OpenFileSet (const cGH* const cctkGH,
// read all the metadata information
ReadMetadata (fileset, file.file);
- // first try to open a chunked file written on this processor
- // browse through all datasets contained in this file
-
- // TODO: measure if it is actually beneficial to open the index file for this
- // file where we always read the metadata group
- HDF5_ERROR (H5Giterate (file.indexfile >= 0 ? file.indexfile : file.file,
- "/", NULL, BrowseDatasets, &file));
- assert (file.patches.size() > 0);
-
// recover parameters
if (called_from == CP_RECOVER_PARAMETERS) {
if (not CCTK_Equals (verbose, "none")) {