Commits

Michael Kuhlen committed f8ab62a

print HDF5hierarchyname to stdout.

  • Participants
  • Parent commits 119a398
  • Branches HDF5Hierarchy

Comments (0)

Files changed (1)

File src/enzo/Group_ReadAllData.C

 
   int *RootGridProcessors = NULL, NumberOfRootGrids = 1;
   InitialLoadBalanceRootGrids(fptr, Hfile_id, MetaData.TopGridRank, MetaData.TopGridDims[0], NumberOfRootGrids, RootGridProcessors);
-  
+
   /* Read Data Hierarchy. */
 
   if(LoadGridDataAtStart){
 
 #else
 
-    if (debug) fprintf(stdout, "OPEN data hierarchy %s\n", hierarchyname);
-    // printf("P%d: OPEN data hierarchy %s\n", MyProcessorNumber, hierarchyname);
+    if (debug && HierarchyFileInputFormat == 1)
+      fprintf(stdout, "OPEN data hierarchy %s\n", hierarchyname);
+    if (debug && HierarchyFileInputFormat % 2 == 0)
+      fprintf(stdout, "OPEN data hierarchy %s\n", HDF5hierarchyname);
     file_id = h5_error;
 
 #endif /* SINGLE OPEN */