MPI Library Reference


Data Types

<< Message Passing Non-blocking | Table of Contents | >>
(:begfnct mpi_comm:)

MPI_Comm

Indicates the process communicator group. The most common entry for a parameter of this type is MPI_COMM_WORLD. (:endfnct:)

(:begfnct mpi_datatype:)

MPI_Datatype

Indicates the type of data being transmitted using one of the MPI message passing routines. An MPI_Datatype argument should be one of the following which represents a common C-language data type.

  MPI_CHAR
  MPI_DOUBLE
  MPI_FLOAT
  MPI_INT
  MPI_LONG
  MPI_LONG_DOUBLE
  MPI_LONG_LONG
  MPI_SHORT
  MPI_UNSIGNED_CHAR
  MPI_UNSIGNED_INT
  MPI_UNSIGNED_LONG
  MPI_UNSIGNED_SHORT
  MPI_UNSIGNED_LONG_LONG

(:endfnct:)

(:begfnct mpi_op:)

MPI_OP

Specifies the type of reduce operation to be performed by the MPI_Reduce() function. Legal values for this data type include

MPI_MAX Select the maximum value.
MPI_MIN Select the minimum value.
MPI_PROD Compute the product of the values.
MPI_SUM Compute the sum of the values.

(:endfnct:)

(:begfnct mpi_status:)

MPI_Status

A structure type used to store information related to a message received by a process. This structure is used by the MPI_Probe() and MPI_Recv() functions to return information related to the message. Two fields of the structure are very useful within MPI programs:

MPI_TAG
indicates the tag value associated with the message.
MPI_SOURCE
indicates the id number of the process sending the message.

(:endfnct:)

<< Message Passing Non-blocking | Table of Contents | >>

Print - Changes - Search
Last modified: May 07, 2007, at 01:44 PM.