1
1

Merge pull request #1731 from rhc54/topic/timeout

Provide ETIMEDOUT as the mpirun exit code if the timeout limit was hit
Этот коммит содержится в:
rhc54 2016-05-31 08:41:21 -07:00
родитель 1bbc5fadee 0cd0ccb7fd
Коммит 93ff4ce36d

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

@ -2911,7 +2911,7 @@ void orte_timeout_wakeup(int sd, short args, void *cbdata)
*/
orte_show_help("help-orterun.txt", "orterun:timeout",
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 (ORTE_PROC_IS_HNP &&
NULL != getenv("ORTE_TEST_HNP_SUICIDE")) {