Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] MPI_Gather bug with reproducer code attached
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2008-11-25 07:19:27


Thanks for the bug report! We discussed this in person at SC08 last
week, and the thread moved to the devel list, here:

     http://www.open-mpi.org/community/lists/devel/2008/11/4948.php

On Nov 16, 2008, at 7:41 PM, Peter Kjellstrom wrote:

> 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
> too.
>
> 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
>
> /Peter
> <
> BUILD
> .txt
> >
> <
> RUN
> .txt
> >
> <
> mpi_gather_test
> .F90
> >
> <
> 4rank_bad_output
> .txt
> >
> <
> 4rank_expected_output
> .txt>_______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users

-- 
Jeff Squyres
Cisco Systems