[MOAB-dev] r4935 - MOAB/trunk/src/io

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Thu Jun 2 17:34:11 CDT 2011


Author: kraftche
Date: 2011-06-02 17:34:11 -0500 (Thu, 02 Jun 2011)
New Revision: 4935

Modified:
   MOAB/trunk/src/io/ReadHDF5.cpp
Log:
minor change to ReadHDF5 debug output

Modified: MOAB/trunk/src/io/ReadHDF5.cpp
===================================================================
--- MOAB/trunk/src/io/ReadHDF5.cpp	2011-06-02 21:45:47 UTC (rev 4934)
+++ MOAB/trunk/src/io/ReadHDF5.cpp	2011-06-02 22:34:11 UTC (rev 4935)
@@ -359,7 +359,6 @@
 #endif
     if (bglockless) {
       pfilename = std::string("bglockless:") + pfilename;
-      dbgOut.printf( 1, "Enabling lockless IO for BlueGene (filename: \"%s\")\n", pfilename.c_str() );
     }    
     
 #ifndef HDF5_PARALLEL
@@ -382,6 +381,9 @@
     dbgOut.set_rank(rank);
     dbgOut.limit_output_to_first_N_procs( 32 );
     mpiComm = new MPI_Comm(myPcomm->proc_config().proc_comm());
+    if (bglockless) {
+      dbgOut.printf( 1, "Enabling lockless IO for BlueGene (filename: \"%s\")\n", pfilename.c_str() );
+    }    
 
 #ifndef H5_MPI_COMPLEX_DERIVED_DATATYPE_WORKS 
     dbgOut.print(1,"H5_MPI_COMPLEX_DERIVED_DATATYPE_WORKS is not defined\n");































More information about the moab-dev mailing list