Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] MPI_Gather bug with reproducer code attached
From: Peter Kjellstrom (cap_at_[hidden])
Date: 2008-11-16 19:41:02

Problem description:
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.

Attached files:
 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