Re: [OMPI users] Check whether non-blocking communication has finished?

2011-02-02 Thread David Zhang
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  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  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
>> > us...@open-mpi.org
>> > http://www.open-mpi.org/mailman/listinfo.cgi/users
>>
>>
>> --
>> Jeff Squyres
>> jsquy...@cisco.com
>> For corporate legal information go to:
>> http://www.cisco.com/web/about/doing_business/legal/cri/
>>
>>
>> ___
>> users mailing list
>> us...@open-mpi.org
>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>>
>

-- 
Sent from my mobile device

David Zhang
University of California, San Diego


Re: [OMPI users] Check whether non-blocking communication has finished?

2011-02-02 Thread amjad ali
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  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
> > us...@open-mpi.org
> > http://www.open-mpi.org/mailman/listinfo.cgi/users
>
>
> --
> Jeff Squyres
> jsquy...@cisco.com
> For corporate legal information go to:
> http://www.cisco.com/web/about/doing_business/legal/cri/
>
>
> ___
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>


Re: [OMPI users] Check whether non-blocking communication has finished?

2011-02-02 Thread Jeff Squyres
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
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users


-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/




[OMPI users] Check whether non-blocking communication has finished?

2011-02-02 Thread Bibrak Qamar
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.