Skip to content

MPI_Reduce(3) man page: output buffer lengths on non-root ranks  #3422

@nathanweeks

Description

@nathanweeks

The MPI_Reduce(3) man page in Open MPI 2.1.0 states:

The routine is called by all group members using the same arguments for count, datatype, op, root, and comm. Thus, all processes provide input buffers and output buffers of the same length, with elements of the same type.

This corresponds to the wording in the MPI 2.2 standard. However, the MPI 3.0 wording was changed to:

The routine is called by all group members using the same arguments for count, datatype, op,
root and comm. Thus, all processes provide input buffers of the same length, with elements
of the same type as the output buffer at the root.

Does the MPI 3.0 wording legalize the use of a recvbuf with, e.g., length == 0 for non-root ranks, and if so, does the Open MPI implementation of MPI_Reduce allow this (in which case, the Open MPI MPI_Reduce(3) man page should be updated)?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions