1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 #ifndef IOF_BASE_SETUP_H_
23 #define IOF_BASE_SETUP_H_
24
25 #include "orte_config.h"
26 #include "orte/types.h"
27
28 #include "orte/mca/iof/base/base.h"
29
30 struct orte_iof_base_io_conf_t {
31 int usepty;
32 bool connect_stdin;
33
34
35 int p_stdin[2];
36 int p_stdout[2];
37 int p_stderr[2];
38 #if OPAL_PMIX_V1
39 int p_internal[2];
40 #endif
41 };
42 typedef struct orte_iof_base_io_conf_t orte_iof_base_io_conf_t;
43
44
45
46
47
48
49
50
51 ORTE_DECLSPEC int orte_iof_base_setup_prefork(orte_iof_base_io_conf_t *opts);
52
53 ORTE_DECLSPEC int orte_iof_base_setup_child(orte_iof_base_io_conf_t *opts,
54 char ***env);
55
56 ORTE_DECLSPEC int orte_iof_base_setup_parent(const orte_process_name_t* name,
57 orte_iof_base_io_conf_t *opts);
58
59
60 ORTE_DECLSPEC int orte_iof_base_setup_output_files(const orte_process_name_t* dst_name,
61 orte_job_t *jobdat,
62 orte_iof_proc_t *proct);
63
64 #endif