OpenMPI 0.1.1

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

Macros | Functions | Variables
ompi_cr.c File Reference

OMPI Layer Checkpoint/Restart Runtime functions. More...

`#include "ompi_config.h"`
`#include <errno.h>`
`#include "opal/mca/event/event.h"`
`#include "opal/util/output.h"`
`#include "opal/mca/crs/crs.h"`
`#include "opal/mca/crs/base/base.h"`
`#include "opal/mca/installdirs/installdirs.h"`
`#include "opal/runtime/opal_cr.h"`
`#include "orte/mca/snapc/snapc.h"`
`#include "orte/mca/snapc/base/base.h"`
`#include "ompi/constants.h"`
`#include "ompi/mca/pml/pml.h"`
`#include "ompi/mca/pml/base/base.h"`
`#include "ompi/mca/btl/base/base.h"`
`#include "ompi/mca/crcp/crcp.h"`
`#include "ompi/mca/crcp/base/base.h"`
`#include "ompi/communicator/communicator.h"`
`#include "ompi/runtime/ompi_cr.h"`

## Macros
#define | NUM_COLLECTIVES 16
#define | SIGNAL(comm, modules, highest_module, msg, ret, func)

## Functions
static int | ompi_cr_coord_pre_ckpt (void)
static int | ompi_cr_coord_pre_restart (void)
static int | ompi_cr_coord_pre_continue (void)
static int | ompi_cr_coord_post_ckpt (void)
static int | ompi_cr_coord_post_restart (void)
static int | ompi_cr_coord_post_continue (void)
static int | notify_collectives (int msg)
int | ompi_cr_init (void)
int | ompi_cr_finalize (void)
int | ompi_cr_coord (int state)

## Variables
static opal_cr_coord_callback_fn_t | prev_coord_callback = NULL
int | ompi_cr_output = -1

## Detailed Description

OMPI Layer Checkpoint/Restart Runtime functions.

## Macro Definition Documentation

#define SIGNAL | ( |  | comm,
|  |  | modules,
|  |  | highest_module,
|  |  | msg,
|  |  | ret,
|  |  | func
| ) |  |

Value:
do { \
bool found = false; \
int k; \
mca_coll_base_module_t *my_module = \
comm->c_coll.coll_ ## func ## _module; \
if (NULL != my_module) { \
for (k = 0 ; k < highest_module ; ++k) { \
if (my_module == modules[k]) found = true; \
} \
if (!found) { \
modules[highest_module++] = my_module; \
if (NULL != my_module->ft_event) { \
ret = my_module->ft_event(msg); \
} \
} \
} \
} while (0)
mca_coll_base_module_2_0_0_t::ft_event
mca_coll_base_module_ft_event_fn_t ft_event
Fault tolerance event trigger function.
Definition: coll.h:348
mca_coll_base_module_t
struct mca_coll_base_module_2_0_0_t mca_coll_base_module_t
Per guidence in mca.h, use the unversioned struct name if you just want to always keep up with the mo...
Definition: coll.h:355