14
14
* All rights reserved.
15
15
* Copyright (c) 2009-2015 Cisco Systems, Inc. All rights reserved.
16
16
* 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.
18
18
* Copyright (c) 2014 NVIDIA Corporation. All rights reserved.
19
19
* $COPYRIGHT$
20
20
*
@@ -80,7 +80,7 @@ static void component_shutdown(void);
80
80
static int component_send (orte_rml_send_t * msg );
81
81
static char * component_get_addr (void );
82
82
static 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 );
84
84
#if OPAL_ENABLE_FT_CR == 1
85
85
static int component_ft_event (int state );
86
86
#endif
@@ -193,15 +193,14 @@ static int component_send(orte_rml_send_t *msg)
193
193
194
194
static char * component_get_addr (void )
195
195
{
196
- int len ;
197
196
char hn [OPAL_MAXHOSTNAMELEN ], * cptr ;
198
197
199
198
/*
200
199
* TODO: for aries want to plug in GNI addr here instead to
201
200
* eventually be able to support connect/accept using aprun.
202
201
*/
203
202
204
- len = gethostname (hn , sizeof (hn ));
203
+ gethostname (hn , sizeof (hn ));
205
204
206
205
asprintf (& cptr , "gni://%s:%d" , hn , getpid ());
207
206
@@ -220,7 +219,7 @@ static int component_set_addr(orte_process_name_t *peer,
220
219
return ORTE_ERR_NOT_SUPPORTED ;
221
220
}
222
221
223
- static bool component_is_reachable (orte_process_name_t * peer )
222
+ static bool component_is_reachable (char * routed , orte_process_name_t * peer )
224
223
{
225
224
opal_output_verbose (10 , orte_oob_base_framework .framework_output ,
226
225
"%s oob:alps: component_set_addr invoked - this should not be happening" ,
0 commit comments