[OMPI users] MPI_Iallreduce with multidimensional Fortran array

2019-11-13 Thread Camille Coti via users
Dear all, I have a little piece of code shown below that initializes a multidimensional Fortran array and performs: - a non-blocking MPI_Iallreduce immediately followed by an MPI_Wait - a blocking MPI_Allreduce After both calls, it displays a few elements of the input and output buffers. In

Re: [OMPI users] MPI_Iallreduce with multidimensional Fortran array

2019-11-13 Thread Camille Coti via users
MPI_Iallreduce completes, and hence **before** MPI_Wait() completes, so the behavior of such a program is undefined. Cheers, Gilles On 11/14/2019 9:42 AM, Camille Coti via users wrote: Dear all, I have a little piece of code shown below that initializes a multidimensional Fortran array