Skip to content
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

MPI handles that are independent of MPI initialization model - clarification needed #733

Open
hppritcha opened this issue Jul 25, 2023 · 4 comments
Labels
mpi-4.2 wg-sessions Sessions Working Group

Comments

@hppritcha
Copy link

Problem

Turns out the solution to #710 introduced the following text into current MPI 4.1 standard in the discussion of MPI_Session_finalize, namely

Most handles that exist independently from theWorld Model or a session in the Sessions
Model, e.g., datatype handles, can be created only while MPI is initialized. For example,
a datatype handle that was created when one particular session existed can be used in
any other session (or in the World Model), even if the second session was initialized after
the  first session had already been  finalized and no other session existed in between. See
Section 11.4.1 for handle creation procedures that do not require that MPI is initialized.

The problematic part of this text is the statement is even if the second session was initialized after the first session had already been finalized and no other session existed in between them. Its not clear to implementors how to implement this.
This was reflected in the voting results for the solution to #710 at the last MPI forum.

Proposal

TBC

Changes to the Text

TBC

Impact on Implementations

Potentially significant. A simple ref counting of MPI sessions (counting world process model as one session) would no longer suffice for components of an MPI implementation responsible for managing these types of handles.

Impact on Users

Unclear due to limited use of the sessions model currently

References and Pull Requests

@wesbland wesbland added mpi-4.1 For inclusion in the MPI 4.1 standard wg-sessions Sessions Working Group labels Aug 9, 2023
@wesbland
Copy link
Member

wesbland commented Aug 9, 2023

@hppritcha What's your opinion on the scope of the fix and the impact of this if we don't get a something in 4.1?

@hppritcha
Copy link
Author

In the Sessions WG there was discussion of new functions taking a sessions handle for datatype constructor functions, etc. so it looks like a good solution is beyond 4.1.

@wesbland
Copy link
Member

wesbland commented Aug 9, 2023

Do you think this should block 4.1? It seems like there's a concern about us introducing unimplementable features.

@wesbland
Copy link
Member

I'm going to move this out to 4.2.

@wesbland wesbland removed the mpi-4.1 For inclusion in the MPI 4.1 standard label Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mpi-4.2 wg-sessions Sessions Working Group
Projects
Status: To Do
Development

No branches or pull requests

2 participants