23 #ifndef ORTE_MCA_RMAPS_BASE_H
24 #define ORTE_MCA_RMAPS_BASE_H
29 #include "orte_config.h"
46 #if !ORTE_DISABLE_FULL_SUPPORT
71 orte_mapping_policy_t mapping;
72 orte_ranking_policy_t ranking;
91 ORTE_DECLSPEC
int orte_rmaps_base_select(
void);
98 orte_vpid_t *start, orte_vpid_t *range);
99 ORTE_DECLSPEC
int orte_rmaps_base_set_vpid_range(
orte_jobid_t jobid,
100 orte_vpid_t start, orte_vpid_t range);
103 ORTE_DECLSPEC
char* orte_rmaps_base_print_mapping(orte_mapping_policy_t mapping);
104 ORTE_DECLSPEC
char* orte_rmaps_base_print_ranking(orte_ranking_policy_t ranking);
Information about a specific application to be launched in the RTE.
Definition: orte_globals.h:196
Common type for all MCA components.
Definition: mca.h:250
ORTE_DECLSPEC int orte_rmaps_base_filter_nodes(orte_app_context_t *app, opal_list_t *nodes, bool remove)
Definition: rmaps_base_support_fns.c:52
The Open RTE Resource MAPping Subsystem (RMAPS)
uint32_t orte_jobid_t
Set the allowed range for ids in each space.
Definition: types.h:76
ORTE_DECLSPEC int orte_rmaps_base_close(void)
Close down the rmaps framework.
Definition: rmaps_base_close.c:29
The opal_list_t interface is used to provide a generic doubly-linked list container for Open MPI...
int rmaps_output
Verbose/debug output stream.
Definition: base.h:57
Top-level interface for all MCA components.
Definition: opal_list.h:98
ORTE_DECLSPEC orte_rmaps_base_t orte_rmaps_base
Global instance of rmaps-wide framework data.
Definition: rmaps_base_open.c:69
opal_list_t available_components
List of available components.
Definition: base.h:59
ORTE_DECLSPEC OBJ_CLASS_DECLARATION(mca_oob_base_info_t)
declare the association structure as a class
BEGIN_C_DECLS ORTE_DECLSPEC int orte_rmaps_base_open(void)
Open the rmaps framework.
Definition: rmaps_base_open.c:83
Select an rmaps component / module.
Definition: base.h:83
ORTE_DECLSPEC int orte_rmaps_base_get_vpid_range(orte_jobid_t jobid, orte_vpid_t *start, orte_vpid_t *range)
Utility routines to get/set vpid mapping for the job.
Definition: opal_list.h:147
Global params for OpenRTE.
Struct to hold data global to the rmaps framework.
Definition: base.h:55