[mpich-discuss] How to use non-blocking send/receive without calling MPI_Wait

Balaji, Pavan balaji at anl.gov
Fri Apr 3 17:09:44 CDT 2015


> On Apr 3, 2015, at 4:46 PM, Lei Shi <lshi at ku.edu> wrote:
> I think according to Jeff's post http://blogs.cisco.com/performance/dont-leak-mpi_requests. If we don't call MPI_Wait or test, the request object will not be released even the data transfer completes. 

I didn't look through the video, but what you are saying is not true.  You can free the request in the application (this simply reduces the reference count to that request).  MPI will still maintain one reference count to the request and will only free it when the data transfer completes.

  -- Pavan

--
Pavan Balaji  ✉️
http://www.mcs.anl.gov/~balaji

_______________________________________________
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss


More information about the discuss mailing list