use the existing pretty-print function for information about the job state
This commit was SVN r31020.
Этот коммит содержится в:
родитель
7869402f5f
Коммит
8d40cd53ae
@ -22,6 +22,9 @@
|
||||
#include "orte/mca/rml/rml.h"
|
||||
|
||||
#include "orte/mca/oob/base/base.h"
|
||||
#if OPAL_ENABLE_FT_CR == 1
|
||||
#include "orte/mca/state/base/base.h"
|
||||
#endif
|
||||
|
||||
static void process_uri(char *uri);
|
||||
|
||||
@ -388,8 +391,9 @@ void orte_oob_base_ft_event(int sd, short argc, void *cbdata)
|
||||
orte_state_caddy_t *state = (orte_state_caddy_t*)cbdata;
|
||||
|
||||
opal_output_verbose(5, orte_oob_base_framework.framework_output,
|
||||
"%s oob:base:ft_event %d",
|
||||
"%s oob:base:ft_event %s(%d)",
|
||||
ORTE_NAME_PRINT(ORTE_PROC_MY_NAME),
|
||||
orte_job_state_to_str(state->job_state),
|
||||
state->job_state);
|
||||
|
||||
/* loop across all available modules in priority order
|
||||
|
@ -298,6 +298,12 @@ const char *orte_job_state_to_str(orte_job_state_t state)
|
||||
return "REPORT PROGRESS";
|
||||
case ORTE_JOB_STATE_ALLOC_FAILED:
|
||||
return "ALLOCATION FAILED";
|
||||
case ORTE_JOB_STATE_FT_CHECKPOINT:
|
||||
return "FAULT TOLERANCE CHECKPOINT";
|
||||
case ORTE_JOB_STATE_FT_CONTINUE:
|
||||
return "FAULT TOLERANCE CONTINUE";
|
||||
case ORTE_JOB_STATE_FT_RESTART:
|
||||
return "FAULT TOLERANCE RESTART";
|
||||
case ORTE_JOB_STATE_ANY:
|
||||
return "ANY";
|
||||
default:
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user