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

Conversation

@jsquyres
Copy link
Member

@jsquyres jsquyres commented May 2, 2016

When building an empty datatype (aka. size = 0) because the count of
included datatypes is 0, be less strict on what the arguments are
(allow NULL pointers).

(cherry picked from commit open-mpi/ompi@6e6ed62)

@bosilca Please review. Straightforward cherry-pick from master.

When building an empty datatype (aka. size = 0) because the count of
included datatypes is 0, be less strict on what the arguments are
(allow NULL pointers).

(cherry picked from commit open-mpi/ompi@6e6ed62)
@jsquyres jsquyres added the bug label May 2, 2016
@jsquyres jsquyres added this to the v1.10.3 milestone May 2, 2016
@mellanox-github
Copy link

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

@mellanox-github
Copy link

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

@bosilca
Copy link
Member

bosilca commented May 2, 2016

This is the cherry-pick from master. This particular commit looks OK but I noticed something strange while looking at the code.

In 1.10 the MPI_Type_hindexed explicitly calls MPI_Type_create_hindexed. I was under the impression that we were trying to never call an MPI function from inside the library.

@jsquyres
Copy link
Member Author

jsquyres commented May 3, 2016

@bosilca Good catch. Looks like we have fixed this kind of thing for the v2.0.0 release -- there's a handful of MPI functions that turn around and call other MPI functions (E.g., MPI_ERRHANDLER_GET calls MPI_COMM_GET_ERRHANDLER). In master/v2.x, they actually call the PMPI equivalents, so that we at least don't trigger tools improperly.

But other than that, it sounds like you're cool with the cherry pick: 👍

@rhc54 rhc54 merged commit 25bc0de into open-mpi:v1.10 May 3, 2016
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.

5 participants