Partager via


MPI_Lookup_name, fonction

Recherche un port avec un nom de service.

Syntaxe

int MPIAPI MPI_Lookup_name(
   _In_z_ char                       *service_name,
   MPI_Info                          info,
   _Out_cap_(MPI_MAX_PORT_NAME) char *port_name
);

Paramètres

  • service_name
    Nom du service

  • info
    Informations spécifiques à l’implémentation.

  • port_name
    Nom du port.

Valeur retournée

Retourne MPI_SUCCESS en cas de réussite. Sinon, la valeur de retour est un code d’erreur.

Dans Fortran, la valeur de retour est stockée dans le paramètre IERROR .

Fortran

    MPI_LOOKUP_NAME(SERVICE_NAME, INFO, PORT_NAME, IERROR)
        CHARACTER*(*) SERVICE_NAME, PORT_NAME
        INTEGER INFO, IERROR

Remarques

Si le service_name est trouvé, MPI copie la valeur associée dans port_name. La chaîne de taille maximale qui peut être fournie par le système est MPI_MAX_PORT_NAME.

Configuration requise

Produit

Package redistribuable MS-MPI HPC Pack 2012, package redistribuable HPC Pack 2008 R2 MS-MPI, package redistribuable MS-MPI HPC Pack 2008 ou utilitaires clients HPC Pack 2008

En-tête

Mpi.h ; Mpif.h

Bibliothèque

Msmpi.lib

DLL

Msmpi.dll

Voir aussi

Fonctions de gestion des processus MPI