OpenMPI 0.1.1

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

- File List
- Globals

pls_submit.h
Go to the documentation of this file.
1 /*
2 * Copyright (c) 2004-2007 The University of Tennessee and The University
3 * of Tennessee Research Foundation. All rights
4 * reserved.
5 * Copyright (c) 2004-2008 The Trustees of Indiana University.
6 * All rights reserved.
7 * $COPYRIGHT$
8 *
9 * Additional copyrights may follow
10 *
11 * $HEADER$
12 */
13 /**
14 * @file:
15 * Part of the submit launcher. See plm_submit.h for an overview of how it works.
16 */
17
18 #ifndef ORTE_PLM_SUBMIT_EXPORT_H
19 #define ORTE_PLM_SUBMIT_EXPORT_H
20
21 #include "orte_config.h"
22
23 #include "opal/mca/mca.h"
24 #include "orte/mca/plm/plm.h"
25 #include "opal/threads/condition.h"
26
27 BEGIN_C_DECLS
28
29 /*
30 * Module open / close
31 */
32 int orte_plm_submit_component_open(void);
33 int orte_plm_submit_component_close(void);
34 int orte_plm_submit_component_query(mca_base_module_t **module, int *priority);
35
36 /*
37 * Startup / Shutdown
38 */
39 int orte_plm_submit_finalize(void);
40
41 /*
42 * Interface
43 */
44 int orte_plm_submit_launch(orte_job_t*);
45 int orte_plm_submit_terminate_orteds(void);
46 int orte_plm_submit_signal_job(orte_jobid_t, int32_t);
47
48 /**
49 * PLM Component
50 */
51 struct orte_plm_submit_component_t {
52 orte_plm_base_component_t super;
53 bool debug;
54 bool debug_daemons;
55 bool timing;
56 int delay;
57 int priority;
58 char *agent_param;
59 char** agent_argv;
60 int agent_argc;
61 char* agent_path;
62 char* orted;
63 orte_std_cntr_t num_children;
64 orte_std_cntr_t num_concurrent;
65 opal_mutex_t lock;
66 opal_condition_t cond;
67 };
68 typedef struct orte_plm_submit_component_t orte_plm_submit_component_t;
69
70 ORTE_MODULE_DECLSPEC extern orte_plm_submit_component_t mca_plm_submit_component;
71 extern orte_plm_base_module_t orte_plm_submit_module;
72
73 END_C_DECLS
74
75 #endif /* ORTE_PLM_SUBMIT_EXPORT_H */
mca_base_module_2_0_0_t
Common type for all MCA modules.
Definition: mca.h:100
opal_condition_t
Definition: condition.h:49
orte_jobid_t
uint32_t orte_jobid_t
Set the allowed range for ids in each space.
Definition: types.h:76
orte_std_cntr_t
int32_t orte_std_cntr_t
Supported datatypes for messaging and storage operations.
Definition: types.h:34
opal_mutex_t
Definition: mutex_unix.h:53
mca.h
Top-level interface for all MCA components.
orte_plm_submit_launch
int orte_plm_submit_launch(orte_job_t *)
Launch a daemon (bootproxy) on each node.
Definition: pls_submit_module.c:330
plm.h
The Process Lifecycle Management (PLM) subsystem serves as the central switchyard for all process man...
orte_plm_base_component_2_0_0_t
plm component
Definition: plm.h:122
orte_plm_submit_terminate_orteds
int orte_plm_submit_terminate_orteds(void)
Terminate the orteds for a given job.
Definition: pls_submit_module.c:935
orte_job_t
Definition: orte_globals.h:316
orte_plm_submit_component_t
PLM Component.
Definition: pls_submit.h:51
orte_plm_base_module_1_0_0_t
plm module version 1.0.0
Definition: plm.h:101