MPI_TYPE_LB(3)MPI_TYPE_LB(3)NAMEMPI_Type_lb - Returns the lower bound of a data type
SYNOPSIS
C:
#include <mpi.h>
int MPI_Type_lb ( 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_LB(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_lb routine returns the lower bound of a data type. This
routine accepts the following parameters:
datatype Specifies the data type (handle)
displacement
Returns the displacement of the lower 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.
Page 1