función MPI_Type_get_contents
Obtiene el contenido del tipo.
Sintaxis
int MPIAPI MPI_Type_get_contents(
MPI_Datatype datatype,
int max_integers,
int max_addresses,
int max_datatypes,
_Out_cap_(max_integers) int array_of_integers[],
_Out_cap_(max_addresses) MPI_Aint array_of_addresses[],
_Out_cap_(max_datatypes) MPI_Datatype array_of_datatypes[]
);
Parámetros
datatype
Tipo de datos al que se va a acceder.max_integers
Número de elementos de array_of_integers.max_addresses
Número de elementos de array_of_addresses.max_datatypes
Número de elementos de array_of_datatypes.array_of_integers
Contiene argumentos enteros usados para construir el tipo de datos.array_of_addresses
Contiene argumentos de dirección usados para construir el tipo de datos.array_of_datatypes
Contiene argumentos de tipo de datos usados para construir el tipo de datos.
Valor devuelto
Devuelve MPI_SUCCESS si se realiza correctamente. De lo contrario, el valor devuelto es un código de error.
En Fortran, el valor devuelto se almacena en el parámetro IERROR .
Fortran
MPI_TYPE_GET_CONTENTS(DATATYPE, MAX_INTEGERS, MAX_ADDRESSES, MAX_DATATYPES,
ARRAY_OF_INTEGERS, ARRAY_OF_ADDRESSES, ARRAY_OF_DATATYPES, IERROR)
INTEGER DATATYPE, MAX_INTEGERS, MAX_ADDRESSES, MAX_DATATYPES,
ARRAY_OF_INTEGERS(*), ARRAY_OF_DATATYPES(*), IERROR
INTEGER(KIND=MPI_ADDRESS_KIND) ARRAY_OF_ADDRESSES(*)
Requisitos
Producto |
Paquete redistribuible de HPC Pack 2012 MS-MPI, HPC Pack 2008 R2 MS-MPI Redistributable Package, HPC Pack 2008 MS-MPI Redistributable Package o HPC Pack 2008 Client Utilities |
Encabezado |
Mpi.h; Mpif.h |
Biblioteca |
Msmpi.lib |
Archivo DLL |
Msmpi.dll |