OpenMPI  0.1.1
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  */
34  opal_crs_base_component_t super; /** Base CRS component */
35 
36  };
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,
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 */
Definition: crs_none.h:33
Common type for all MCA modules.
Definition: mca.h:100
Top-level interface for all MCA components.
Structure for Single process snapshot Each component is assumed to have extened this definition in th...
Definition: crs.h:107
Structure for CRS components.
Definition: crs.h:248
Checkpoint and Restart Service (CRS) Interface.
opal_crs_state_type_t
States of the module.
Definition: crs.h:60