mpich icon indicating copy to clipboard operation
mpich copied to clipboard

session: init with the user requested thread level

Open hzhou opened this issue 10 months ago • 2 comments

Pull Request Description

Previously we assume we can't support session with MPI_THREAD_MULTIPLE because user always can concurrently call MPI from different sessions. However, if we interpret the semantics of MPI thread level governs above sessions, then user can call MPI_Session_init with any thread level and we can just support it as usual if it is the first init. Later init will just inherit the already-set thread level.

[skip warnings]

Author Checklist

  • [x] Provide Description Particularly focus on why, not what. Reference background, issues, test failures, xfail entries, etc.
  • [x] Commits Follow Good Practice Commits are self-contained and do not do two things at once. Commit message is of the form: module: short description Commit message explains what's in the commit.
  • [ ] Passes All Tests Whitespace checker. Warnings test. Additional tests via comments.
  • [x] Contribution Agreement For non-Argonne authors, check contribution agreement. If necessary, request an explicit comment from your companies PR approval manager.

hzhou avatar May 14 '25 00:05 hzhou

test:mpich/ch4/most

hzhou avatar May 29 '25 15:05 hzhou

test:mpich/ch4/most

hzhou avatar May 29 '25 21:05 hzhou