Re: [OMPI users] MPI_MAXLOC problems

2018-09-01 Thread Diego Avesani
Dear all, thanks a lot. Diego On Wed, 29 Aug 2018 at 00:13, Nathan Hjelm via users < users@lists.open-mpi.org> wrote: > > Yup. That is the case for all composed datatype which is what the tuple > types are. Predefined composed datatypes. > > -Nathan > > On Aug 28, 2018, at 02:35 PM, "Jeff Squy

Re: [OMPI users] MPI_MAXLOC problems

2018-08-28 Thread Nathan Hjelm via users
Yup. That is the case for all composed datatype which is what the tuple types  are. Predefined composed datatypes. -Nathan On Aug 28, 2018, at 02:35 PM, "Jeff Squyres (jsquyres) via users" wrote: I think Gilles is right: remember that datatypes like MPI_2DOUBLE_PRECISION are actually 2 valu

Re: [OMPI users] MPI_MAXLOC problems

2018-08-28 Thread Jeff Squyres (jsquyres) via users
I think Gilles is right: remember that datatypes like MPI_2DOUBLE_PRECISION are actually 2 values. So if you want to send 1 pair of double precision values with MPI_2DOUBLE_PRECISION, then your count is actually 1. > On Aug 22, 2018, at 8:02 AM, Gilles Gouaillardet > wrote: > > Diego, > >

Re: [OMPI users] MPI_MAXLOC problems

2018-08-24 Thread Gilles Gouaillardet
Diego, Try calling allreduce with count=1 Cheers, Gilles On Wednesday, August 22, 2018, Diego Avesani wrote: > Dear all, > > I am going to start again the discussion about MPI_MAXLOC. We had one a > couple of week before with George, Ray, Nathan, Jeff S, Jeff S., Gus. > > This because I have