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

Conversation

@hjelmn
Copy link
Member

@hjelmn hjelmn commented Jun 17, 2016

It is valid for any rank to deviate on the split_type argument if they
specify MPI_UNDEFINED. The code was incorrectly not allowing this
condition. Changed the split_type uniformity check and allow
local_size to be 0 if the local split_type is MPI_UNDEFINED.

Signed-off-by: Nathan Hjelm hjelmn@lanl.gov
(cherry picked from commit open-mpi/ompi@65be935)

It is valid for any rank to deviate on the split_type argument if they
specify MPI_UNDEFINED. The code was incorrectly not allowing this
condition. Changed the split_type uniformity check and allow
local_size to be 0 if the local split_type is MPI_UNDEFINED.

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
(cherry picked from commit open-mpi/ompi@65be935)
@hjelmn
Copy link
Member Author

hjelmn commented Jun 17, 2016

:bot:assign: @hppritcha
:bot🏷️bug
:bot:milestone:v2.0.0

@mellanox-github
Copy link

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

@hjelmn
Copy link
Member Author

hjelmn commented Jun 17, 2016

New test in ompi-tests to test for this regression: ibm/communicator/split_undefined.c

@hjelmn
Copy link
Member Author

hjelmn commented Jun 17, 2016

BTW, I am fine with this as either 2.0.1 or 2.0.0. I don't think this is common usage but it is a regression from what I can tell.

@hppritcha
Copy link
Member

👍

@hppritcha
Copy link
Member

@jsquyres i think this is a 2.0.1 thing

@jsquyres
Copy link
Member

@hppritcha If you're good with this for v2.0.0, I'm fine with it, too.

@hppritcha
Copy link
Member

okay, let's go ahead and merge in.

@jsquyres jsquyres merged commit c6863f8 into open-mpi:v2.x Jun 17, 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