Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: [OMPI users] MPI_ALLREDUCE bug with 1.5.2rc3r24441
From: Harald Anlauf (anlauf_at_[hidden])
Date: 2011-03-01 16:16:30


Hi,

there appears to be a regression in revision 1.5.2rc3r24441.
The attached program crashes even with 1 PE with:

 Default real, digits: 4 24
 Real kind, digits: 8 53
 Integer kind, bits: 8 64
 Default Integer : 4 32
 Sum[real]: 1.0000000 2.0000000 3.0000000
 Sum[real(8)]: 1.0000000000000000 2.0000000000000000
3.0000000000000000
 Sum[integer(4)]: 1 2 3
[proton:24826] *** An error occurred in MPI_Allreduce: the reduction
operation MPI_SUM is not defined on the MPI_INTEGER8 datatype

On the other hand,

% ompi_info --arch
 Configured architecture: i686-pc-linux-gnu
% ompi_info --all |grep 'integer[48]'
      Fort have integer4: yes
      Fort have integer8: yes
      Fort integer4 size: 4
      Fort integer8 size: 8
     Fort integer4 align: 4
     Fort integer8 align: 8

There are no problems with 1.4.x and earlier revisions.