File: crs_none.h

package info (click to toggle)
openmpi 3.1.3-11
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 118,572 kB
  • sloc: ansic: 628,972; f90: 17,993; makefile: 13,761; sh: 7,051; java: 6,360; perl: 3,215; cpp: 2,225; python: 1,350; lex: 988; fortran: 52; tcl: 12
file content (74 lines) | stat: -rw-r--r-- 1,881 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
/*
 * Copyright (c) 2004-2009 The Trustees of Indiana University.
 *                         All rights reserved.
 * $COPYRIGHT$
 *
 * Additional copyrights may follow
 *
 * $HEADER$
 */

/**
 * @file
 *
 * NONE CRS component
 *
 * Simple, braindead implementation.
 */

#ifndef MCA_CRS_NONE_EXPORT_H
#define MCA_CRS_NONE_EXPORT_H

#include "opal_config.h"


#include "opal/mca/mca.h"
#include "opal/mca/crs/crs.h"

BEGIN_C_DECLS

    /*
     * Local Component structures
     */
    struct opal_crs_none_component_t {
        opal_crs_base_component_t super;  /** Base CRS component */

    };
    typedef struct opal_crs_none_component_t opal_crs_none_component_t;
    OPAL_MODULE_DECLSPEC extern opal_crs_none_component_t mca_crs_none_component;

    int opal_crs_none_component_query(mca_base_module_t **module, int *priority);

    /*
     * Module functions
     */
    int opal_crs_none_module_init(void);
    int opal_crs_none_module_finalize(void);

    /*
     * Actual funcationality
     */
    int opal_crs_none_checkpoint( pid_t pid,
                                  opal_crs_base_snapshot_t *snapshot,
                                  opal_crs_base_ckpt_options_t *options,
                                  opal_crs_state_type_t *state);

    int opal_crs_none_restart(    opal_crs_base_snapshot_t *snapshot, bool spawn_child, pid_t *child_pid);

    int opal_crs_none_disable_checkpoint(void);
    int opal_crs_none_enable_checkpoint(void);

    int opal_crs_none_prelaunch(int32_t rank,
                                char *base_snapshot_dir,
                                char **app,
                                char **cwd,
                                char ***argv,
                                char ***env);

    int opal_crs_none_reg_thread(void);

    extern bool opal_crs_none_select_warning;

END_C_DECLS

#endif /* MCA_CRS_NONE_EXPORT_H */