Add a new proc state
This commit was SVN r24710.
Этот коммит содержится в:
родитель
b47ec2ee87
Коммит
1f3911cc8b
@ -67,6 +67,7 @@ typedef uint32_t orte_proc_state_t;
|
|||||||
#define ORTE_PROC_STATE_MIGRATING 0x00020000 /* process is migrating */
|
#define ORTE_PROC_STATE_MIGRATING 0x00020000 /* process is migrating */
|
||||||
#define ORTE_PROC_STATE_CANNOT_RESTART 0x00040000 /* process failed and cannot be restarted */
|
#define ORTE_PROC_STATE_CANNOT_RESTART 0x00040000 /* process failed and cannot be restarted */
|
||||||
#define ORTE_PROC_STATE_TERM_NON_ZERO 0x00080000 /* process exited with a non-zero status, indicating abnormal */
|
#define ORTE_PROC_STATE_TERM_NON_ZERO 0x00080000 /* process exited with a non-zero status, indicating abnormal */
|
||||||
|
#define ORTE_PROC_STATE_RESTARTED 0x00100000 /* process restarted */
|
||||||
/*
|
/*
|
||||||
* Job state codes
|
* Job state codes
|
||||||
*/
|
*/
|
||||||
|
@ -270,6 +270,8 @@ const char *orte_proc_state_to_str(orte_proc_state_t state)
|
|||||||
return "CANNOT BE RESTARTED";
|
return "CANNOT BE RESTARTED";
|
||||||
case ORTE_PROC_STATE_TERM_NON_ZERO:
|
case ORTE_PROC_STATE_TERM_NON_ZERO:
|
||||||
return "EXITED WITH NON-ZERO STATUS";
|
return "EXITED WITH NON-ZERO STATUS";
|
||||||
|
case ORTE_PROC_STATE_RESTARTED:
|
||||||
|
return "RESTART DETECTED";
|
||||||
default:
|
default:
|
||||||
return "UNKNOWN STATE!";
|
return "UNKNOWN STATE!";
|
||||||
}
|
}
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user