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

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Thu Feb 24 13:09:24 CST 2011


Author: kraftche
Date: 2011-02-24 13:09:24 -0600 (Thu, 24 Feb 2011)
New Revision: 4529

Modified:
   MOAB/trunk/src/io/WriteHDF5.cpp
Log:
fix segfault in parallel write resulting from debug code I added earlier this month

Modified: MOAB/trunk/src/io/WriteHDF5.cpp
===================================================================
--- MOAB/trunk/src/io/WriteHDF5.cpp	2011-02-24 19:08:51 UTC (rev 4528)
+++ MOAB/trunk/src/io/WriteHDF5.cpp	2011-02-24 19:09:24 UTC (rev 4529)
@@ -1040,8 +1040,6 @@
   ErrorCode rval;
   int i;
   unsigned int u;
-
-  CHECK_OPEN_HANDLES;
   
   rval = iFace->get_number_entities_by_handle( set, i, false );
   CHK_MB_ERR_0(rval);
@@ -1427,8 +1425,6 @@
                                               std::vector<id_t>& output_id_list, 
                                               bool& ranged_list )
 {
-  CHECK_OPEN_HANDLES;
-
   output_id_list.clear();
   ranged_list = false;
   if (input_range.empty()) {
@@ -2742,8 +2738,6 @@
 {
   ErrorCode rval;
   result = 0;
-  
-  CHECK_OPEN_HANDLES;
 
     // split buffer into two pieces, one for pointers and one for sizes
   size_t step, remaining;






















More information about the moab-dev mailing list