OpenMPI  0.1.1
plm_process.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana
3  * University Research and Technology
4  * Corporation. All rights reserved.
5  * Copyright (c) 2004-2006 The University of Tennessee and The University
6  * of Tennessee Research Foundation. All rights
7  * reserved.
8  * Copyright (c) 2004-2009 High Performance Computing Center Stuttgart,
9  * University of Stuttgart. All rights reserved.
10  * Copyright (c) 2004-2005 The Regents of the University of California.
11  * All rights reserved.
12  * $COPYRIGHT$
13  *
14  * Additional copyrights may follow
15  *
16  * $HEADER$
17  */
18 /**
19  * @file:
20  * Part of the process launcher. See plm_process.h for an overview of how it works.
21  */
22 
23 #ifndef ORTE_PLM_PROCESS_EXPORT_H
24 #define ORTE_PLM_PROCESS_EXPORT_H
25 
26 #include "orte_config.h"
27 
28 #ifdef HAVE_SYS_TIME_H
29 #include <sys/time.h>
30 #endif
31 
32 #include "opal/threads/condition.h"
33 #include "opal/mca/mca.h"
34 #include "orte/mca/plm/plm.h"
35 
36 BEGIN_C_DECLS
37 /*
38  * Module open / close
39  */
40 int orte_plm_process_component_open(void);
41 int orte_plm_process_component_close(void);
42 int orte_plm_process_component_query(mca_base_module_t **module, int *priority);
43 
44 /*
45  * Startup / Shutdown
46  */
47 int orte_plm_process_finalize(void);
48 
49 /**
50  * PLM Component
51  */
54  bool debug;
55  bool debug_malloc;
56  bool debug_daemons;
57  bool timing;
58  bool reap;
59  bool assume_same_shell;
60  bool force_process;
61  bool use_gui_prompt;
62  bool remote_reg_prefix;
63  bool remote_env_prefix;
64  int delay;
65  int priority;
66  char* orted;
67  orte_std_cntr_t num_children;
68  orte_std_cntr_t num_concurrent;
69  opal_mutex_t lock;
70  opal_condition_t cond;
71 };
73 
74 ORTE_MODULE_DECLSPEC extern orte_plm_process_component_t mca_plm_process_component;
75 extern orte_plm_base_module_t orte_plm_process_module;
76 
77 END_C_DECLS
78 
79 #endif /* ORTE_PLM_PROCESS_EXPORT_H */
Common type for all MCA modules.
Definition: mca.h:100
Definition: condition.h:49
int32_t orte_std_cntr_t
Supported datatypes for messaging and storage operations.
Definition: types.h:34
Definition: mutex_unix.h:53
Top-level interface for all MCA components.
The Process Lifecycle Management (PLM) subsystem serves as the central switchyard for all process man...
plm component
Definition: plm.h:122
PLM Component.
Definition: plm_process.h:52
plm module version 1.0.0
Definition: plm.h:101