File indexing completed on 2025-02-22 10:47:30
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034 #ifndef PRTE_PLM_H
0035 #define PRTE_PLM_H
0036
0037
0038
0039
0040
0041 #include "prte_config.h"
0042 #include "types.h"
0043
0044 #include "src/class/pmix_pointer_array.h"
0045 #include "src/mca/mca.h"
0046 #include "src/pmix/pmix-internal.h"
0047 #include "src/runtime/prte_globals.h"
0048
0049 #include "plm_types.h"
0050
0051 BEGIN_C_DECLS
0052
0053
0054
0055
0056
0057
0058
0059
0060 typedef int (*prte_plm_base_module_init_fn_t)(void);
0061
0062
0063
0064
0065 typedef int (*prte_plm_base_module_spawn_fn_t)(prte_job_t *jdata);
0066
0067
0068
0069
0070 typedef int (*prte_plm_base_module_remote_spawn_fn_t)(void);
0071
0072
0073
0074
0075 typedef int (*prte_plm_base_module_set_hnp_name_fn_t)(void);
0076
0077
0078
0079
0080
0081 typedef int (*prte_plm_base_module_finalize_fn_t)(void);
0082
0083
0084
0085
0086
0087 typedef int (*prte_plm_base_module_terminate_job_fn_t)(pmix_nspace_t);
0088
0089
0090
0091
0092 typedef int (*prte_plm_base_module_terminate_orteds_fn_t)(void);
0093
0094
0095
0096
0097 typedef int (*prte_plm_base_module_terminate_procs_fn_t)(pmix_pointer_array_t *procs);
0098
0099
0100
0101
0102
0103 typedef int (*prte_plm_base_module_signal_job_fn_t)(pmix_nspace_t, int32_t);
0104
0105
0106
0107
0108 struct prte_plm_base_module_1_0_0_t {
0109 prte_plm_base_module_init_fn_t init;
0110 prte_plm_base_module_set_hnp_name_fn_t set_hnp_name;
0111 prte_plm_base_module_spawn_fn_t spawn;
0112 prte_plm_base_module_remote_spawn_fn_t remote_spawn;
0113 prte_plm_base_module_terminate_job_fn_t terminate_job;
0114 prte_plm_base_module_terminate_orteds_fn_t terminate_orteds;
0115 prte_plm_base_module_terminate_procs_fn_t terminate_procs;
0116 prte_plm_base_module_signal_job_fn_t signal_job;
0117 prte_plm_base_module_finalize_fn_t finalize;
0118 };
0119
0120
0121 typedef struct prte_plm_base_module_1_0_0_t prte_plm_base_module_1_0_0_t;
0122
0123 typedef struct prte_plm_base_module_1_0_0_t prte_plm_base_module_t;
0124
0125
0126
0127
0128 typedef pmix_mca_base_component_t prte_plm_base_component_t;
0129
0130
0131
0132
0133 #define PRTE_PLM_BASE_VERSION_2_0_0 PRTE_MCA_BASE_VERSION_3_0_0("plm", 2, 0, 0)
0134
0135
0136 PRTE_EXPORT extern prte_plm_base_module_t prte_plm;
0137
0138 END_C_DECLS
0139
0140 #endif