1
1

Provide ETIMEDOUT as the mpirun exit code if the timeout limit was hit

Этот коммит содержится в:
Ralph Castain 2016-05-31 07:45:31 -07:00
родитель 1bbc5fadee
Коммит 0cd0ccb7fd

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

@ -2911,7 +2911,7 @@ void orte_timeout_wakeup(int sd, short args, void *cbdata)
*/ */
orte_show_help("help-orterun.txt", "orterun:timeout", orte_show_help("help-orterun.txt", "orterun:timeout",
true, timeout_seconds); true, timeout_seconds);
ORTE_UPDATE_EXIT_STATUS(ORTE_ERROR_DEFAULT_EXIT_CODE); ORTE_UPDATE_EXIT_STATUS(ETIMEDOUT);
/* if we are testing HNP suicide, then just exit */ /* if we are testing HNP suicide, then just exit */
if (ORTE_PROC_IS_HNP && if (ORTE_PROC_IS_HNP &&
NULL != getenv("ORTE_TEST_HNP_SUICIDE")) { NULL != getenv("ORTE_TEST_HNP_SUICIDE")) {