[MOAB-dev] r5134 - MOAB/trunk/src

tautges at mcs.anl.gov tautges at mcs.anl.gov
Tue Aug 30 12:43:34 CDT 2011


Author: tautges
Date: 2011-08-30 12:43:33 -0500 (Tue, 30 Aug 2011)
New Revision: 5134

Modified:
   MOAB/trunk/src/ScdInterface.cpp
Log:
Make sure buffers are allocated for communicating processors after shared
vertex resolution for structured meshes.



Modified: MOAB/trunk/src/ScdInterface.cpp
===================================================================
--- MOAB/trunk/src/ScdInterface.cpp	2011-08-30 15:46:59 UTC (rev 5133)
+++ MOAB/trunk/src/ScdInterface.cpp	2011-08-30 17:43:33 UTC (rev 5134)
@@ -653,6 +653,10 @@
   rval = pcomm->create_interface_sets(proc_nvecs, -1, -1);
   if (MB_SUCCESS != rval) return rval;
 
+    // make sure buffers are allocated for communicating procs
+  for (std::vector<int>::iterator pit = procs.begin(); pit != procs.end(); pit++)
+    pcomm->get_buffers(*pit);
+
 #ifndef NDEBUG
   rval = pcomm->check_all_shared_handles();
   if (MB_SUCCESS != rval) return rval;






































More information about the moab-dev mailing list