You have to initialize th daemon param -before- using it to get epoch!!
This commit was SVN r24926.
Этот коммит содержится в:
родитель
361bcef253
Коммит
869024f1c6
@ -312,6 +312,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;
|
||||||
|
|
||||||
|
/* initialize */
|
||||||
|
daemon.jobid = ORTE_PROC_MY_DAEMON->jobid;
|
||||||
|
daemon.vpid = ORTE_PROC_MY_DAEMON->vpid;
|
||||||
|
daemon.epoch = ORTE_PROC_MY_DAEMON->epoch;
|
||||||
|
|
||||||
if (target->jobid == ORTE_JOBID_INVALID ||
|
if (target->jobid == ORTE_JOBID_INVALID ||
|
||||||
target->vpid == ORTE_VPID_INVALID ||
|
target->vpid == ORTE_VPID_INVALID ||
|
||||||
target->epoch == ORTE_EPOCH_INVALID) {
|
target->epoch == ORTE_EPOCH_INVALID) {
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user