Skip to content

Context usage of MPI_Win_allocate for using MPI_Win_free and not MPI_Free_mem #8680

@zerothi

Description

@zerothi

For supported info keys see \fBMPI_Win_create\fI.

While the standard mentions how MPI_Win_allocate and MPI_Free_mem should be used together, it isn't mentioned here in the documentation.

This is a reminder to myself to create a PR for this.

I.e. something like this should be amended:

Notes
--------
....

The `baseptr` allocated in MPI_Win_allocate will be freed upon calling MPI_Win_free.

also, under See also I would add a link to MPI_Win_free.

This same edit should go in for MPI_Win_allocate_shared.

Also add this to MPI_Win_free to clarify what it does in the MPI_Win_allocate* cases.

Feel free to add suggestions before I make a pr against this.

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