OpenMPI 0.1.1

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

- File List
- Globals

plm_rsh.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-2009 The University of Tennessee and The University
6 * of Tennessee Research Foundation. All rights
7 * reserved.
8 * Copyright (c) 2004-2005 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 (c) 2008 Sun Microsystems, Inc. All rights reserved.
13 * Copyright (c) 2011 IBM Corporation. All rights reserved.
14 * $COPYRIGHT$
15 *
16 * Additional copyrights may follow
17 *
18 * $HEADER$
19 */
20 /**
21 * @file:
22 * Part of the rsh launcher. See plm_rsh.h for an overview of how it works.
23 */
24
25 #ifndef ORTE_PLM_RSH_EXPORT_H
26 #define ORTE_PLM_RSH_EXPORT_H
27
28 #include "orte_config.h"
29
30 #ifdef HAVE_SYS_TIME_H
31 #include <sys/time.h>
32 #endif
33 #if HAVE_TIME_H
34 #include <time.h>
35 #endif
36
37 #include "opal/threads/condition.h"
38 #include "opal/mca/mca.h"
39
40 #include "orte/mca/plm/plm.h"
41
42 BEGIN_C_DECLS
43
44 /**
45 * PLS Component
46 */
47 struct orte_plm_rsh_component_t {
48 orte_plm_base_component_t super;
49 bool force_rsh;
50 bool disable_qrsh;
51 bool using_qrsh;
52 bool daemonize_qrsh;
53 bool disable_llspawn;
54 bool using_llspawn;
55 bool daemonize_llspawn;
56 struct timespec delay;
57 int priority;
58 bool tree_spawn;
59 size_t num_concurrent;
60 opal_mutex_t lock;
61 opal_condition_t cond;
62 char *agent;
63 bool assume_same_shell;
64 bool pass_environ_mca_params;
65 };
66 typedef struct orte_plm_rsh_component_t orte_plm_rsh_component_t;
67
68 ORTE_MODULE_DECLSPEC extern orte_plm_rsh_component_t mca_plm_rsh_component;
69 extern orte_plm_base_module_t orte_plm_rsh_module;
70
71 ORTE_MODULE_DECLSPEC char **orte_plm_rsh_search(const char* agent_list, const char *path);
72
73 END_C_DECLS
74
75 #endif /* ORTE_PLS_RSH_EXPORT_H */
orte_plm_rsh_component_t
PLS Component.
Definition: plm_rsh.h:47
opal_condition_t
Definition: condition.h:49
opal_mutex_t
Definition: mutex_unix.h:53
mca.h
Top-level interface for all MCA components.
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
timespec
Definition: ompi_time.h:160
orte_plm_base_module_1_0_0_t
plm module version 1.0.0
Definition: plm.h:101