Skip to content

Do not free resources in MPI_*_free calls #977

Description

@eschnett

Function such as MPI_Op_free only decrement a reference counter, they do not actually free the internal MPI objects. These MPI objects may still be in use. Freeing resources or un-root objects in such a call can lead to accessing uninitialized memory.

In my experience, this means that the some of the MPI_*_free calls may not actually be able to free anything (e.g. MPI_Op_free). Many objects may need to remain allocated indefinitely (or until MPI_Finalize).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions