Skip to content

Commit 93ff4ce

Browse files
author
rhc54
committed
Merge pull request #1731 from rhc54/topic/timeout
Provide ETIMEDOUT as the mpirun exit code if the timeout limit was hit
2 parents 1bbc5fa + 0cd0ccb commit 93ff4ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

orte/orted/orted_submit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2911,7 +2911,7 @@ void orte_timeout_wakeup(int sd, short args, void *cbdata)
29112911
*/
29122912
orte_show_help("help-orterun.txt", "orterun:timeout",
29132913
true, timeout_seconds);
2914-
ORTE_UPDATE_EXIT_STATUS(ORTE_ERROR_DEFAULT_EXIT_CODE);
2914+
ORTE_UPDATE_EXIT_STATUS(ETIMEDOUT);
29152915
/* if we are testing HNP suicide, then just exit */
29162916
if (ORTE_PROC_IS_HNP &&
29172917
NULL != getenv("ORTE_TEST_HNP_SUICIDE")) {

0 commit comments

Comments
 (0)