Skip to content

Commit 435d771

Browse files
author
Ralph Castain
committed
Fix the radix routed component to correctly handle connected tools - in such cases, the route must be direct to the tool.
Signed-off-by: Ralph Castain <[email protected]>
1 parent 0cd200d commit 435d771

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

orte/mca/routed/radix/routed_radix.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,13 @@ static orte_process_name_t get_route(orte_process_name_t *target)
264264
}
265265
}
266266

267+
/* if the jobid is different than our own, then this the target
268+
* is a tool and we should go direct */
269+
if (ORTE_JOB_FAMILY(target->jobid) != ORTE_JOB_FAMILY(ORTE_PROC_MY_NAME->jobid)) {
270+
ret = target;
271+
goto found;
272+
}
273+
267274
daemon.jobid = ORTE_PROC_MY_NAME->jobid;
268275
/* find out what daemon hosts this proc */
269276
if (ORTE_VPID_INVALID == (daemon.vpid = orte_get_proc_daemon_vpid(target))) {

0 commit comments

Comments
 (0)