Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Check whether non-blocking communication has finished?
From: David Zhang (solarbikedz_at_[hidden])
Date: 2011-02-02 18:39:46


I think ultimately it would comes down to whether code execution is
more important than receiving the message in a timely fashion.

On 2/2/11, amjad ali <amjad11_at_[hidden]> wrote:
> Perhaps often it is more useful to use MPI_WAIT rather than MPI_TEST type
> fucntions, because at MPI_WAIT point it will be taken care of communication
> completion, automatically, which may be necessary before going ahead. with
> MPI_TEST it would become the responsibility of the programmer to handle the
> situation if the test is FALSE/FAILED.
>
> On Wed, Feb 2, 2011 at 7:50 AM, Jeff Squyres <jsquyres_at_[hidden]> wrote:
>
>> Yes; you can use any of the various flavors of the MPI_TEST* functions.
>>
>> On Feb 2, 2011, at 7:03 AM, Bibrak Qamar wrote:
>>
>> > Hello All,
>> >
>> > Is there any way to find whether a non blocking communication has
>> finished without calling the wait( ) function.
>> >
>> >
>> > Thanks
>> > Bibrak Qamar
>> > Undergraduate Student BIT-9
>> > Member Center for High Performance Scientific Computing
>> > NUST-School of Electrical Engineering and Computer Science.
>> > _______________________________________________
>> > users mailing list
>> > users_at_[hidden]
>> > http://www.open-mpi.org/mailman/listinfo.cgi/users
>>
>>
>> --
>> Jeff Squyres
>> jsquyres_at_[hidden]
>> For corporate legal information go to:
>> http://www.cisco.com/web/about/doing_business/legal/cri/
>>
>>
>> _______________________________________________
>> users mailing list
>> users_at_[hidden]
>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>>
>

-- 
Sent from my mobile device
David Zhang
University of California, San Diego