ch4/ofi: Add CVAR to set a preferred NIC per rank
Pull Request Description
The PR is based on top of https://github.com/pmodels/mpich/pull/6732.
Adds a MPIR_CVAR_CH4_OFI_PREF_NIC to let the user select a NIC per rank.
Also extends MPIR_CVAR_DEBUG_SUMMARY to print the NIC assigned to a rank.
Author Checklist
- [ ] Provide Description Particularly focus on why, not what. Reference background, issues, test failures, xfail entries, etc.
- [ ] Commits Follow Good Practice
Commits are self-contained and do not do two things at once.
Commit message is of the form:
module: short descriptionCommit message explains what's in the commit. - [ ] Passes All Tests Whitespace checker. Warnings test. Additional tests via comments.
- [ ] Contribution Agreement For non-Argonne authors, check contribution agreement. If necessary, request an explicit comment from your companies PR approval manager.
test:mpich/ch4/ofi
test:mpich/ch4/ofi
test:mpich/ch4/ofi
The ch3-tcp warnings test failed due to a cloning error: ERROR: Error cloning remote repo 'origin'
@hzhou This is ready for review.
Hi @hzhou, I somehow missed the review messages. I agree with your comments. I'll push an update.
Please add commit messages for each commit.
Added.
test:mpich/ch4/ofi
test:mpich/ch4/ofi
@hzhou The tests passed and rebased the branch.
Please do not merge
main into branch. Rather, rebase on top of main.
Please do not merge
maininto branch. Rather, rebase on top ofmain.
Didn't expect the update button to do that. Rebased on main. Is it ok to merge after basic warning checks pass?
Yes, you can merge it
Please do not merge