Repository navigation
Runner - Use double-dash mpirun options for Open MPI 5 - #871
Closed
Nguyen Vuong (normanvuong) wants to merge 1 commit into
Closed
Nguyen Vuong (normanvuong) wants to merge 1 commit into
Nguyen Vuong (normanvuong) wants to merge 1 commit into
Conversation
Open MPI 5 (PRRTE) rejects or warns on single-dash long options such as -bind-to; Open MPI 4 accepts both forms. Switch the mpi mode command to --tag-output, --allow-run-as-root, --host, --hostfile, --map-by, --bind-to and --mca. -x is a single-character option and is unchanged. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The focused option changes are consistent, compatible with supported Open MPI versions, and covered by existing command-generation tests.
0 open findings
What changed in this PR
Updates MPI-mode launches for Open MPI 5 compatibility while retaining Open MPI 4 support.
Changes:
- Converts long
mpirunoptions to double-dash forms. - Updates command-generation test expectations.
| File | Description |
|---|---|
superbench/runner/runner.py |
Generates Open MPI-compatible double-dash options. |
tests/runner/test_runner.py |
Updates expected MPI launch commands. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Author
|
same fix has been merged with #896 |
Author
|
same fix has been merged with #896 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
On MI455X with the ROCm 10 image (#867), which ships DOCA Open MPI 5.0.10,
mpi-mode benchmarks fail at launch because the runner passes single-dash long options (-bind-to numa, etc.) tompirun. Open MPI 5's launcher, PRRTE, only documents double-dash long options. Open MPI 4.1 accepts both forms, so switching to double dashes keeps existing images working.Major Revision
mpimode now launches with--tag-output,--allow-run-as-root,--host/--hostfile,--map-by,--bind-toand--mca.-xis a single-character option and is unchanged.Minor Revision
mpiruncommands intests/runner/test_runner.py.Notes:
--tag-outputis deprecated in Open MPI 5 in favor of--output tagand prints a warning there. It is kept because Open MPI 4 has no--output tag.