Skip to content
This repository was archived by the owner on Sep 30, 2022. It is now read-only.

Conversation

@kawashima-fj
Copy link
Member

PR for v2.x

@bosilca please review

bot:label:bug
bot:milestone:v2.0.0

Not a critical bug; can be dalayed to v2.0.1

(cherry picked from commit open-mpi/ompi@4944ba7)

  • datatype: Fix a incorrect datatype name of MPI_UNSIGNED
  • datatype: Fix incorrect datatype names of MPI_C_BOOL and MPI_CXX_*
  • datatype: Fix a incorrect datatype name of MPI_2DOUBLE_PRECISION
  • datatype: Fix MPI_UNSIGNED_CHAR internal flag
  • ompi/cxx: Fix C++ MPI::LONG_DOUBLE_INT definition

…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

(cherry picked from commit open-mpi/ompi@4944ba7)
@ompiteam-bot ompiteam-bot added this to the v2.0.0 milestone Apr 13, 2016
@mellanox-github
Copy link

Test PASSed.
See http://bgate.mellanox.com/jenkins/job/gh-ompi-release-pr/1506/ for details.

@bosilca
Copy link
Member

bosilca commented Apr 13, 2016

👍

@jsquyres
Copy link
Member

@hppritcha I'm good with this one.

@hppritcha hppritcha merged commit 58bd1f6 into open-mpi:v2.x Apr 13, 2016
@kawashima-fj kawashima-fj deleted the pr/v2.x/predefined-datatype-name-fix branch April 15, 2016 11:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants