b225366012
passed to make it all flow thru the opal/pmix "put/get" operations. Update the PMIx code to latest master to pickup some required behaviors. Remove the no-longer-required get_contact_info and set_contact_info from the RML layer. Add an MCA param to allow the ofi/rml component to route messages if desired. This is mainly for experimentation at this point as we aren't sure if routing wi ll be beneficial at large scales. Leave it "off" by default. Signed-off-by: Ralph Castain <rhc@open-mpi.org>
54 строки
1.6 KiB
C
54 строки
1.6 KiB
C
/*
|
|
* Copyright (c) 2007 Los Alamos National Security, LLC. All rights
|
|
* reserved.
|
|
* Copyright (c) 2017 Intel, Inc. All rights reserved.
|
|
* $COPYRIGHT$
|
|
*
|
|
* Additional copyrights may follow
|
|
*
|
|
* $HEADER$
|
|
*/
|
|
|
|
/**
|
|
* @file
|
|
*
|
|
* Interface for manipulating how the RML receives contact information
|
|
*
|
|
* Interface for manipulating how the RML receives contact
|
|
* information. These functions are generally used during orte_init
|
|
* and orte_finalize.
|
|
*/
|
|
|
|
|
|
#include "orte_config.h"
|
|
#include "orte/types.h"
|
|
|
|
#include "opal/dss/dss_types.h"
|
|
|
|
BEGIN_C_DECLS
|
|
|
|
/**
|
|
* Parse a contact information string
|
|
*
|
|
* Parse a contact infromation string, such as that returned by
|
|
* orte_rml.get_contact_info(). Generally used to extract the peer
|
|
* name from a contact information string. It can also be used to
|
|
* extract the contact URI strings, although this is slightly less
|
|
* useful as the URIs may be RML componenent specific and not have
|
|
* general meaning.
|
|
*
|
|
* @param[in] contact_info Contact information string for peer
|
|
* @param[out] peer Peer name in contact_info
|
|
* @param[out] uris URI strings for peer. May be NULL if
|
|
* information is not needed
|
|
*
|
|
* @retval ORTE_SUCCESS Information successfully extraced
|
|
* @retval ORTE_ERR_BAD_PARAM The contact_info was not a valid string
|
|
* @retval ORTE_ERROR An unspecified error occurred
|
|
*/
|
|
ORTE_DECLSPEC int orte_rml_base_parse_uris(const char* contact_inf,
|
|
orte_process_name_t* peer,
|
|
char*** uris);
|
|
|
|
END_C_DECLS
|