[MOAB-dev] r3278 - MOAB/trunk/parallel

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Wed Nov 4 10:36:02 CST 2009


Author: kraftche
Date: 2009-11-04 10:36:02 -0600 (Wed, 04 Nov 2009)
New Revision: 3278

Modified:
   MOAB/trunk/parallel/ReadParallel.cpp
Log:
don't fail if depricated PARTITION_DISTRIBUTE option is specified.  fixes failing parallel tests

Modified: MOAB/trunk/parallel/ReadParallel.cpp
===================================================================
--- MOAB/trunk/parallel/ReadParallel.cpp	2009-11-04 16:23:04 UTC (rev 3277)
+++ MOAB/trunk/parallel/ReadParallel.cpp	2009-11-04 16:36:02 UTC (rev 3278)
@@ -85,6 +85,11 @@
     distrib = true;
     if (partition_tag_name.empty()) 
       partition_tag_name = PARALLEL_PARTITION_TAG_NAME;
+      
+      // also get depricated PARTITION_DISTRIBUTE option
+      // so that higher-level code doesn't return an error
+      // due to an unrecongized option
+    opts.get_null_option( "PARTITION_DISTRIBUTE" );
   }
 
     // Get partition tag value(s), if any, and whether they're to be



More information about the moab-dev mailing list