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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for