Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] possible bug exercised by mpi4py
From: Dave Goodell (goodell_at_[hidden])
Date: 2012-05-24 23:03:16


On May 24, 2012, at 10:57 AM CDT, Lisandro Dalcin wrote:

> On 24 May 2012 12:40, George Bosilca <bosilca_at_[hidden]> wrote:
>
>> I don't see much difference with the other collective. The generic behavior is that you apply the operation on the local group but the result is moved into the remote group.
>
> Well, for me this one DO IS different (for example, SCATTER is
> unidirectional for intercomunicators, but REDUCE_SCATTER is
> bidirectional). The "recvbuff" is a local buffer, but you understand
> "recvcounts" as remote.
>
> Mmm, the standard is really confusing in this point...

Don't think of it like an intercommunicator-scatter, think of it more like an intercommunicator-allreduce. The allreduce is also bidirectional. The only difference is that instead of an allreduce (logically reduce+bcast), you instead have a reduce_scatter (logically reduce+scatterv).

-Dave