22 #ifndef ORTE_MCA_ODLS_TYPES_H
23 #define ORTE_MCA_ODLS_TYPES_H
25 #include "orte_config.h"
28 #ifdef HAVE_SYS_TIME_H
36 #include "opal/threads/condition.h"
37 #include "opal/mca/hwloc/hwloc.h"
39 #include "orte/mca/plm/plm_types.h"
47 typedef uint8_t orte_daemon_cmd_flag_t;
48 #define ORTE_DAEMON_CMD_T OPAL_UINT8
54 #define ORTE_DAEMON_CONTACT_QUERY_CMD (orte_daemon_cmd_flag_t) 1
55 #define ORTE_DAEMON_KILL_LOCAL_PROCS (orte_daemon_cmd_flag_t) 2
56 #define ORTE_DAEMON_SIGNAL_LOCAL_PROCS (orte_daemon_cmd_flag_t) 3
57 #define ORTE_DAEMON_ADD_LOCAL_PROCS (orte_daemon_cmd_flag_t) 4
58 #define ORTE_DAEMON_TREE_SPAWN (orte_daemon_cmd_flag_t) 5
59 #define ORTE_DAEMON_HEARTBEAT_CMD (orte_daemon_cmd_flag_t) 6
60 #define ORTE_DAEMON_EXIT_CMD (orte_daemon_cmd_flag_t) 7
61 #define ORTE_DAEMON_PROCESS_AND_RELAY_CMD (orte_daemon_cmd_flag_t) 9
62 #define ORTE_DAEMON_MESSAGE_LOCAL_PROCS (orte_daemon_cmd_flag_t) 10
63 #define ORTE_DAEMON_NULL_CMD (orte_daemon_cmd_flag_t) 11
64 #define ORTE_DAEMON_SYNC_BY_PROC (orte_daemon_cmd_flag_t) 12
65 #define ORTE_DAEMON_SYNC_WANT_NIDMAP (orte_daemon_cmd_flag_t) 13
68 #define ORTE_DAEMON_REPORT_JOB_INFO_CMD (orte_daemon_cmd_flag_t) 14
69 #define ORTE_DAEMON_REPORT_NODE_INFO_CMD (orte_daemon_cmd_flag_t) 15
70 #define ORTE_DAEMON_REPORT_PROC_INFO_CMD (orte_daemon_cmd_flag_t) 16
71 #define ORTE_DAEMON_SPAWN_JOB_CMD (orte_daemon_cmd_flag_t) 17
72 #define ORTE_DAEMON_TERMINATE_JOB_CMD (orte_daemon_cmd_flag_t) 18
73 #define ORTE_DAEMON_HALT_VM_CMD (orte_daemon_cmd_flag_t) 19
76 #define ORTE_DAEMON_WAITPID_FIRED (orte_daemon_cmd_flag_t) 20
77 #define ORTE_DAEMON_IOF_COMPLETE (orte_daemon_cmd_flag_t) 21
80 #define ORTE_DAEMON_TOP_CMD (orte_daemon_cmd_flag_t) 22
83 #define ORTE_DAEMON_NAME_REQ_CMD (orte_daemon_cmd_flag_t) 23
84 #define ORTE_DAEMON_CHECKIN_CMD (orte_daemon_cmd_flag_t) 24
85 #define ORTE_TOOL_CHECKIN_CMD (orte_daemon_cmd_flag_t) 25
88 #define ORTE_DAEMON_PROCESS_CMD (orte_daemon_cmd_flag_t) 26
91 #define ORTE_DAEMON_ABORT_CALLED (orte_daemon_cmd_flag_t) 27
93 #define ORTE_DAEMON_ABORT_PROCS_CALLED (orte_daemon_cmd_flag_t) 28
105 orte_app_idx_t app_idx;
108 orte_proc_state_t state;
109 orte_exit_code_t exit_code;
118 struct timeval starttime;
125 #if !ORTE_DISABLE_FULL_SUPPORT
134 orte_job_state_t state;
138 bool launch_msg_processed;
140 orte_app_idx_t num_apps;
142 opal_binding_policy_t binding;
144 int16_t cpus_per_rank;
146 orte_job_controls_t controls;
147 orte_vpid_t stdin_target;
150 orte_vpid_t num_procs;
151 int32_t num_local_procs;
155 orte_grpcomm_coll_t collective_type;
156 int32_t num_contributors;
157 int num_participating;
159 struct timeval launch_msg_recvd;
160 bool enable_recovery;
dynamic pointer array
Definition: opal_pointer_array.h:45
Definition: condition.h:49
Definition: odls_types.h:130
dynamic pointer ring
Definition: opal_ring_buffer.h:38
uint32_t orte_jobid_t
Set the allowed range for ids in each space.
Definition: types.h:76
int32_t orte_std_cntr_t
Supported datatypes for messaging and storage operations.
Definition: types.h:34
Definition: mutex_unix.h:53
The opal_list_t interface is used to provide a generic doubly-linked list container for Open MPI...
Definition: opal_list.h:98
Definition: odls_types.h:100
Global params for OpenRTE.
The OpenRTE Group Communications.
Structure for holding a buffer to be used with the RML or OOB subsystems.
Definition: dss_types.h:159
Definition: dss_types.h:47
Mutual exclusion functions.
#define OBJ_CLASS_DECLARATION(NAME)
Declaration for class descriptor.
Definition: opal_object.h:236