MPI_Type_ub - Returns the upper bound of a data type
SYNOPSIS
C:
#include <mpi.h>
int MPI_Type_ub ( datatype, displacement )
MPI_Datatype datatype;
MPI_Aint *displacement;
C++:
#include <mpi.h>
void Datatype::Get_extent(
Aint& lb,
Aint& extent) const
Fortran:
INCLUDE "mpif.h" (or USE MPI)
INTEGER datatype, displacement, ierror
CALL MPI_TYPE_UB(datatype, displacement, ierror)
STANDARDS
This release implements the MPI 1.2 standard, as
documented by the MPI Forum in the spring 1997 release of
MPI: A Message Passing Interface Standard.
DESCRIPTION
The MPI_Type_ub routine returns the upper bound of a data
type. This routine accepts the following parameters:
datatype Specifies the data type (handle)
displacement Returns the displacement of the upper bound
from origin, in bytes (integer)
ierror Specifies the return code value for
successful completion, which is in
MPI_SUCCESS. MPI_SUCCESS is defined in the
mpif.h file.
Man(1) output converted with
man2html