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

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Fri May 20 07:40:48 CDT 2011


Author: kraftche
Date: 2011-05-20 07:40:48 -0500 (Fri, 20 May 2011)
New Revision: 4854

Modified:
   MOAB/trunk/src/io/ReadHDF5.cpp
Log:
add option to force slow select method even if HDF5 append hack is detected

Modified: MOAB/trunk/src/io/ReadHDF5.cpp
===================================================================
--- MOAB/trunk/src/io/ReadHDF5.cpp	2011-05-20 12:40:08 UTC (rev 4853)
+++ MOAB/trunk/src/io/ReadHDF5.cpp	2011-05-20 12:40:48 UTC (rev 4854)
@@ -345,8 +345,9 @@
     ReadHDF5Dataset::set_hyperslab_selection_limit( hslimit );
   else
     ReadHDF5Dataset::default_hyperslab_selection_limit();
-  if (MB_SUCCESS == opts.get_null_option( "HYPERSLAB_APPEND" )
-      || HDF5_can_append_hyperslabs()) {
+  if (MB_SUCCESS != opts.get_null_option("HYPERSLAB_OR") &&
+     (MB_SUCCESS == opts.get_null_option( "HYPERSLAB_APPEND" )
+      || HDF5_can_append_hyperslabs())) {
     ReadHDF5Dataset::append_hyperslabs();
     if (MB_SUCCESS != opts.get_int_option( "HYPERSLAB_SELECT_LIMIT", hslimit ))
       ReadHDF5Dataset::set_hyperslab_selection_limit( std::numeric_limits<int>::max() );





































More information about the moab-dev mailing list