-
Notifications
You must be signed in to change notification settings - Fork 310
test/mpi: Add non-collective sessions init test #7429
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
base: main
Are you sure you want to change the base?
Conversation
|
test:mpich/ch4/most |
8bd3d15 to
05bfcfb
Compare
|
test:mpich/ch4/most |
test/mpi/session/session_non_coll.c
Outdated
|
|
||
| MPI_Session_init(MPI_INFO_NULL, MPI_ERRORS_ABORT, &session); | ||
| MPI_Group_from_session_pset(session, "mpi://world", &group); | ||
| MPI_Group_rank(group, &rank); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also check size and the tests require size > 1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
new version does this
05bfcfb to
694d395
Compare
694d395 to
3d34b45
Compare
|
test:mpich/ch4/most |
3d34b45 to
cb178ff
Compare
|
test:mpich/ch4/most |
cb178ff to
2f0c8f4
Compare
|
test:mpich/ch4/most |
|
The test fails with ch4:ofi when the PSM3 provider is selected. Will address these issues in a follow-up patch. |
This is actually the same issue. When |
957b73a to
e8ca9fb
Compare
|
test:mpich/ch4/most |
e8ca9fb to
8252c6b
Compare
|
test:mpich/ch4/most |
8252c6b to
b227125
Compare
|
test:mpich/ch4/most |
b227125 to
4d547f2
Compare
|
test:mpich/ch4/most |
4d547f2 to
2d0cbf3
Compare
Add a test to verify the local only behavior of MPI_Session_init. To do so, we launch an extra process via mpiexec that will never call MPI_Session_init.
If there is no MPI_COMM_WORLD, we should skip calling a global PMI barrier during finalization. It is not guaranteed that world processes have initialized MPI (thus PMI), so a barrier could hang.
2d0cbf3 to
4b8a027
Compare
|
test:mpich/ch4/most |
Pull Request Description
Add a test to verify the non-collective behavior of
MPI_Session_init. First, run a collective init/finalize sequence over
all launched processes. Second, try to re-initialize and finalize a new
session from just a single process and ensure it does not hang.
Author Checklist
Particularly focus on why, not what. Reference background, issues, test failures, xfail entries, etc.
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.
Whitespace checker. Warnings test. Additional tests via comments.
For non-Argonne authors, check contribution agreement.
If necessary, request an explicit comment from your companies PR approval manager.