1
1

Merge pull request #3676 from rhc54/topic/orted

Ensure the orted doesn't go into an infinite loop during force-terminate
Этот коммит содержится в:
Ralph Castain 2017-06-08 05:51:20 -07:00 коммит произвёл GitHub
родитель 7002535059 81ab79f311
Коммит 20166460c7

Просмотреть файл

@ -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) {