Ensure the orted doesn't go into an infinite loop during force-terminate
Signed-off-by: Ralph Castain <rhc@open-mpi.org>
Этот коммит содержится в:
родитель
7002535059
Коммит
81ab79f311
@ -138,6 +138,14 @@ static void orted_abort(int error_code, char *fmt, ...)
|
|||||||
orte_timer_t *timer;
|
orte_timer_t *timer;
|
||||||
int rc;
|
int rc;
|
||||||
|
|
||||||
|
/* only do this once */
|
||||||
|
if (orte_abnormal_term_ordered) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* set the aborting flag */
|
||||||
|
orte_abnormal_term_ordered = true;
|
||||||
|
|
||||||
/* If there was a message, construct it */
|
/* If there was a message, construct it */
|
||||||
va_start(arglist, fmt);
|
va_start(arglist, fmt);
|
||||||
if (NULL != fmt) {
|
if (NULL != fmt) {
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user