Manual Pages for UNIX Darwin command on man MPI_Type_create_indexed_block
MyWebUniversity

Manual Pages for UNIX Darwin command on man MPI_Type_create_indexed_block

MPITypecreateindexedblock(3OpenMPI)MPITypecreateindexedblock(3OpenMPI)

NAME

MMPPIITTyyppeeccrreeaatteeiinnddeexxeeddbblloocckk - Creates an indexed data type with the

same block length for all blocks. SSYYNNTTAAXX CC SSyynnttaaxx

#include

int MPITypecreateindexedblock(int count, int blocklength, int arrayofdisplacements[], MPIDatatype oldtype, MPIDatatype *newtype) FFoorrttrraann SSyynnttaaxx INCLUDE 'mpif.h' MPITYPECREATEINDEXEDBLOCK(COUNT, BLOCKLENGTH,

ARRAYOFDISPLACEMENTS, OLDTYPE, NEWTYPE, IERROR)

INTEGER COUNT, BLOCKLENGTH, ARRAYOFDISPLACEMENTS(*),

OLDTYPE, NEWTYPE, IERROR

CC++++ SSyynnttaaxx

#include

MPI::Datatype MPI::Datatype::Createindexedblock( int count, int blocklength, const int arrayofdisplacements[]) const IINNPPUUTT PPAARRAAMMEETTEERRSS count Length of array of displacements (integer). blocklength Size of block (integer). arrayofdisplacements Array of displacements (array of integers). oldtype Old data type (handle). OOUUTTPPUUTT PPAARRAAMMEETTEERRSS newtype New data type (handle).

IERROR Fortran only: Error status (integer).

DESCRIPTION

MPITypecreateindexedblock creates an indexed data type with the same block length for all blocks. EERRRROORRSS Almost all MPI routines return an error value; C routines as the value

of the function and Fortran routines in the last argument. C++ func-

tions do not return errors. If the default error handler is set to

MPI::ERRORSTHROWEXCEPTIONS, then on error the C++ exception mechanism

will be used to throw an MPI:Exception object. Before the error value is returned, the current MPI error handler is called. By default, this error handler aborts the MPI job, except for I/O function errors. The error handler may be changed with

MPICommseterrhandler; the predefined error handler MPIERRORSRETURN

may be used to cause error values to be returned. Note that MPI does not guarantee that an MPI program can continue past an error.

SEE ALSO

MPITypeindexed Open MPI 1.2 SeptembeMrPI20T0y6pecreateindexedblock(3OpenMPI)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™