I only get the correct output when I use the more "conventional" syntax:
However, I get the wrong output when I use MPI_IN_PLACE:
hence my question to this forum in the first place.
I also tried the code snippet at
and that doesn't work for me either, i.e. all I get is zeros.
On Tue, Sep 10, 2013, at 5:58, Jeff Squyres (jsquyres) wrote:
> On Sep 7, 2013, at 5:14 AM, Hugo Gagnon
> <opensource.openmpi_at_[hidden]> wrote:
> > $ openmpif90 test.f90
> > $ openmpirun -np 2 a.out
> > 0 4 6
> > 1 4 6
> > Now I'd be curious to know why your OpenMPI implementation handles
> > MPI_IN_PLACE correctly and not mine!
> I don't understand -- this looks like the correct output to me.
> Are you seeing some other problem?
> Jeff Squyres
> For corporate legal information go to:
> users mailing list