-
Notifications
You must be signed in to change notification settings - Fork 0
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
Revoke for sessions #16
Comments
How is this reflected back to the user on the other processes ? As far as I understand your code:
|
R: the advice is promoting an undesired use of the session handle, the handle should be encapsulated in the library and the accessor then will use session-revoke on an internal session object.
Q: Relation with error scope (with new scope session)
Q: There has been talks about relaxing the hard limitation on mixing groups obtained from different sessions, which would render the logic of this operation harder to define/implement. However, such relaxation may also cause problems for the 'fallback' of error handling in Session as is already defined in MPI 4.0/4.1.
Q: G1: should we be able to tell if comm revoked from comm_revoke or session_revoke? Q: G3: dynamic processes Q: propagation at relay nodes? |
Discussion about implicit session revoke started there, there is some proposed text Maybe we need to consider the implicit variants that do the implicit form (control what process fault causes the revoke, control what objects get revoked in that case if more than one, in the implicit form). |
Idea:
revoke entire sessions
Benefit:
Gives a handy way for libraries to expose a single handle that can be used to revoke library internal state (in particular MPI communicators used internally) from library users' code. Signaling to the library the need to react to an 'unexpected' condition.
Proposed text:
MPI_SESSION_REVOKE revokes all communicators that are created using objects derived from the session
Branch: https://github.com/mpiwg-ft/mpi-standard/tree/ulfm/session-revoke
Diff: https://github.com/mpiwg-ft/mpi-standard/compare/ulfm/master...mpiwg-ft:mpi-standard:ulfm/session-revoke
Implementation prototype:
https://github.com/abouteiller/ompi-aurelien/tree/ulfm/session_revoke
Possible complications:
There has been talks about relaxing the hard limitation on mixing groups obtained from different sessions, which would render the logic of this operation harder to define/implement. However, such relaxation may also cause problems for the 'fallback' of error handling in Session as is already defined in MPI 4.0/4.1.
The text was updated successfully, but these errors were encountered: