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

iulian at mcs.anl.gov iulian at mcs.anl.gov
Tue May 17 22:18:05 CDT 2011


Author: iulian
Date: 2011-05-17 22:18:02 -0500 (Tue, 17 May 2011)
New Revision: 4839

Modified:
   MOAB/trunk/src/io/ReadHDF5.cpp
Log:
fix non-mpi compile error  


Modified: MOAB/trunk/src/io/ReadHDF5.cpp
===================================================================
--- MOAB/trunk/src/io/ReadHDF5.cpp	2011-05-17 21:28:40 UTC (rev 4838)
+++ MOAB/trunk/src/io/ReadHDF5.cpp	2011-05-18 03:18:02 UTC (rev 4839)
@@ -2200,7 +2200,7 @@
                 << i << ": index " << offset_buffer[i] 
                 << " is less than previous index " << prev << std::endl;
       std::cerr.flush();
-      MPI_Abort(comm,1);
+      return error(MB_FAILURE);
     }
     prev = offset_buffer[i];
   }
@@ -2209,7 +2209,7 @@
               << " exceeds contents table length of " << contents_len
               << std::endl;
     std::cerr.flush();
-    MPI_Abort(comm,1);
+    return error(MB_FAILURE);
   }
 
   // set up buffer for reading set contents 































More information about the moab-dev mailing list