Skip to content

Need to define a local variant of MPI_Session_finalize #23

@hppritcha

Description

@hppritcha

As pointed out during preparation of the MPI 4 standard, the way MPI_Session_finalize is defined as potentially synchronizing:

MPI_SESSION_FINALIZE may be synchronizing on any or all of the groups associated
with communicators, windows, or  les derived from the session and not disconnected, freed,
or closed, respectively, before the call to the MPI_SESSION_FINALIZE procedure.

revealed some less than desirable complexities for applications using sessions in non-trivial ways.

There was some agreement that the asymmetry between the local nature of MPI_Session_init and potentially non-local behavior of MPI_Session_finalize was part of the problem. For MPI-5 it would be good to have an alternative, local method for cleaning up local MPI resources associated with a session.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions