Update the FTB notifier
* fix indentation issues * update the name of one of the fault events published to the FTB (per the FTB MPI standard) This commit was SVN r24213.
Этот коммит содержится в:
родитель
ac1853b5d8
Коммит
11ffa854ff
@ -17,7 +17,7 @@ ftb.mpi.openmpi
|
|||||||
|
|
||||||
FTB_MPI_PROCS_DEAD ERROR
|
FTB_MPI_PROCS_DEAD ERROR
|
||||||
FTB_MPI_PROCS_UNREACHABLE ERROR
|
FTB_MPI_PROCS_UNREACHABLE ERROR
|
||||||
FTB_MPI_PROCS_COMM_ERROR WARN
|
FTB_MPI_PROCS_COMM_ERROR WARNING
|
||||||
FTB_MPI_PROCS_MIGRATED INFO
|
FTB_MPI_PROCS_MIGRATED INFO
|
||||||
FTB_MPI_PROCS_MIGRATE_FAIL ERROR
|
FTB_MPI_PROCS_MIGRATE_FAIL ERROR
|
||||||
FTB_MPI_PROCS_CKPTED INFO
|
FTB_MPI_PROCS_CKPTED INFO
|
||||||
|
@ -36,6 +36,9 @@
|
|||||||
|
|
||||||
#include "orte/mca/ess/ess.h"
|
#include "orte/mca/ess/ess.h"
|
||||||
#include "orte/util/show_help.h"
|
#include "orte/util/show_help.h"
|
||||||
|
#include "orte/mca/snapc/snapc.h"
|
||||||
|
#include "orte/mca/snapc/base/base.h"
|
||||||
|
|
||||||
#include "orte/mca/notifier/base/base.h"
|
#include "orte/mca/notifier/base/base.h"
|
||||||
#include "notifier_ftb.h"
|
#include "notifier_ftb.h"
|
||||||
|
|
||||||
@ -118,12 +121,9 @@ static const char* get_ftb_event_severity(orte_notifier_base_severity_t severity
|
|||||||
|
|
||||||
static const char* get_ftb_event_name(int errnum)
|
static const char* get_ftb_event_name(int errnum)
|
||||||
{
|
{
|
||||||
/* If it an OMPI error, translate it to an equivalent FTB event */
|
|
||||||
if (ORTE_SUCCESS > errnum) {
|
|
||||||
switch (errnum) {
|
switch (errnum) {
|
||||||
|
|
||||||
case ORTE_SNAPC_CKPT_STATE_ESTABLISHED:
|
case ORTE_SNAPC_CKPT_STATE_ESTABLISHED:
|
||||||
case ORTE_SNAPC_CKPT_STATE_RECOVERED:
|
|
||||||
return FTB_EVENT(FTB_MPI_PROCS_CKPTED);
|
return FTB_EVENT(FTB_MPI_PROCS_CKPTED);
|
||||||
|
|
||||||
case ORTE_SNAPC_CKPT_STATE_NO_CKPT:
|
case ORTE_SNAPC_CKPT_STATE_NO_CKPT:
|
||||||
@ -141,7 +141,6 @@ static const char* get_ftb_event_name(int errnum)
|
|||||||
default:
|
default:
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user