Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Erstellt einen Datentyp, der ein verteiltes Array darstellt.
Syntax
int MPIAPI MPI_Type_create_darray(
int size,
int rank,
int ndims,
_In_count_(ndims) int array_of_gszies[],
_In_count_(ndims) int array_of_distribs[],
_In_count_(ndims) int array_of_dargs[],
_In_count_(ndims) int array_of_psizes[],
int order,
MPI_Datatype oldtype,
_Out_ MPI_Datatype *newtype
);
Parameter
size
Größe der Prozessgruppe.rank
Rangfolge in der Prozessgruppe.ndims
Anzahl von Arraydimensionen sowie Prozessrasterdimensionen.array_of_gszies
Anzahl der Elemente vom Typ oldtype in jeder Dimension des globalen Arrays.array_of_distribs
Verteilung des Arrays in jeder Dimension.array_of_dargs
Verteilungsargument in jeder Dimension.array_of_psizes
Größe des Prozessrasters in jeder Dimension.order
Array-Speicherreihenfolgeflag.oldtype
Alter Datentyp.newtype [out]
Neuer Datentyp.
Rückgabewert
Gibt MPI_SUCCESS nach Erfolg zurück. Andernfalls ist der Rückgabewert ein Fehlercode.
In Fortran wird der Rückgabewert im IERROR-Parameter gespeichert.
Fortran
MPI_TYPE_CREATE_DARRAY(SIZE, RANK, NDIMS, ARRAY_OF_GSIZES,
ARRAY_OF_DISTRIBS, ARRAY_OF_DARGS, ARRAY_OF_PSIZES, ORDER,
OLDTYPE, NEWTYPE, IERROR)
INTEGER SIZE, RANK, NDIMS, ARRAY_OF_GSIZES(*), ARRAY_OF_DISTRIBS(*),
ARRAY_OF_DARGS(*), ARRAY_OF_PSIZES(*), ORDER, OLDTYPE, NEWTYPE, IERROR
Anforderungen
Produkt |
HPC Pack 2012 MS-MPI Redistributable Package, HPC Pack 2008 R2 MS-MPI Redistributable Package, HPC Pack 2008 MS-MPI Redistributable Package oder HPC Pack 2008 Client Utilities |
Header |
Mpi.h; Mpif.h |
Bibliothek |
Msmpi.lib |
DLL |
Msmpi.dll |