In this PR JuliaParallel/MPI.jl#958 we encounter a segfault in MPICH's MPI_Neighbour_alltoall. The reason seems to be that we are passing MPI_IN_PLACE as argument, and that MPICH does not handle this argument (because it is not required by the standard). It would be convenient for us if there was an explicit error check in MPICH that detected this error.
(The MPI standard doesn't say that MPI_IN_PLACE is unsupported, it simply doesn't mention this constant at all in the MPI_Neighbour_* definitions, and this makes it difficult to realize that this mechanism is indeed unsupported.)
In this PR JuliaParallel/MPI.jl#958 we encounter a segfault in MPICH's
MPI_Neighbour_alltoall. The reason seems to be that we are passingMPI_IN_PLACEas argument, and that MPICH does not handle this argument (because it is not required by the standard). It would be convenient for us if there was an explicit error check in MPICH that detected this error.(The MPI standard doesn't say that
MPI_IN_PLACEis unsupported, it simply doesn't mention this constant at all in theMPI_Neighbour_*definitions, and this makes it difficult to realize that this mechanism is indeed unsupported.)