MPI_Status Derived Type

type, public :: MPI_Status

MPI_Status wrapper type for legacy MPI compatibility

This type mimics the mpi_f08 MPI_Status type interface, providing a consistent API between legacy and modern MPI versions


Components

Type Visibility Attributes Name Initial
integer, public :: MPI_ERROR = 0

Error code

integer, public :: MPI_SOURCE = 0

Source rank of received message

integer, public :: MPI_TAG = 0

Tag of received message

integer, public :: internal(3) = 0

Additional status fields


Source Code

   type :: MPI_Status
   !! MPI_Status wrapper type for legacy MPI compatibility
   !!
   !! This type mimics the mpi_f08 MPI_Status type interface,
   !! providing a consistent API between legacy and modern MPI versions
      integer :: MPI_SOURCE = 0 !! Source rank of received message
      integer :: MPI_TAG = 0 !! Tag of received message
      integer :: MPI_ERROR = 0 !! Error code
      integer :: internal(3) = 0 !! Additional status fields
   end type MPI_Status