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

Junchao Zhang jczhang at mcs.anl.gov
Thu Apr 2 19:25:58 CDT 2015


Does MPI_Test fit your needs?

--Junchao Zhang

On Thu, Apr 2, 2015 at 7:16 PM, Lei Shi <lshi at ku.edu> wrote:

> I want to use non-blocking send/rev MPI_Isend/MPI_Irev to do
> communication. But in my case, I don't really care what kind of data I get
> or it is ready to use or not. So I don't want to waste my time to do any
> synchronization  by calling MPI_Wait or etc API.
>
> But when I avoid calling MPI_Wait, my program is freezed several secs
> after running some iterations (after multiple MPI_Isend/Irev callings),
> then continues. It takes even more time than the case with MPI_Wait.  So my
> question is how to do a "true" non-blocking communication without waiting
> for the data ready or not. Thanks.
>
> _______________________________________________
> discuss mailing list     discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20150402/7453e24a/attachment.html>
-------------- next part --------------
_______________________________________________
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