Garrr...ensure we accurately know when to update the contact info so we don't do it incorrectly as procs terminate, thus causing the system to think that perfectly good apps are incorrectly terminating.
Thanks to George for pointing out the problem This commit was SVN r22332.
Этот коммит содержится в:
родитель
db2cbd3166
Коммит
aaf1119f40
@ -2074,10 +2074,14 @@ static bool all_children_registered(orte_jobid_t job)
|
||||
if (!child->init_recvd) {
|
||||
return false;
|
||||
}
|
||||
/* if this child has registered a finalize, return false */
|
||||
if (child->fini_recvd) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* if we get here, then everyone in the job is registered */
|
||||
/* if we get here, then everyone in the job is currently registered */
|
||||
return true;
|
||||
|
||||
}
|
||||
@ -2716,6 +2720,8 @@ GOTCHILD:
|
||||
|
||||
goto MOVEON;
|
||||
}
|
||||
/* if we did recv a finalize sync, then it terminated normally */
|
||||
child->state = ORTE_PROC_STATE_TERMINATED;
|
||||
} else {
|
||||
/* has any child in this job already registered? */
|
||||
for (item = opal_list_get_first(&orte_local_children);
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user