[mpich-devel] Default print name for MPI-3 C++ datatypes

Lisandro Dalcin dalcinl at gmail.com
Tue Apr 22 07:10:11 CDT 2014


The attached patch is so trivial  I'm surprised this is not already
fixed. Any chance you missed this email?

On 9 April 2014 10:46, Lisandro Dalcin <dalcinl at gmail.com> wrote:
> Please review the following trivial patch (also attached),
>
> diff --git a/src/mpi/datatype/type_get_name.c b/src/mpi/datatype/type_get_name.c
> index 07c2f84..e550dfb 100644
> --- a/src/mpi/datatype/type_get_name.c
> +++ b/src/mpi/datatype/type_get_name.c
> @@ -108,6 +108,12 @@ static mpi_names_t mpi_names[] = {
>      type_name_entry(MPI_C_DOUBLE_COMPLEX),
>      type_name_entry(MPI_C_LONG_DOUBLE_COMPLEX),
>
> +    /* C++ types */
> +    type_name_entry(MPI_CXX_BOOL),
> +    type_name_entry(MPI_CXX_FLOAT_COMPLEX),
> +    type_name_entry(MPI_CXX_DOUBLE_COMPLEX),
> +    type_name_entry(MPI_CXX_LONG_DOUBLE_COMPLEX),
> +
>      /* address/offset types */
>      type_name_entry(MPI_AINT),
>      type_name_entry(MPI_OFFSET),
>
> --
> Lisandro Dalcin
> ---------------
> CIMEC (UNL/CONICET)
> Predio CONICET-Santa Fe
> Colectora RN 168 Km 472, Paraje El Pozo
> 3000 Santa Fe, Argentina
> Tel: +54-342-4511594 (ext 1016)
> Tel/Fax: +54-342-4511169



-- 
Lisandro Dalcin
---------------
CIMEC (UNL/CONICET)
Predio CONICET-Santa Fe
Colectora RN 168 Km 472, Paraje El Pozo
3000 Santa Fe, Argentina
Tel: +54-342-4511594 (ext 1016)
Tel/Fax: +54-342-4511169


More information about the devel mailing list