From 4ccf94c73481f9c7abb02c717193aa8ada15e5d3 Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Tue, 3 Jul 2012 11:23:02 +0000 Subject: [PATCH] Fixes trac:3148. Ensure that MPI_2INTEGER uses MPI_INTEGER as its underlying type, not MPI_INT. This commit was SVN r26726. The following Trac tickets were found above: Ticket 3148 --> https://svn.open-mpi.org/trac/ompi/ticket/3148 --- ompi/datatype/ompi_datatype_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ompi/datatype/ompi_datatype_module.c b/ompi/datatype/ompi_datatype_module.c index bfc6c6c6c5..edb9b5da7c 100644 --- a/ompi/datatype/ompi_datatype_module.c +++ b/ompi/datatype/ompi_datatype_module.c @@ -494,7 +494,7 @@ int32_t ompi_datatype_init( void ) OMPI_DATATYPE_MPI_INT, OMPI_DATATYPE_FLAG_DATA_C | OMPI_DATATYPE_FLAG_DATA_INT ); DECLARE_MPI2_COMPOSED_BLOCK_DDT( &ompi_mpi_2integer.dt, OMPI_DATATYPE_2INTEGER, "MPI_2INTEGER", - OMPI_DATATYPE_MPI_INT, + OMPI_DATATYPE_MPI_INTEGER, OMPI_DATATYPE_FLAG_DATA_FORTRAN | OMPI_DATATYPE_FLAG_DATA_INT); DECLARE_MPI2_COMPOSED_BLOCK_DDT( &ompi_mpi_2real.dt, OMPI_DATATYPE_2REAL, "MPI_2REAL", OMPI_DATATYPE_MPI_FLOAT,