When routing is not enabled, all routes must go direct
This commit was SVN r25656.
Этот коммит содержится в:
родитель
a309c53bf2
Коммит
1adefcc176
@ -325,6 +325,11 @@ static orte_process_name_t get_route(orte_process_name_t *target)
|
|||||||
orte_routed_jobfam_t *jfam;
|
orte_routed_jobfam_t *jfam;
|
||||||
uint16_t jfamily;
|
uint16_t jfamily;
|
||||||
|
|
||||||
|
if (!orte_routing_is_enabled) {
|
||||||
|
ret = target;
|
||||||
|
goto found;
|
||||||
|
}
|
||||||
|
|
||||||
/* initialize */
|
/* initialize */
|
||||||
daemon.jobid = ORTE_PROC_MY_DAEMON->jobid;
|
daemon.jobid = ORTE_PROC_MY_DAEMON->jobid;
|
||||||
daemon.vpid = ORTE_PROC_MY_DAEMON->vpid;
|
daemon.vpid = ORTE_PROC_MY_DAEMON->vpid;
|
||||||
|
@ -302,6 +302,11 @@ static orte_process_name_t get_route(orte_process_name_t *target)
|
|||||||
orte_routed_jobfam_t *jfam;
|
orte_routed_jobfam_t *jfam;
|
||||||
uint16_t jfamily;
|
uint16_t jfamily;
|
||||||
|
|
||||||
|
if (!orte_routing_is_enabled) {
|
||||||
|
ret = target;
|
||||||
|
goto found;
|
||||||
|
}
|
||||||
|
|
||||||
#if ORTE_ENABLE_EPOCH
|
#if ORTE_ENABLE_EPOCH
|
||||||
if (target->jobid == ORTE_JOBID_INVALID ||
|
if (target->jobid == ORTE_JOBID_INVALID ||
|
||||||
target->vpid == ORTE_VPID_INVALID ||
|
target->vpid == ORTE_VPID_INVALID ||
|
||||||
|
@ -306,6 +306,11 @@ static orte_process_name_t get_route(orte_process_name_t *target)
|
|||||||
orte_routed_jobfam_t *jfam;
|
orte_routed_jobfam_t *jfam;
|
||||||
uint16_t jfamily;
|
uint16_t jfamily;
|
||||||
|
|
||||||
|
if (!orte_routing_is_enabled) {
|
||||||
|
ret = target;
|
||||||
|
goto found;
|
||||||
|
}
|
||||||
|
|
||||||
#if ORTE_ENABLE_EPOCH
|
#if ORTE_ENABLE_EPOCH
|
||||||
if (target->jobid == ORTE_JOBID_INVALID ||
|
if (target->jobid == ORTE_JOBID_INVALID ||
|
||||||
target->vpid == ORTE_VPID_INVALID ||
|
target->vpid == ORTE_VPID_INVALID ||
|
||||||
|
@ -321,6 +321,11 @@ static orte_process_name_t get_route(orte_process_name_t *target)
|
|||||||
orte_routed_jobfam_t *jfam;
|
orte_routed_jobfam_t *jfam;
|
||||||
uint16_t jfamily;
|
uint16_t jfamily;
|
||||||
|
|
||||||
|
if (!orte_routing_is_enabled) {
|
||||||
|
ret = target;
|
||||||
|
goto found;
|
||||||
|
}
|
||||||
|
|
||||||
/* initialize */
|
/* initialize */
|
||||||
daemon.jobid = ORTE_PROC_MY_DAEMON->jobid;
|
daemon.jobid = ORTE_PROC_MY_DAEMON->jobid;
|
||||||
daemon.vpid = ORTE_PROC_MY_DAEMON->vpid;
|
daemon.vpid = ORTE_PROC_MY_DAEMON->vpid;
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user