From 0cd0ccb7fd0925a0cbb7746d35396b3cb775be6e Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Tue, 31 May 2016 07:45:31 -0700 Subject: [PATCH] Provide ETIMEDOUT as the mpirun exit code if the timeout limit was hit --- orte/orted/orted_submit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orte/orted/orted_submit.c b/orte/orted/orted_submit.c index e55994fc59..d490082a43 100644 --- a/orte/orted/orted_submit.c +++ b/orte/orted/orted_submit.c @@ -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")) {