Compartir a través de


MPI_Type_get_name función

Obtenga el nombre de impresión de un tipo de datos.

Sintaxis

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
);

Parámetros

  • type
    Tipo de datos cuyo nombre se va a devolver.

  • type_name
    Nombre almacenado anteriormente en el tipo de datos o una cadena vacía si no existe dicho nombre.

  • resultlen [out]
    Longitud del nombre devuelto.

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_NAME(DATATYPE, TYPE_NAME, RESULTLEN, IERROR)
        INTEGER DATATYPE, RESULTLEN, IERROR
        CHARACTER*(*) TYPE_NAME

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

Consulte también

Funciones varias de MPI