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

kraftche at mcs.anl.gov kraftche at mcs.anl.gov
Tue Sep 23 15:17:15 CDT 2008


Author: kraftche
Date: 2008-09-23 15:17:15 -0500 (Tue, 23 Sep 2008)
New Revision: 2084

Modified:
   MOAB/trunk/parallel/parallel_hdf5_test.cc
Log:
need to initialize MBCore with correnct rank and size

Modified: MOAB/trunk/parallel/parallel_hdf5_test.cc
===================================================================
--- MOAB/trunk/parallel/parallel_hdf5_test.cc	2008-09-23 20:16:42 UTC (rev 2083)
+++ MOAB/trunk/parallel/parallel_hdf5_test.cc	2008-09-23 20:17:15 UTC (rev 2084)
@@ -70,7 +70,7 @@
   MBEntityHandle set;
   
   rval = moab.load_file( filename, set, 
-                         "PARALLEL=READ_DELETE;"
+                         "PARALLEL=BCAST_DELETE;"
                          "PARTITION=GEOM_DIMENSION;PARTITION_VAL=3;"
                          "PARTITION_DISTRIBUTE;"
                          "PARALLEL_RESOLVE_SHARED_ENTS" );
@@ -198,7 +198,7 @@
   err = MPI_Comm_size( MPI_COMM_WORLD, &size );
   CHECK(!err);
   
-  MBCore moab_instance;
+  MBCore moab_instance( rank, size );
   MBInterface& moab = moab_instance;
   load_and_partition( moab, InputFile );
   




More information about the moab-dev mailing list