1
1
openmpi/ompi/datatype
KAWASHIMA Takahiro 4944ba7edc datatype: Fix incorrect predefined datatype names and other datatype bugs (#1537)
* datatype: Fix a incorrect datatype name of `MPI_UNSIGNED`

Name of predefined datatype for C `unsigned int` gotten by
`MPI_TYPE_GET_NAME` should be `MPI_UNSIGNED`, not `MPI_UNSIGNED_INT`.

* datatype: Fix incorrect datatype names of `MPI_C_BOOL` and `MPI_CXX_*`

Names of predefined datatypes gotten by `MPI_TYPE_GET_NAME` are:

after this commit (correct) | before this commit (incorrect)
-----------------------------------------------------------
MPI_C_BOOL                    MPI_BOOL
MPI_CXX_BOOL                  MPI_BOOL
MPI_CXX_FLOAT_COMPLEX         MPI_C_FLOAT_COMPLEX
MPI_CXX_DOUBLE_COMPLEX        MPI_C_DOUBLE_COMPLEX
MPI_CXX_LONG_DOUBLE_COMPLEX   MPI_C_LONG_DOUBLE_COMPLEX

* datatype: Fix a incorrect datatype name of `MPI_2DOUBLE_PRECISION`

Name of the predefined datatype for Fortran two `double precision`
gotten by `MPI_TYPE_GET_NAME` should be `MPI_2DOUBLE_PRECISION`,
not `MPI_2DBLPREC`.

This bug was caused by setting the name to `opal_datatype_t::name`
instead of `ompi_datatype_t::name`.

* datatype: Fix `MPI_UNSIGNED_CHAR` internal flag

`MPI_UNSIGNED_CHAR` is an integer type.

* ompi/cxx: Fix C++ `MPI::LONG_DOUBLE_INT` definition

Just a typo fix. Without this fix, `MPI::MAX_LOC` and `MPI::MIN_LOC`
cannot be used with `MPI::LONG_DOUBLE_INT` in C++ programs.

I know the C++ binding is obsolete, but fixing this is harmless.

* Add FUJITSU copyright
2016-04-12 20:17:46 +02:00
..
Makefile.am datatype/[un]pack_external[_size]: move subroutines down to ompi/datatype 2016-03-30 13:01:33 +09:00
ompi_datatype_args.c ddt: fix support of MPI_COMBINER_RESIZED in __ompi_datatype_create_from_args 2016-01-28 11:32:29 +09:00
ompi_datatype_create_contiguous.c Rearrange the #include to minimize clutter. 2013-09-28 17:15:33 +00:00
ompi_datatype_create_darray.c Fix the missing resize of the returned type for 2015-12-21 09:41:30 +09:00
ompi_datatype_create_indexed.c ddt: duplicate MPI_DATATYPE_NULL when ompi_datatype_create_indexed of ompi_datatype_create_indexed_block is invoked with a zero count 2015-12-08 16:25:36 +09:00
ompi_datatype_create_struct.c Rearrange the #include to minimize clutter. 2013-09-28 17:15:33 +00:00
ompi_datatype_create_subarray.c Fix the missing resize of the returned type for 2015-12-21 09:41:30 +09:00
ompi_datatype_create_vector.c Rearrange the #include to minimize clutter. 2013-09-28 17:15:33 +00:00
ompi_datatype_create.c add pml-specific field in OMPI datatype. 2015-10-20 19:46:06 +03:00
ompi_datatype_external32.c Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
ompi_datatype_external.c datatype/[un]pack_external[_size]: move subroutines down to ompi/datatype 2016-03-30 13:01:33 +09:00
ompi_datatype_get_elements.c Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
ompi_datatype_internal.h datatype: Fix incorrect predefined datatype names and other datatype bugs (#1537) 2016-04-12 20:17:46 +02:00
ompi_datatype_match_size.c Rearrange the #include to minimize clutter. 2013-09-28 17:15:33 +00:00
ompi_datatype_module.c datatype: Fix incorrect predefined datatype names and other datatype bugs (#1537) 2016-04-12 20:17:46 +02:00
ompi_datatype_sndrcv.c coll: do not cast way the const modifier when this is not necessary 2015-09-09 09:18:57 +09:00
ompi_datatype.h datatype/[un]pack_external[_size]: move subroutines down to ompi/datatype 2016-03-30 13:01:33 +09:00