OpenMPI 0.1.1

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

- File List
- Globals

crs_none.h
Go to the documentation of this file.
1 /*
2 * Copyright (c) 2004-2009 The Trustees of Indiana University.
3 * All rights reserved.
4 * $COPYRIGHT$
5 *
6 * Additional copyrights may follow
7 *
8 * $HEADER$
9 */
10
11 /**
12 * @file
13 *
14 * NONE CRS component
15 *
16 * Simple, braindead implementation.
17 */
18
19 #ifndef MCA_CRS_NONE_EXPORT_H
20 #define MCA_CRS_NONE_EXPORT_H
21
22 #include "opal_config.h"
23
24
25 #include "opal/mca/mca.h"
26 #include "opal/mca/crs/crs.h"
27
28 BEGIN_C_DECLS
29
30 /*
31 * Local Component structures
32 */
33 struct opal_crs_none_component_t {
34 opal_crs_base_component_t super; /** Base CRS component */
35
36 };
37 typedef struct opal_crs_none_component_t opal_crs_none_component_t;
38 OPAL_MODULE_DECLSPEC extern opal_crs_none_component_t mca_crs_none_component;
39
40 int opal_crs_none_component_query(mca_base_module_t **module, int *priority);
41
42 /*
43 * Module functions
44 */
45 int opal_crs_none_module_init(void);
46 int opal_crs_none_module_finalize(void);
47
48 /*
49 * Actual funcationality
50 */
51 int opal_crs_none_checkpoint( pid_t pid,
52 opal_crs_base_snapshot_t *snapshot,
53 opal_crs_base_ckpt_options_t *options,
54 opal_crs_state_type_t *state);
55
56 int opal_crs_none_restart( opal_crs_base_snapshot_t *snapshot, bool spawn_child, pid_t *child_pid);
57
58 int opal_crs_none_disable_checkpoint(void);
59 int opal_crs_none_enable_checkpoint(void);
60
61 int opal_crs_none_prelaunch(int32_t rank,
62 char *base_snapshot_dir,
63 char **app,
64 char **cwd,
65 char ***argv,
66 char ***env);
67
68 int opal_crs_none_reg_thread(void);
69
70 extern bool opal_crs_none_select_warning;
71
72 END_C_DECLS
73
74 #endif /* MCA_CRS_NONE_EXPORT_H */
opal_crs_none_component_t
Definition: crs_none.h:33
mca_base_module_2_0_0_t
Common type for all MCA modules.
Definition: mca.h:100
mca.h
Top-level interface for all MCA components.
opal_crs_base_snapshot_1_0_0_t
Structure for Single process snapshot Each component is assumed to have extened this definition in th...
Definition: crs.h:107
opal_crs_base_component_2_0_0_t
Structure for CRS components.
Definition: crs.h:248
opal_crs_base_ckpt_options_1_0_0_t
Definition: crs.h:76
crs.h
Checkpoint and Restart Service (CRS) Interface.
opal_crs_state_type_t
opal_crs_state_type_t
States of the module.
Definition: crs.h:60