Skip to content

mpi/neighbor_allgatherv: fix copy&paste error and add helpers #3864

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 15, 2017

Conversation

hjelmn
Copy link
Member

@hjelmn hjelmn commented Jul 12, 2017

This commit adds a helper function to get the inbound and outbound
neighbor count and updates the neighbor_allgatherv bindings to use the
correct count when checking the input parameters.

Fixes #2324

Signed-off-by: Nathan Hjelm [email protected]
(cherry picked from commit 3c0e94a)
Signed-off-by: Nathan Hjelm [email protected]

@hjelmn hjelmn added the bug label Jul 12, 2017
@hjelmn hjelmn added this to the v2.1.2 milestone Jul 12, 2017
@hjelmn hjelmn requested a review from ggouaillardet July 12, 2017 18:59
@ibm-ompi
Copy link

The IBM CI (GNU Compiler) build failed! Please review the log, linked below.

Gist: https://gist.github.com/7207417c89d8eb1d72808ee3680cfe6d

@hjelmn
Copy link
Member Author

hjelmn commented Jul 12, 2017

Something missing. Checking....

@ibm-ompi
Copy link

The IBM CI (XL Compiler) build failed! Please review the log, linked below.

Gist: https://gist.github.com/fb0879fab8f87ce54af920375f5b8a60

This commit adds a helper function to get the inbound and outbound
neighbor count and updates the neighbor_allgatherv bindings to use the
correct count when checking the input parameters.

Fixes open-mpi#2324

Signed-off-by: Nathan Hjelm <[email protected]>
(cherry picked from commit 3c0e94a)
Signed-off-by: Nathan Hjelm <[email protected]>
@hjelmn hjelmn force-pushed the v2.x_neighbor_fix branch from ab1f29a to 0e38f14 Compare July 12, 2017 19:29
@artpol84
Copy link
Contributor

bot:mellanox:retest

2 similar comments
@artpol84
Copy link
Contributor

bot:mellanox:retest

@artpol84
Copy link
Contributor

bot:mellanox:retest

@artpol84
Copy link
Contributor

NOTE: btl/openib wasn't tested as per #3890.

@jsquyres
Copy link
Member

jsquyres commented Aug 3, 2017

@ggouaillardet Can you review this PR? Thanks.

Copy link
Contributor

@ggouaillardet ggouaillardet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hjelmn do you also need to cherry-pick 9b702fb ?
you did this in #3863 that was merged in v3.0.x

@hppritcha
Copy link
Member

@hjelmn do we need 9b702fb?

@hjelmn
Copy link
Member Author

hjelmn commented Aug 14, 2017

@hppritcha Yes. We should also include 9b702fb.

This commit removes the communicator topo helper functions in favor
of functions in mca/topo/base.

Signed-off-by: Nathan Hjelm <[email protected]>
(cherry picked from commit 9b702fb)
Signed-off-by: Nathan Hjelm <[email protected]>
@jsquyres
Copy link
Member

@ggouaillardet Good now?

@hppritcha hppritcha merged commit 81ce89c into open-mpi:v2.x Aug 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants