LAM/MPI logo

MPI binding for MPI_TYPE_VECTOR

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just the tutorials

Neutral Binding

MPI_TYPE_VECTOR( count, blocklength, stride, oldtype, newtype)
[ IN count] number of blocks (nonnegative integer)
[ IN blocklength] number of elements in each block (nonnegative integer)
[ IN stride] number of elements between start of each block (intege r)
[ IN oldtype] old datatype (handle)
[ OUT newtype] new datatype (handle)

C Binding

int MPI_Type_vector(int count, int blocklength, int stride, MPI_Datatype oldtype, MPI_Datatype *newtype)

FORTRAN Binding

MPI_TYPE_VECTOR(COUNT, BLOCKLENGTH, STRIDE, OLDTYPE, NEWTYPE, IERROR)
INTEGER COUNT, BLOCKLENGTH, STRIDE, OLDTYPE, NEWTYPE, IERROR

C++ Binding
(in the MPI:: namespace)

Datatype Datatype::Create_vector(int count, int blocklength, int stride) const



Warning: include(../footer.php3): failed to open stream: No such file or directory in /home/mirror/public_html/pub/lam/tutorials/bindings/MPI_TYPE_VECTOR.php on line 41

Warning: include(): Failed opening '../footer.php3' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mirror/public_html/pub/lam/tutorials/bindings/MPI_TYPE_VECTOR.php on line 41