1414 * All rights reserved.
1515 * Copyright (c) 2009-2015 Cisco Systems, Inc. All rights reserved.
1616 * Copyright (c) 2011 Oak Ridge National Labs. All rights reserved.
17- * Copyright (c) 2013-2015 Intel, Inc. All rights reserved.
17+ * Copyright (c) 2013-2017 Intel, Inc. All rights reserved.
1818 * Copyright (c) 2014 NVIDIA Corporation. All rights reserved.
1919 * $COPYRIGHT$
2020 *
@@ -80,7 +80,7 @@ static void component_shutdown(void);
8080static int component_send (orte_rml_send_t * msg );
8181static char * component_get_addr (void );
8282static int component_set_addr (orte_process_name_t * peer , char * * uris );
83- static bool component_is_reachable (orte_process_name_t * peer );
83+ static bool component_is_reachable (char * routed , orte_process_name_t * peer );
8484#if OPAL_ENABLE_FT_CR == 1
8585static int component_ft_event (int state );
8686#endif
@@ -193,15 +193,14 @@ static int component_send(orte_rml_send_t *msg)
193193
194194static char * component_get_addr (void )
195195{
196- int len ;
197196 char hn [OPAL_MAXHOSTNAMELEN ], * cptr ;
198197
199198 /*
200199 * TODO: for aries want to plug in GNI addr here instead to
201200 * eventually be able to support connect/accept using aprun.
202201 */
203202
204- len = gethostname (hn , sizeof (hn ));
203+ gethostname (hn , sizeof (hn ));
205204
206205 asprintf (& cptr , "gni://%s:%d" , hn , getpid ());
207206
@@ -220,7 +219,7 @@ static int component_set_addr(orte_process_name_t *peer,
220219 return ORTE_ERR_NOT_SUPPORTED ;
221220}
222221
223- static bool component_is_reachable (orte_process_name_t * peer )
222+ static bool component_is_reachable (char * routed , orte_process_name_t * peer )
224223{
225224 opal_output_verbose (10 , orte_oob_base_framework .framework_output ,
226225 "%s oob:alps: component_set_addr invoked - this should not be happening" ,
0 commit comments