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

Conversation

@artpol84
Copy link
Contributor

@artpol84 artpol84 commented Dec 9, 2015

This PR fixes inter-communicator split logic. Commits are cherry-picked from:

:bot:assign: @hjelmn
:bot:milestone:v2.0.0
:bot🏷️bug
:bot🏷️blocker

Previous commit f279474 reverts Nathans changes. However it turns out
that I was unable to trace his logic until I started investigation of
icsplit hang. Bug was triggered when splitting Intercom was giving a group
where on side of the communicator was empty (icsplit, intercom create open-mpi#2).
in this case remote_size == 0 and there is no way to distinguish between
inter- and intra-communicator.
Conclusion: We do need to distinguish between intra- and inter-communicators.
So we should use ompi_mpi_group_null.group.

(cherry picked from commit open-mpi/ompi@7690f40)
@artpol84
Copy link
Contributor Author

artpol84 commented Dec 9, 2015

I have verified this PR and compared results before and after PR for 2.x.

@mellanox-github
Copy link

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

@hjelmn
Copy link
Member

hjelmn commented Dec 9, 2015

👍

hppritcha added a commit that referenced this pull request Dec 9, 2015
@hppritcha hppritcha merged commit a3bcd3f into open-mpi:v2.x Dec 9, 2015
@artpol84 artpol84 deleted the comm_split_fix branch December 16, 2015 05:35
@artpol84 artpol84 mentioned this pull request Feb 10, 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