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

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Fri May 28 10:44:56 CDT 2010


Author: kraftche
Date: 2010-05-28 10:44:55 -0500 (Fri, 28 May 2010)
New Revision: 3973

Modified:
   MOAB/trunk/src/io/WriteHDF5.cpp
Log:
always use collective IO for parallel HDF5 writes (get rid of 'COLLECTIVE' option)

Modified: MOAB/trunk/src/io/WriteHDF5.cpp
===================================================================
--- MOAB/trunk/src/io/WriteHDF5.cpp	2010-05-28 15:21:22 UTC (rev 3972)
+++ MOAB/trunk/src/io/WriteHDF5.cpp	2010-05-28 15:44:55 UTC (rev 3973)
@@ -526,8 +526,10 @@
     opts.get_int_option("PARALLEL_COMM", pcomm_no);
       // Just store Boolean value based on string option here.
       // parallel_create_file will set writeProp accordingly.
-    collectiveIO =  (MB_SUCCESS == opts.get_null_option("COLLECTIVE"));
-    dbgOut.printf(2,"'COLLECTIVE' option = %s\n", collectiveIO ? "YES" : "NO" );
+    //collectiveIO =  (MB_SUCCESS == opts.get_null_option("COLLECTIVE"));
+    //dbgOut.printf(2,"'COLLECTIVE' option = %s\n", collectiveIO ? "YES" : "NO" );
+      // Do this all the time, as it appears to be much faster than indep in some cases
+    collectiveIO = true;
     result = parallel_create_file( filename, overwrite, qa_records, tag_list, num_tags, user_dimension, pcomm_no );
   }
   else {




































More information about the moab-dev mailing list