title | TOCTitle | ms:assetid | ms:mtpsurl | ms:contentKeyID | ms.date | mtps_version | f1_keywords | dev_langs | api_location | api_name | api_type | product | topic_type | product_family_name | ROBOTS | description | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MPI_Type_contiguous function |
MPI_Type_contiguous function |
f2fb753c-3f17-4308-a384-8edd8c18bacf |
59361020 |
03/28/2018 |
v=VS.85 |
|
|
|
|
|
|
|
VS |
INDEX,FOLLOW |
Learn how to define a new data type using MPI_Type_contiguous function on Microsoft's official site. Step-by-step guide included. |
Defines a new data type that is a concatenation of a number of elements of an existing data type.
int MPIAPI MPI_Type_contiguous(
int count,
MPI_Datatype oldtype,
_Out_ MPI_Datatype *newtype
);
-
count
The number of elements in the new data type. -
oldtype
The MPI data type of each element. -
newtype [out]
On return, contains an MPI_Datatype handle that represents the new data type.
Returns MPI_SUCCESS on success. Otherwise, the return value is an error code.
In Fortran, the return value is stored in the IERROR parameter.
MPI_TYPE_CONTIGUOUS(COUNT, OLDTYPE, NEWTYPE, IERROR)
INTEGER COUNT, OLDTYPE, NEWTYPE, IERROR
The concatenation of the new data type is defined by using the extent of the old data type as the size of the concatenated copies.
Product |
HPC Pack 2012 MS-MPI Redistributable Package, HPC Pack 2008 R2 MS-MPI Redistributable Package, HPC Pack 2008 MS-MPI Redistributable Package or HPC Pack 2008 Client Utilities |
Header |
Mpi.h; Mpif.h |
Library |
Msmpi.lib |
DLL |
Msmpi.dll |