From 984857f8041d5c4727b7f025a409ff3a165385fe Mon Sep 17 00:00:00 2001 From: Roland Haas Date: Sat, 3 Aug 2013 21:28:44 -0700 Subject: CarpetIOHDF5: delay browsing of input files this means the BrowseDataSets is only called from one location --- Carpet/CarpetIOHDF5/src/Input.cc | 9 --------- 1 file changed, 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::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")) { -- cgit v1.2.3