[MOAB-dev] r5194 - MOAB/trunk/src/parallel

jain at mcs.anl.gov jain at mcs.anl.gov
Thu Oct 13 16:56:24 CDT 2011


Author: jain
Date: 2011-10-13 16:56:23 -0500 (Thu, 13 Oct 2011)
New Revision: 5194

Modified:
   MOAB/trunk/src/parallel/WriteHDF5Parallel.cpp
Log:
Fix bug in resolve shared set data

Modified: MOAB/trunk/src/parallel/WriteHDF5Parallel.cpp
===================================================================
--- MOAB/trunk/src/parallel/WriteHDF5Parallel.cpp	2011-10-13 15:51:48 UTC (rev 5193)
+++ MOAB/trunk/src/parallel/WriteHDF5Parallel.cpp	2011-10-13 21:56:23 UTC (rev 5194)
@@ -1952,6 +1952,7 @@
       rval = unpack_set( handle, &buff[0], init_buff_size );
       CHECK_MB(rval);
       dead.swap(buff); // release memory
+      recv_req[idx] = MPI_REQUEST_NULL;
     }
     else {
         // data was too big for init_buff_size
@@ -1963,9 +1964,8 @@
                          status.MPI_TAG, comm, &recv_req[idx] );
       CHECK_MPI(mperr);
       ++numrecv;
-    }
-    
-    recv_req[idx] = MPI_REQUEST_NULL;
+    } 
+    //recv_req[idx] = MPI_REQUEST_NULL;
   }
   
   





























More information about the moab-dev mailing list