Re: [OMPI devel] OpenMPI 1.8 Bug Report

2015-08-27 Thread Gilles Gouaillardet
Thanks Michael and Kawashima-san, i made PR #838 to fix this it is currently available at https://github.com/open-mpi/ompi/pull/838 Cheers, Gilles On 8/27/2015 6:29 PM, Michael Knobloch wrote: Dear OpenMPI developers, I noticed a bug in the definition of the 3 MPI-3 RMA functions MPI_Compare

Re: [OMPI devel] OpenMPI 1.8 Bug Report

2015-08-27 Thread Gilles Gouaillardet
Kawashima-san, you are right, I mixed MPI_Buffer_detach and MPI_Win_detach sorry for the confusion Cheers, Gilles On Thursday, August 27, 2015, Kawashima, Takahiro < t-kawash...@jp.fujitsu.com> wrote: > Gilles, > > > there is a comment in the source code to explain this. > > Could you point wh

Re: [OMPI devel] OpenMPI 1.8 Bug Report

2015-08-27 Thread Kawashima, Takahiro
Gilles, > there is a comment in the source code to explain this. Could you point where the comment is? I can find a comment about MPI_Buffer_detach in ompi/mpi/fortran/mpif-h/buffer_detach_f.c and ompi/mpi/fortran/use-mpi-f08/buffer_detach.c files. But the situation is different form MPI_Buffer_

Re: [OMPI devel] OpenMPI 1.8 Bug Report

2015-08-27 Thread Gilles Gouaillardet
iirc, the MPI_Win_detach discrepancy with the standard is intentional in fortran 2008, there is a comment in the source code to explain this. On Thursday, August 27, 2015, Kawashima, Takahiro < t-kawash...@jp.fujitsu.com> wrote: > Oh, I also noticed it yesterday and was about to report it. > > An

Re: [OMPI devel] OpenMPI 1.8 Bug Report

2015-08-27 Thread Kawashima, Takahiro
Oh, I also noticed it yesterday and was about to report it. And one more, the base parameter of MPI_Win_detach. Regards, Takahiro Kawashima > Dear OpenMPI developers, > > I noticed a bug in the definition of the 3 MPI-3 RMA functions > MPI_Compare_and_swap, MPI_Fetch_and_op and MPI_Raccumulate.

[OMPI devel] OpenMPI 1.8 Bug Report

2015-08-27 Thread Michael Knobloch
Dear OpenMPI developers, I noticed a bug in the definition of the 3 MPI-3 RMA functions MPI_Compare_and_swap, MPI_Fetch_and_op and MPI_Raccumulate. According to the MPI standard, the origin_addr and compare_addr parameters of these functions have a const attribute, which is missing in OpenMPI's