[MOAB-dev] r3969 - MOAB/trunk/src/parallel
kraftche at cae.wisc.edu
kraftche at cae.wisc.edu
Thu May 27 13:42:21 CDT 2010
Author: kraftche
Date: 2010-05-27 13:42:21 -0500 (Thu, 27 May 2010)
New Revision: 3969
Modified:
MOAB/trunk/src/parallel/ReadParallel.cpp
Log:
fix RESOLVED_SHARED_ENTS when PARALLEL=READ_PART and PARTITION=PARALLEL_PARTIION (PARALLEL_PARTITION_TAG_NAME)
Modified: MOAB/trunk/src/parallel/ReadParallel.cpp
===================================================================
--- MOAB/trunk/src/parallel/ReadParallel.cpp 2010-05-26 22:00:47 UTC (rev 3968)
+++ MOAB/trunk/src/parallel/ReadParallel.cpp 2010-05-27 18:42:21 UTC (rev 3969)
@@ -586,9 +586,6 @@
ErrorCode ReadParallel::create_partition_sets( std::string &ptag_name,
EntityHandle file_set )
{
- if (ptag_name == PARALLEL_PARTITION_TAG_NAME)
- return MB_SUCCESS;
-
int proc_rk = myPcomm->proc_config().proc_rank();
Range partition_sets;
ErrorCode result;
@@ -602,6 +599,9 @@
myPcomm->partition_sets());
RR("Failed to get sets with partition-type tag.");
+ if (ptag_name == PARALLEL_PARTITION_TAG_NAME)
+ return MB_SUCCESS;
+
// tag the partition sets with a standard tag name
result = mbImpl->tag_create(PARALLEL_PARTITION_TAG_NAME, sizeof(int),
More information about the moab-dev
mailing list