:ref:`MPI_Type_hvector` |mdash| Creates a vector (strided) datatype with offset in bytes |mdash| |deprecated_favor| :ref:`MPI_Type_create_hvector`.
#include <mpi.h>
int MPI_Type_hvector(int count, int blocklength, MPI_Aint stride,
MPI_Datatype oldtype, MPI_Datatype *newtype)
USE MPI
! or the older form: INCLUDE 'mpif.h'
MPI_TYPE_HVECTOR(COUNT, BLOCKLENGTH, STRIDE, OLDTYPE, NEWTYPE,
IERROR)
INTEGER COUNT, BLOCKLENGTH, STRIDE, OLDTYPE
INTEGER NEWTYPE, IERROR
count
: Number of blocks (nonnegative integer).blocklength
: Number of elements in each block (nonnegative integer).stride
: Number of bytes between start of each block (integer).oldtype
: Old datatype (handle).
newtype
: New datatype (handle).ierror
: Fortran only: Error status (integer).
Note that use of this routine is deprecated as of MPI-2. Use :ref:`MPI_Type_create_hvector` instead.
.. seealso::
* :ref:`MPI_Type_create_hvector`
* :ref:`MPI_Type_vector`