1
1
openmpi/ompi/mpi
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
..
c MPI_Unpack: fix error code when insize <= 0 2016-04-06 09:47:21 +09:00
cxx datatype: Fix incorrect predefined datatype names and other datatype bugs (#1537) 2016-04-12 20:17:46 +02:00
fortran Merge pull request #1356 from hjelmn/get_address 2016-02-13 08:27:18 -05:00
java java: try do dlopen libmpi with the full path 2015-12-22 11:09:46 +09:00
man man: fix typo in MPI_Win_allocate_shared 2016-03-16 14:47:40 -06:00
tool mpi/tool: Fix an incorrect type cast. 2015-11-04 11:28:43 +09:00
help-mpi-api.txt help-mpi-api.txt: remove now-stale help messages 2015-10-15 12:39:16 -04:00
Makefile.am trim man pages if no c++/f08/fortran 2015-10-13 10:21:42 +09:00