Don't drop a core file when we abort due to a lost connection
This commit was SVN r23199.
Этот коммит содержится в:
родитель
befc0b590b
Коммит
7c43d6c0f5
@ -124,8 +124,12 @@ int orte_errmgr_base_abort(int error_code, char *fmt, ...)
|
|||||||
orte_session_dir_finalize(ORTE_PROC_MY_NAME);
|
orte_session_dir_finalize(ORTE_PROC_MY_NAME);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* abnormal exit */
|
/* if a critical connection failed, exit without dropping a core */
|
||||||
orte_ess.abort(error_code, true);
|
if (ORTE_ERR_CONNECTION_FAILED == error_code) {
|
||||||
|
orte_ess.abort(error_code, false);
|
||||||
|
} else {
|
||||||
|
orte_ess.abort(error_code, true);
|
||||||
|
}
|
||||||
|
|
||||||
return ORTE_SUCCESS;
|
return ORTE_SUCCESS;
|
||||||
}
|
}
|
||||||
|
@ -609,7 +609,7 @@ void mca_oob_tcp_peer_close(mca_oob_tcp_peer_t* peer)
|
|||||||
* tcp OOB
|
* tcp OOB
|
||||||
*/
|
*/
|
||||||
OPAL_THREAD_UNLOCK(&peer->peer_lock);
|
OPAL_THREAD_UNLOCK(&peer->peer_lock);
|
||||||
orte_errmgr.abort(1, NULL);
|
orte_errmgr.abort(ORTE_ERR_CONNECTION_FAILED, NULL);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user