Constants(3) | MPI | Constants(3) |
Constants - Meaning of MPI's defined constants
Note that the Fortran types should only be used in Fortran programs, and the C types should only be used in C programs. For example, it is in error to use MPI_INT for a Fortran INTEGER. Datatypes are of type MPI_Datatype in C, type INTEGER in Fortran, and Type(MPI_Datatype) in Fortran08
MPI_CHAR - char
The following are datatypes for the MPI functions MPI_MAXLOC and MPI_MINLOC .
MPI_FLOAT_INT - struct { float, int }
Special datatypes for C and Fortran MPI_PACKED - For MPI_Pack and MPI_Unpack
MPI_REAL - REAL
The following datatypes are optional MPI_INTEGER1 - integer*1 if supported
The following are datatypes for the MPI functions MPI_MAXLOC and MPI_MINLOC . In Fortran, these datatype always consist of two elements of the same Fortran type. MPI_2INTEGER - INTEGER,INTEGER
MPI Datatypes for MPI Types MPI_AINT - Datatype for an MPI_Aint
MPI_COMBINER_NAMED - a named predefined datatype
MPI Type classes used with routines to return Fortran types with defined precision and range MPI_TYPECLASS_REAL - REAL
These values are used to create a datatype with the DARRAY and SUBARRAY constructors. MPI_ORDER_C - Row-major order (as used by C)
Communicators are of type MPI_Comm in C, INTEGER in Fortran, and Type(MPI_Comm) in Fortran08 MPI_COMM_WORLD - Contains all of the processes
MPI_COMM_TYPE_SHARED - All processes that can share memory are grouped into the same communicator.
Groups are of type MPI_Group in C, INTEGER in Fortran, and Type(MPI_Group) in Fortran08
MPI_GROUP_EMPTY - A group containing no members.
MPI_IDENT - Identical
The collective combination operations (e.g., MPI_REDUCE , MPI_ALLREDUCE , MPI_REDUCE_SCATTER , and MPI_SCAN ) take a combination operation. This operation is of type MPI_Op in C and of type INTEGER in Fortran. The predefined operations are
MPI_MAX - return the maximum
The reduction functions ( MPI_Op ) do not return an error value. As a result, if the functions detect an error, all they can do is either call MPI_Abort or silently skip the problem. Thus, if you change the error handler from MPI_ERRORS_ARE_FATAL to something else, for example, MPI_ERRORS_RETURN , then no error may be indicated.
The reason for this is the performance problems in ensuring that all collective routines return the same error value.
Note that not all datatypes are valid for these functions. For example, MPI_COMPLEX is not valid for MPI_MAX and MPI_MIN . In addition, the MPI 1.1 standard did not include the C types MPI_CHAR and MPI_UNSIGNED_CHAR among the lists of arithmetic types for operations like MPI_SUM . However, since the C type char is an integer type (like short ), it should have been included. The MPI Forum will probably include char and unsigned char as a clarification to MPI 1.1; until then, users are advised that MPI implementations may not accept MPI_CHAR and MPI_UNSIGNED_CHAR as valid datatypes for MPI_SUM , MPI_PROD , etc. MPICH does allow these datatypes.
These are the same in C and Fortran
MPI_TAG_UB - Largest tag value
MPI_COMM_NULL - Null communicator
MPI_MAX_PROCESSOR_NAME - Maximum length of name returned by MPI_GET_PROCESSOR_NAME
MPI_CART - Cartesian grid
MPI_UNWEIGHTED - Indicates that the edges are unweighted
MPI_MODE_RDONLY - Read only
MPI_DISPLACEMENT_CURRENT - Use with files opened with mode MPI_MODE_SEQUENTIAL in calls to MPI_FILE_SET_VIEW
MPI_SEEK_SET - Set the pointer to offset
MPI_WIN_BASE - window base address.
MPI_WIN_FLAVOR_CREATE - Window was created with MPI_WIN_CREATE.
MPI_WIN_SEPARATE - Separate public and private copies of window memory
MPI_LOCK_EXCLUSIVE - Only one process at a time will execute accesses within the lock
See section 11.5 in MPI 3.1 for a detailed description of each of these assertion values. MPI_MODE_NOCHECK - The matching calls to MPI_WIN_POST or MPI_WIN_START have already completed, or no process holds or will attempt to acquire, a conflicting lock.
MPI_INFO_ENV - Contains the execution environment
The MPI_Status datatype is a structure in C. The three elements for use by programmers are MPI_SOURCE - Who sent the message
MPI_STATUS_IGNORE - Ignore a single MPI_Status argument
MPI_ERRCODES_IGNORE - Ignore an array of error codes
MPI_T_VERBOSITY_USER_BASIC - Basic information of interest to users
MPI_THREAD_SINGLE - Only one thread executes
MPI_Aint - C type that holds any valid address.
MPI_COMM_NULL_COPY_FN - Predefined attribute copy function for communicators
MPI_NULL_COPY_FN - Predefined copy function
MPI_SUCCESS - Successful return code
MPI_T_ERR_MEMORY - Out of memory
11/21/2018 |