OpenMPI
0.1.1
|
Checkpoint functionality for Open MPI. More...
#include "opal_config.h"
#include "opal/mca/crs/crs.h"
#include "opal/mca/event/event.h"
#include "opal/util/output.h"
#include "opal/prefetch.h"
Go to the source code of this file.
Typedefs | |
typedef enum opal_cr_ckpt_cmd_state_t | opal_cr_ckpt_cmd_state_t |
typedef int(* | opal_cr_notify_callback_fn_t )(opal_cr_ckpt_cmd_state_t) |
A function to respond to the async checkpoint request this is useful when figuring out who should respond when stalling. | |
typedef int(* | opal_cr_user_inc_callback_fn_t )(opal_cr_user_inc_callback_event_t event, opal_cr_user_inc_callback_state_t state) |
User coordination callback routine. | |
typedef int(* | opal_cr_coord_callback_fn_t )(int) |
Coordination callback routine signature. | |
Functions | |
OPAL_DECLSPEC int | opal_cr_refresh_environ (int prev_pid) |
OPAL_DECLSPEC int | opal_cr_set_enabled (bool) |
OPAL_DECLSPEC int | opal_cr_init (void) |
Initialize the notification and coordination elements. | |
OPAL_DECLSPEC int | opal_cr_finalize (void) |
Finalize the notification and coordination elements. | |
OPAL_DECLSPEC void | opal_cr_test_if_checkpoint_ready (void) |
OPAL_DECLSPEC int | opal_cr_reg_notify_callback (opal_cr_notify_callback_fn_t new_func, opal_cr_notify_callback_fn_t *prev_func) |
OPAL_DECLSPEC int | opal_cr_inc_core (pid_t pid, opal_crs_base_snapshot_t *snapshot, opal_crs_base_ckpt_options_t *options, int *state) |
Function to go through the INC. More... | |
OPAL_DECLSPEC int | opal_cr_inc_core_prep (void) |
OPAL_DECLSPEC int | opal_cr_inc_core_ckpt (pid_t pid, opal_crs_base_snapshot_t *snapshot, opal_crs_base_ckpt_options_t *options, int *state) |
OPAL_DECLSPEC int | opal_cr_inc_core_recover (int state) |
OPAL_DECLSPEC int | opal_cr_user_inc_register_callback (opal_cr_user_inc_callback_event_t event, opal_cr_user_inc_callback_fn_t function, opal_cr_user_inc_callback_fn_t *prev_function) |
OPAL_DECLSPEC int | trigger_user_inc_callback (opal_cr_user_inc_callback_event_t event, opal_cr_user_inc_callback_state_t state) |
OPAL_DECLSPEC int | opal_cr_reg_coord_callback (opal_cr_coord_callback_fn_t new_func, opal_cr_coord_callback_fn_t *prev_func) |
Register a checkpoint coodination routine for a higher level. | |
OPAL_DECLSPEC int | opal_cr_coord (int state) |
OPAL Checkpoint Coordination Routine. More... | |
OPAL_DECLSPEC void | opal_cr_set_time (int idx) |
Checkpoint life-cycle timing. | |
OPAL_DECLSPEC void | opal_cr_display_all_timers (void) |
OPAL_DECLSPEC void | opal_cr_clear_timers (void) |
Checkpoint functionality for Open MPI.
#define OPAL_CR_CLEAR_TIMERS | ( | ) |
#define OPAL_CR_DISPLAY_ALL_TIMERS | ( | ) |
#define OPAL_CR_SET_TIMER | ( | idx | ) |
OPAL_DECLSPEC int opal_cr_coord | ( | int | state | ) |
OPAL Checkpoint Coordination Routine.
OPAL Checkpoint Coordination Routine.
Referenced by opal_cr_init().
OPAL_DECLSPEC int opal_cr_inc_core | ( | pid_t | pid, |
opal_crs_base_snapshot_t * | snapshot, | ||
opal_crs_base_ckpt_options_t * | options, | ||
int * | state | ||
) |
Function to go through the INC.