source: proiecte/hpl/openmpi_compiled/share/man/man3/MPI_Type_create_hvector.3 @ 97

Last change on this file since 97 was 97, checked in by (none), 14 years ago

Adding compiled files

File size: 2.6 KB
Line 
1.\"Copyright 2006-2008 Sun Microsystems, Inc.
2.\"Copyright (c) 1996 Thinking Machines
3.TH MPI_Type_create_hvector 3 "Dec 08, 2009" "1.4" "Open MPI"
4.SH NAME
5\fBMPI_Type_create_hvector\fP \- Creates a vector (strided) data type with offset in bytes.
6
7.SH SYNTAX
8.ft R
9.SH C Syntax
10.nf
11#include <mpi.h>
12int MPI_Type_create_hvector(int \fIcount\fP, int \fIblocklength\fP,
13        MPI_Aint \fIstride\fP, MPI_Datatype \fIoldtype\fP, MPI_Datatype *\fInewtype\fP)
14
15.SH Fortran Syntax (see FORTRAN 77 NOTES)
16.nf
17INCLUDE 'mpif.h'
18MPI_TYPE_CREATE_HVECTOR(\fICOUNT, BLOCKLENGTH, STRIDE, OLDTYPE,
19        NEWTYPE, IERROR\fP)
20
21        INTEGER \fICOUNT, BLOCKLENGTH, OLDTYPE, NEWTYPE, IERROR\fP
22        INTEGER(KIND=MPI_ADDRESS_KIND) \fISTRIDE\fP
23
24.SH C++ Syntax
25.nf
26#include <mpi.h>
27MPI::Datatype MPI::Datatype::Create_hvector(int \fIcount\fP,
28        int \fIblocklength\fP, MPI::Aint \fIstride\fP) const
29
30.SH INPUT PARAMETERS
31.ft R
32.TP 1i
33count
34Number of blocks (nonnegative integer).
35.TP 1i
36blocklength
37Number of elements in each block (nonnegative integer).
38.TP 1i
39stride
40Number of bytes between start of each block (integer).
41.TP 1i
42oldtype
43Old data type (handle).
44
45.SH OUTPUT PARAMETERS
46.ft R
47.TP 1i
48newtype
49New data type (handle).
50.TP 1i
51IERROR
52Fortran only: Error status (integer).
53
54.SH DESCRIPTION
55MPI_Type_create_hvector creates a vector (strided) data type with offset in bytes.
56.PP
57NOTE \- This routine replaces MPI_Type_hvector, which is deprecated. See the man page MPI_Type_hvector(3) for information about that routine.
58
59.SH FORTRAN 77 NOTES
60.ft R
61The MPI standard prescribes portable Fortran syntax for
62the \fISTRIDE\fP argument only for Fortran 90.  FORTRAN 77
63users may use the non-portable syntax
64.sp
65.nf
66     INTEGER*MPI_ADDRESS_KIND \fISTRIDE\fP
67.fi
68.sp
69where MPI_ADDRESS_KIND is a constant defined in mpif.h
70and gives the length of the declared integer in bytes.
71
72.SH ERRORS
73Almost all MPI routines return an error value; C routines as the value of the function and Fortran routines in the last argument. C++ functions do not return errors. If the default error handler is set to MPI::ERRORS_THROW_EXCEPTIONS, then on error the C++ exception mechanism will be used to throw an MPI:Exception object.
74.sp
75Before the error value is returned, the current MPI error handler is
76called. By default, this error handler aborts the MPI job, except for I/O function errors. The error handler may be changed with MPI_Comm_set_errhandler; the predefined error handler MPI_ERRORS_RETURN 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. 
77
78.SH SEE ALSO
79.ft R
80MPI_Type_hvector
81.br
82MPI_Type_vector
83.br
Note: See TracBrowser for help on using the repository browser.