[MOAB-dev] r2188 - MOAB/trunk/parallel
kraftche at mcs.anl.gov
kraftche at mcs.anl.gov
Fri Oct 31 12:26:40 CDT 2008
Author: kraftche
Date: 2008-10-31 12:26:40 -0500 (Fri, 31 Oct 2008)
New Revision: 2188
Modified:
MOAB/trunk/parallel/MBParallelComm.cpp
Log:
Remove invalid assert: It is possible to receive an empty buffer when
exchanging ghost entities because the exchange is done for all interface
sets, regardless of whether or not the interface set contains any entities
of the specified bridge dimension. (E.g. consider an interface set for
two processors that only share edges and a bridge dimension of 2.)
Modified: MOAB/trunk/parallel/MBParallelComm.cpp
===================================================================
--- MOAB/trunk/parallel/MBParallelComm.cpp 2008-10-30 23:47:26 UTC (rev 2187)
+++ MOAB/trunk/parallel/MBParallelComm.cpp 2008-10-31 17:26:40 UTC (rev 2188)
@@ -3346,7 +3346,7 @@
buff_ptr = &ownerRBuffs[ind][0];
assert(ind >= MAX_SHARING_PROCS);
UNPACK_RANGE(buff_ptr, remote_handles_r);
- assert(!sent_ents[ind-MAX_SHARING_PROCS].empty());
+ //assert(!sent_ents[ind-MAX_SHARING_PROCS].empty());
result = set_remote_data(sent_ents[ind-MAX_SHARING_PROCS], remote_handles_r,
buffProcs[ind-MAX_SHARING_PROCS]);
RRA("Trouble setting remote data range on sent entities in ghost exchange.");
More information about the moab-dev
mailing list