1
1
openmpi/ompi/mpi/cxx
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
..
comm_inln.h cxx: "rank" is now a function in C++11 2016-02-25 15:56:08 -06:00
comm.cc Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
comm.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
constants.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
datatype_inln.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
datatype.cc Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
datatype.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
errhandler_inln.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
errhandler.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
exception.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
file_inln.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
file.cc Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
file.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
functions_inln.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
functions.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
group_inln.h cxx: "rank" is now a function in C++11 2016-02-25 15:56:08 -06:00
group.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
info_inln.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
info.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
intercepts.cc Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
intercomm_inln.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
intercomm.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
intracomm_inln.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
intracomm.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
Makefile.am trim man pages if no c++/f08/fortran 2015-10-13 10:21:42 +09:00
mpicxx.cc datatype: Fix incorrect predefined datatype names and other datatype bugs (#1537) 2016-04-12 20:17:46 +02:00
mpicxx.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
op_inln.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
op.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
request_inln.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
request.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
status_inln.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
status.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
topology_inln.h cxx: "rank" is now a function in C++11 2016-02-25 15:56:08 -06:00
topology.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
win_inln.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
win.cc Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
win.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00