Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] error from MPI_Allgather
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2012-10-30 09:57:52


On Oct 30, 2012, at 2:23 AM, rajesh wrote:

>> 2. That being said, it looks like you used the same buffer for both the sbuf and rbuf. MPI does not allow you to
>> do that; you need to specify different buffers for those arguments.
>
> The problem occurs with openmpi. I could understand the problem as you said in
> the reply. But how can I set different buffers for them?

You need to change your code so that you can pass different buffers in for sbuf and rbuf.

-- 
Jeff Squyres
jsquyres_at_[hidden]
For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/