I tried your test with the current svn version of the 1.6 (to be 1.6.5 I guess), and your test pass without any issues.
On Jun 24, 2013, at 15:22 , Thomas Jahns <jahns_at_[hidden]> wrote:
> the following code exposes a problem we are experiencing with our OpenMPI
> 1.6. installations.
> My colleague Moritz Hanke isolated the problem to an interaction of
> MPI_Type_create_struct with a previous MPI_Type_dup. When MPI_Type_dup on line
> 67 of the example is replaced with a straight assignment of MPI_INT to sends,
> the problem goes away.
> We are using a patched version of OpenMPI which includes the changes from r28319.
> Regards, Thomas Jahns
> Thomas Jahns
> DKRZ GmbH, Department: Application software
> Deutsches Klimarechenzentrum
> Bundesstraße 45a
> D-20146 Hamburg
> Phone: +49-40-460094-151
> Fax: +49-40-460094-270
> Email: Thomas Jahns <jahns_at_[hidden]>
> devel mailing list