Hi Matthieu,

Thanks for your help. That is my understanding too and is verified by my
test code. But I think there may be still a way to do it without calling
wait or test. For my case, I just don't need to worry about the received
data is correct or not (latest one or the old initial data)

Sincerely Yours,

Lei Shi
---------

On Fri, Apr 3, 2015 at 2:43 AM, Matthieu Brucher <matthieu.bruc...@gmail.com
> wrote:

> Hi,
>
> I think you have to call either Wait or Test to make the communications
> move forward in the general case. Some hardware may have a hardware thread
> that makes the communication, but usually you have to make it "advance"
> yourself by either calling Wait ot Test.
>
> Cheers,
>
> Matthieu
>
> 2015-04-03 5:48 GMT+01:00 Lei Shi <lei...@ku.edu>:
>
>> 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.
>>
>> Sincerely Yours,
>>
>> Lei Shi
>> ---------
>>
>> _______________________________________________
>> users mailing list
>> us...@open-mpi.org
>> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
>> Link to this post:
>> http://www.open-mpi.org/community/lists/users/2015/04/26596.php
>>
>
>
>
> --
> Information System Engineer, Ph.D.
> Blog: http://matt.eifelle.com
> LinkedIn: http://www.linkedin.com/in/matthieubrucher
> Music band: http://liliejay.com/
>
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
> Link to this post:
> http://www.open-mpi.org/community/lists/users/2015/04/26598.php
>

Reply via email to