Skip to content

Conversation

hppritcha
Copy link
Member

Turns out that in commit 6bd36a7 we had a function that is not part of the MPI standard. This showed while working on ABI support - which requires us to pay attention to the truth rather than make stuff up.

This commit removes our made up MPI_Session_set_info method. Turns out who ever was doing the fortran bindings knew this wasn't a method in the standard so there's no need to change the fortran bindings. Same thing applies to the man pages.

Related to #13280

Turns out that in commit 6bd36a7 we had a function that is not part of the MPI standard.
This showed while working on ABI support - which requires us to pay attention to the truth
rather than make stuff up.

This commit removes our made up MPI_Session_set_info method.
Turns out who ever was doing the fortran bindings knew this wasn't a method in the standard
so there's no need to change the fortran bindings.  Same thing applies to the man pages.

Related to open-mpi#13280

Signed-off-by: Howard Pritchard <[email protected]>
@hppritcha
Copy link
Member Author

@devreal take a look when you have a chance

@bosilca
Copy link
Member

bosilca commented Aug 26, 2025

And I was thinking that MPI finally got reasonable when adding sessions. We have support for setting infos for communicators, files and windows, and support for getting infos for sessions, communicators, files and windows. Why the discrepancy ?

Copy link
Contributor

@devreal devreal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

@devreal
Copy link
Contributor

devreal commented Aug 27, 2025

@bosilca I suspect that sessions are considered static once created. Unlike communicators, which can change behavior in between operations (well-defined, in-sync across processes). Do you see a benefit in dynamically setting info keys on sessions?

@bosilca
Copy link
Member

bosilca commented Aug 27, 2025

Changing the info keys on an existing communicators was a bad idea especially taking in account how cheap is to create a new communicator with the updated info keys. But, if the Forum decided that it was worth allowing it for communicators, files and windows, they should have allowed it for sessions as well. Consistency does not seem to be a trend in the standardization committee.

@hppritcha hppritcha merged commit 3f84c4d into open-mpi:main Aug 27, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants