Skip to content

What is the "rank of a node"? #893

Open
@devreal

Description

@devreal

Problem

The MPI 5.0 RC 1 on page 443, Section 9.1.3 describes the three attributes that MPI_COMM_WORLD must have. One of them is "MPI_IO"

MPI_IO: Rank of a node that has regular I/O facilities (possibly myrank). Nodes in the same communicator may return different values for this parameter.

Do we mean the rank of a process with regular I/O facilities? We don't assign ranks to nodes (and don't properly define what a node is).

UPDATE:

Later on, we say:

The value returned for MPI_IO is the rank of a processor that can provide language-standard
I/O facilities. For Fortran, this means that all of the Fortran I/O operations are supported
(e.g., OPEN, REWIND, WRITE). For C, this means that all of the ISO C I/O operations are
supported (e.g., fopen, fprintf, lseek).
If every process can provide language-standard I/O, then the value MPI_ANY_SOURCE
will be returned. Otherwise, if the calling process can provide language-standard I/O,
then its rank will be returned. Otherwise, if some process can provide language-standard
I/O then the rank of one such process will be returned. The same value need not be
returned by all processes. If no process can provide language-standard I/O, then the value
MPI_PROC_NULL will be returned.

The term processor seems off here too. And we're missing the MPI-ification of "process".

Proposal

Not sure. Replace with

MPI_IO: Rank of a process in MPI_COMM_WORLD that has regular I/O facilities (possibly the rank of the current process). Processes in the same communicator may return different values for this parameter.

Impact on Implementations

None

Impact on Users

None

References and Pull Requests

Metadata

Metadata

Assignees

No one assigned

    Labels

    chap-environmentMPI Environmental Management Chapter Committeehad readingCompleted the formal proposal readingmpi-5.0For inclusion in the MPI 5.0 standardscheduled first-and-only voteFirst-and-only vote is scheduled for the next meeting

    Type

    No type

    Projects

    Status

    Had Reading

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions