Copyright 2013 Los Alamos National Security, LLC. All rights reserved.
Copyright 2010 Cisco Systems, Inc. All rights reserved.
Copyright 2007-2008 Sun Microsystems, Inc.
Copyright (c) 1996 Thinking Machines Corporation
$COPYRIGHT$
MPI_Lookup_name - Finds port associated with a service name
#include <mpi.h> int MPI_Lookup_name(const char *service_name, MPI_Info info, char *port_name)
USE MPI ! or the older form: INCLUDE 'mpif.h' MPI_LOOKUP_NAME(SERVICE_NAME, INFO, PORT_NAME, IERROR) CHARACTER*(*) SERVICE_NAME, PORT_NAME INTEGER INFO, IERROR
USE mpi_f08 MPI_Lookup_name(service_name, info, port_name, ierror) CHARACTER(LEN=*), INTENT(IN) :: service_name TYPE(MPI_Info), INTENT(IN) :: info CHARACTER(LEN=MPI_MAX_PORT_NAME), INTENT(OUT) :: port_name INTEGER, OPTIONAL, INTENT(OUT) :: ierror
#include <mpi.h> void MPI::Lookup_name(const char *service_name, const MPI::Info& info, char* port_name)
1.4i service_name A service name (string).
1.4i info Options to the name service functions (handle).
1.4i port_name a port name (string).
1.4i IERROR Fortran only: Error status (integer).
Key Type Description --- ---- ----------- ompi_lookup_order char * Resolution order for name lookup.The ompi_lookup_order info key can specify one of four valid string values (see the NAME SCOPE section below for more information on name scopes):
4 local: Only search the local scope for name resolution.
4 global: Only search the global scope for name resolution.
4 local,global: Search the local scope for name resolution. If not found, try searching the global scope for name resolution. This behavior is the default if the ompi_lookup_order info key is not specified.
4 global,local: Search the global scope for name resolution. If not found, try searching the local scope for name resolution.
If no info key is provided, the search will first check to see if a global server has been specified and is available. If so, then the search will default to global scope first, followed by local. Otherwise, the search will default to local.
MPI_Publish_name MPI_Open_port