This web mail archive is frozen.
This page is part of a frozen web archive of this mailing list.
You can still navigate around this archive, but know that no new mails
have been added to it since July of 2016.
Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.
Elements from all ranks are gathered correctly except for the
element belonging to the root/target rank of the gather operation
when using certain custom MPI-datatypes (see reproducer code).
The bug can be toggled by commenting/uncommenting line 11 in the .F90-file.
Even though all this is for MPI_Gather the same seems to go for MPI_Gatherv
I have verified the bad behaviour with several OpenMPI versions from 1.2.3 to
1.3b2. Correct behaviour has been observed on mvapich2 and PlatformMPI. Both
gfortran and ifort has been tried.
BUILD Build instructions
RUN Run instructions
mpi_gather_test.F90 Reproducer source code
4rank_bad_output.txt Bad output
4rank_expected_output.txt Good output
- text/plain attachment: BUILD
- text/plain attachment: RUN