MPI_Type_get_name functie
De afdruknaam voor een gegevenstype ophalen.
Syntaxis
int MPIAPI MPI_Type_get_name(
MPI_Datatype type,
_Out_z_cap_post_count_(MPI_MAX_OBJECT_NAME,*resultlen) char *type_name,
_Out_ int *resultlen
);
Parameters
type
Gegevenstype waarvan de naam moet worden geretourneerd.type_name
De naam die eerder is opgeslagen in het gegevenstype of een lege tekenreeks als deze naam niet bestaat.resultlen [uit]
Lengte van geretourneerde naam.
Retourwaarde
Retourneert MPI_SUCCESS bij succes. Anders is de retourwaarde een foutcode.
In Fortran wordt de retourwaarde opgeslagen in de parameter IERROR .
Fortran
MPI_TYPE_GET_NAME(DATATYPE, TYPE_NAME, RESULTLEN, IERROR)
INTEGER DATATYPE, RESULTLEN, IERROR
CHARACTER*(*) TYPE_NAME
Vereisten
Product |
HPC Pack 2012 MS-MPI Redistributable Package, HPC Pack 2008 R2 MS-MPI Redistributable Package, HPC Pack 2008 MS-MPI Redistributable Package of HPC Pack 2008 Client Utilities |
Header |
Mpi.h; Mpif.h |
Bibliotheek |
Msmpi.lib |
DLL |
Msmpi.dll |