Skip to content

MPI Headers are required to be included in each scope/unit that utilizes MPI procedures, constants, types, etc #141

Open
@tonyskjellum

Description

@tonyskjellum

Problem

Apparently, we did not ever formally require headers to be included (mpi.h, etc).
MPI must state that the right language binding (interface) header must be defined in each scope that names MPI procedures constants, types, predefined names (e.g., MPI_COMM_WORLD), return and error codes, etc.

Proposal

While this is clearly the standard's intent since MPI-1.0, it has to be formally stated. Programs that do not do included the headers properly are erroneous. In practice, it is difficult to make such programs, but evidently not impossible

Changes to the Text

We will verify that the text is indeed missing; this appears to be the case. If so, we will add the text formally requiring the right header for each subprogram included in such a way that it is active in the scope or scopes that invoke MPI procedures, functions, types, constants, etc.

This could also be considered an erratum and be added as such to MPI-3 and MPI-3.1.

Impact on Implementations

None.

Impact on Users

Little or none.

References

None

Metadata

Metadata

Assignees

Labels

chap-environmentMPI Environmental Management Chapter Committeempi-6For inclusion in the MPI 5.1 or 6.0 standard

Type

No type

Projects

Status

To Do

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions