Re: [OMPI users] Does sendrecv guarantee order?

2014-02-14 Thread Saliya Ekanayake
Thank you Jeff for the clarification. Saliya On Fri, Feb 14, 2014 at 7:06 AM, Jeff Squyres (jsquyres) wrote: > On Feb 13, 2014, at 10:59 PM, Saliya Ekanayake wrote: > > > Anyway, to answer your question I was trying to do sendrecv in a chain > where "toSend" and "receiveFrom" ranks are not th

Re: [OMPI users] Does sendrecv guarantee order?

2014-02-14 Thread Jeff Squyres (jsquyres)
On Feb 13, 2014, at 10:59 PM, Saliya Ekanayake wrote: > Anyway, to answer your question I was trying to do sendrecv in a chain where > "toSend" and "receiveFrom" ranks are not the same. I was using a single > buffer, which resulted in cases where the buffer content got replaced with > received

Re: [OMPI users] Does sendrecv guarantee order?

2014-02-13 Thread Saliya Ekanayake
Hi George, Thank you for your prompt reply, but my apologies for missing it and it's been quite a while. Anyway, to answer your question I was trying to do sendrecv in a chain where "toSend" and "receiveFrom" ranks are not the same. I was using a single buffer, which resulted in cases where the b

Re: [OMPI users] Does sendrecv guarantee order?

2013-11-27 Thread George Bosilca
Why do you need an order? If you plan to send and receive on the same buffer, you should use the MPI constructs for that, namely MPI_IN_PLACE. George. On Nov 27, 2013, at 07:20 , Saliya Ekanayake wrote: > Hi, > > Just want to verify if sendrecv provides any guarantees as to which operation

[OMPI users] Does sendrecv guarantee order?

2013-11-27 Thread Saliya Ekanayake
Hi, Just want to verify if sendrecv provides any guarantees as to which operation (send or receive) happens first. I think it is not, is it? Thank you, Saliya -- Saliya Ekanayake esal...@gmail.com Cell 812-391-4914 Home 812-961-6383 http://saliya.org