Skip to content

Conversation

@tkordenbrock
Copy link
Member

The Portals4 get_peer family incorrectly cast the ompi_proc_t to
ptl_process_t and returned that as the peer. The ptl_process_t is
actually found in the endpoint array. This commit fixes the
Portals4 get_peer family to return the dereferenced endpoint
pointer.

@regrant - please review

The Portals4 get_peer family incorrectly cast the ompi_proc_t to
ptl_process_t and returned that as the peer.  The ptl_process_t is
actually found in the endpoint array.  This commit fixes the
Portals4 get_peer family to return the dereferenced endpoint
pointer.
@tkordenbrock tkordenbrock added this to the Open MPI v2.0.0 milestone Oct 8, 2015
@hjelmn
Copy link
Member

hjelmn commented Oct 8, 2015

@tkordenbrock Once this is merged should it be added to the 2.x add_procs rollup?

@tkordenbrock
Copy link
Member Author

@hjelmn - Yes, if there is still time.

@hjelmn
Copy link
Member

hjelmn commented Oct 8, 2015

@tkordenbrock There is.

Looks like the Mellanox Jenkins is having issues today. Can probably just go ahead and merge this once @regrant has had a chance to review. I will then cherry-pick it into the add_procs PR on 2.x.

regrant added a commit that referenced this pull request Oct 8, 2015
…oc.cast

Looks good to me.

mtl-portals4: fix bug in the Portals4 get_peer family
@regrant regrant merged commit 8134ba7 into open-mpi:master Oct 8, 2015
jsquyres pushed a commit to jsquyres/ompi that referenced this pull request Aug 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants