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

tautges at mcs.anl.gov tautges at mcs.anl.gov
Tue Mar 15 14:28:03 CDT 2011


Author: tautges
Date: 2011-03-15 14:28:03 -0500 (Tue, 15 Mar 2011)
New Revision: 4593

Modified:
   MOAB/trunk/src/io/ReadNC.cpp
Log:
Re-inserting #ifdef USE_MPI, duh.



Modified: MOAB/trunk/src/io/ReadNC.cpp
===================================================================
--- MOAB/trunk/src/io/ReadNC.cpp	2011-03-15 19:20:07 UTC (rev 4592)
+++ MOAB/trunk/src/io/ReadNC.cpp	2011-03-15 19:28:03 UTC (rev 4593)
@@ -155,6 +155,7 @@
   success = NCFUNC(close)(fileId);
   ERRORS(success, "Trouble closing file.");
 
+#ifdef USE_MPI
     // create partition set, and populate with elements
   if (isParallel) {
     EntityHandle partn_set;
@@ -175,6 +176,7 @@
     rval = mbImpl->tag_set_data(part_tag, &partn_set, 1, &dum_rank);
     if (MB_SUCCESS != rval) return rval;
   }
+#endif
   
   return MB_SUCCESS;
 }

































More information about the moab-dev mailing list