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 #ifndef ORTE_PLM_RSH_EXPORT_H
29 #define ORTE_PLM_RSH_EXPORT_H
30
31 #include "orte_config.h"
32
33 #ifdef HAVE_SYS_TIME_H
34 #include <sys/time.h>
35 #endif
36 #include <time.h>
37
38 #include "opal/threads/condition.h"
39 #include "orte/mca/mca.h"
40
41 #include "orte/mca/plm/plm.h"
42 #include "orte/mca/plm/base/base.h"
43
44 BEGIN_C_DECLS
45
46
47
48
49 struct orte_plm_rsh_component_t {
50 orte_plm_base_component_t super;
51 bool force_rsh;
52 bool disable_qrsh;
53 bool using_qrsh;
54 bool daemonize_qrsh;
55 bool disable_llspawn;
56 bool using_llspawn;
57 bool daemonize_llspawn;
58 struct timespec delay;
59 int priority;
60 bool no_tree_spawn;
61 int num_concurrent;
62 char *agent;
63 char *agent_path;
64 char **agent_argv;
65 bool assume_same_shell;
66 bool pass_environ_mca_params;
67 char *ssh_args;
68 char *pass_libpath;
69 };
70 typedef struct orte_plm_rsh_component_t orte_plm_rsh_component_t;
71
72 ORTE_MODULE_DECLSPEC extern orte_plm_rsh_component_t mca_plm_rsh_component;
73 extern orte_plm_base_module_t orte_plm_rsh_module;
74
75 ORTE_MODULE_DECLSPEC char **orte_plm_rsh_search(const char* agent_list, const char *path);
76
77 END_C_DECLS
78
79 #endif