Skip to content

[v5.0.x] opal/ofi: package rank calculation bugfix #11775

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 1 commit into from
Jun 30, 2023

Conversation

wenduwan
Copy link
Contributor

The current implementation has an out-of-bound bug that process_info->my_local_rank could exceed package_ranks array length. This patch eliminates package_ranks array and fixes the bug.

Signed-off-by: Wenduo Wang wenduwan@amazon.com
(cherry picked from commit 9046276)

This commit was missed in #11739

@wenduwan
Copy link
Contributor Author

@gpaulsen @awlauria Hi could you please review the change? The current v5.0.x branch is broken for MTL OFI without this backport.

@wenduwan wenduwan requested a review from hppritcha June 27, 2023 15:15
@wenduwan
Copy link
Contributor Author

@hppritcha Thanks for looking! Shall we merge directly?

@github-actions
Copy link

Hello! The Git Commit Checker CI bot found a few problems with this PR:

a1a5b69: Merge branch 'v5.0.x' into v5.0.x

  • check_cherry_pick: does not include a cherry pick message (did you need to bot:notacherrypick?)

Please fix these problems and, if necessary, force-push new commits back up to the PR branch. Thanks!

The current implementation has an out-of-bound bug that
process_info->my_local_rank could exceed package_ranks array length.
This patch eliminates package_ranks array and fixes the bug.

Signed-off-by: Wenduo Wang <wenduwan@amazon.com>
(cherry picked from commit 9046276)
@wenduwan
Copy link
Contributor Author

Rebased branch.

@wenduwan
Copy link
Contributor Author

Ready for merge.

@awlauria awlauria merged commit 4e3b5e6 into open-mpi:v5.0.x Jun 30, 2023
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