3.7. Processes

PreviousUpNext
Up: MPI Terms and Conventions Next: Error Handling Previous: Functions and Macros

An MPI program consists of autonomous processes, executing their own code, in an MIMD style. The codes executed by each process need not be identical. The processes communicate via calls to MPI communication primitives. Typically, each process executes in its own address space, although shared-memory implementations of MPI are possible.

This document specifies the behavior of a parallel program assuming that only MPI calls are used. The interaction of an MPI program with other possible means of communication, I/O, and process management is not specified. Unless otherwise stated in the specification of the standard, MPI places no requirements on the result of its interaction with external mechanisms that provide similar or equivalent functionality. This includes, but is not limited to, interactions with external mechanisms for process control, shared and remote memory access, file system access and control, interprocess communication, process signaling, and terminal I/O. High quality implementations should strive to make the results of such interactions intuitive to users, and attempt to document restrictions where deemed necessary.


Advice to implementors.

Implementations that support such additional mechanisms for functionality supported within MPI are expected to document how these interact with MPI. ( End of advice to implementors.)
The interaction of MPI and threads is defined in Section MPI and Threads.

MPI processes reside in the same shared memory domain if it is possible to share a segment of memory between them, i.e., to make a segment of memory ( shared memory segment) concurrently accessible from all of those MPI processes through load/store accesses. For a group of processes belonging to more than one shared memory domain the creation of a subgroup of processes belonging to the same shared memory domain is defined in Section Communicator Constructors.


PreviousUpNext
Up: MPI Terms and Conventions Next: Error Handling Previous: Functions and Macros


Return to MPI-4.1 Standard Index
Return to MPI Forum Home Page

(Unofficial) MPI-4.1 of November 2, 2023
HTML Generated on November 19, 2023