Edit

Share via


MPI_Lookup_name function

Looks up a port given a service name.

Syntax

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

Parameters

  • service_name
    Service name.

  • info
    Implementation-specific information.

  • port_name
    Port name.

Return value

Returns MPI_SUCCESS on success. Otherwise, the return value is an error code.

In Fortran, the return value is stored in the IERROR parameter.

Fortran

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

Remarks

If the service_name is found, MPI copies the associated value into port_name. The maximum size string that may be supplied by the system is MPI_MAX_PORT_NAME.

Requirements

Product

HPC Pack 2012 MS-MPI Redistributable Package, HPC Pack 2008 R2 MS-MPI Redistributable Package, HPC Pack 2008 MS-MPI Redistributable Package or HPC Pack 2008 Client Utilities

Header

Mpi.h; Mpif.h

Library

Msmpi.lib

DLL

Msmpi.dll

See also

MPI Process Management Functions