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

Rob Latham robl at mcs.anl.gov
Tue Apr 22 12:00:17 CDT 2014



On 04/22/2014 07:10 AM, Lisandro Dalcin wrote:
> The attached patch is so trivial  I'm surprised this is not already
> fixed. Any chance you missed this email?

I pushed this to master just now. thanks for pinging the list again.

==rob

>
> 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
>
>
>

-- 
Rob Latham
Mathematics and Computer Science Division
Argonne National Lab, IL USA


More information about the devel mailing list