1MPI_Type_hvector(3) LAM/MPI MPI_Type_hvector(3)
2
3
4
6 MPI_Type_hvector - Creates a vector (strided) datatype with offset in
7 bytes
8
10 #include <mpi.h>
11 int MPI_Type_hvector(int count, int length,
12 MPI_Aint stride, MPI_Datatype oldtype,
13 MPI_Datatype *newtype)
14
16 count - number of blocks (nonnegative integer)
17 length - number of elements in each block (nonnegative integer)
18 stride - number of bytes between start of each block (integer)
19 oldtype
20 - old datatype (handle)
21
22
24 newtype
25 - new datatype (handle)
26
27
28
30 This function is deprecated. It has been replaced with an MPI-2 func‐
31 tion (see the "See also" section, below), which provides the same func‐
32 tionality. This function is (or effectively is) a wrapper to the
33 replacement function, anyway. User programs should use the MPI-2
34 replacement function instead of this function.
35
36 Some functions are deprecated because their names did not conform to
37 the stricter naming conventions of MPI-2; others are deprecated because
38 they have been replaced with more flexible functionality.
39
40
42 MPI_Type_create_hvector
43
44
46 For more information, please see the official MPI Forum web site, which
47 contains the text of both the MPI-1 and MPI-2 standards. These docu‐
48 ments contain detailed information about each MPI function (most of
49 which is not duplicated in these man pages).
50
51 http://www.mpi-forum.org/
52
53
54
56 The LAM Team would like the thank the MPICH Team for the handy program
57 to generate man pages ("doctext" from ftp://ftp.mcs.anl.gov/pub/sow‐
58 ing/sowing.tar.gz ), the initial formatting, and some initial text for
59 most of the MPI-1 man pages.
60
62 thvector.c
63
64
65
66LAM/MPI 7.1.2 2/23/2006 MPI_Type_hvector(3)