Re: [OMPI users] MPI_Irecv: Confusion with <> inputy parameter

2012-08-26 Thread devendra rai
..@yahoo.co.uk> Cc: Open MPI Users <us...@open-mpi.org> Sent: Tuesday, 21 August 2012, 10:37 Subject: Re: [OMPI users] MPI_Irecv: Confusion with <> inputy parameter Hello, Devendra, Sending and receiving messages in MPI are atomic operations - they complete only when the whole

Re: [OMPI users] MPI_Irecv: Confusion with <> inputy parameter

2012-08-21 Thread Iliev, Hristo
have decided to receive a > large payload in chunks of 80 bytes? > > I am sorry, the manual and the API reference was too vague for me. > > Thanks a lot > > Devendra > From: "Iliev, Hristo" <il...@rz.rwth-aachen.de> > To: Open MPI Users <us...@

Re: [OMPI users] MPI_Irecv: Confusion with <> inputy parameter

2012-08-21 Thread jody
I am sorry, the manual and the API reference was too vague for me. > > Thanks a lot > > Devendra > > From: "Iliev, Hristo" <il...@rz.rwth-aachen.de> > To: Open MPI Users <us...@open-mpi.org> > Cc: devendra rai <

Re: [OMPI users] MPI_Irecv: Confusion with <> inputy parameter

2012-08-21 Thread devendra rai
PI Users <us...@open-mpi.org> Cc: devendra rai <rai.deven...@yahoo.co.uk> Sent: Tuesday, 21 August 2012, 9:48 Subject: Re: [OMPI users] MPI_Irecv: Confusion with <> inputy parameter Jeff, >> Or is it the number of elements that are expected to be received,

Re: [OMPI users] MPI_Irecv: Confusion with <> inputy parameter

2012-08-21 Thread Iliev, Hristo
Jeff, >> Or is it the number of elements that are expected to be received, and hence >> MPI_Test will tell me that the receive is not complete untill "count" number >> of elements have not been received? > > Yes. Answering "Yes" this question might further the confusion there. The "count"

Re: [OMPI users] MPI_Irecv: Confusion with <> inputy parameter

2012-08-20 Thread Jeff Squyres
On Aug 20, 2012, at 5:51 AM, devendra rai wrote: > Is it the number of elements that have been received *thus far* in the buffer? No. > Or is it the number of elements that are expected to be received, and hence > MPI_Test will tell me that the receive is not complete untill "count" number >

[OMPI users] MPI_Irecv: Confusion with <> inputy parameter

2012-08-20 Thread devendra rai
Hello Community, I have a problem understanding the API for MPI_Irecv: int MPI_Irecv( void *buf, int count, MPI_Datatype datatype, int source, int tag, MPI_Comm comm, MPI_Request *request ); Parameters buf [in] initial address of receive buffer (choice) count [in] number of elements in