OpenMPI
0.1.1
|
#include "orte_config.h"
#include "orte/types.h"
#include "orte/runtime/orte_globals.h"
#include "orte/mca/rmaps/rmaps.h"
Go to the source code of this file.
Functions | |
BEGIN_C_DECLS ORTE_DECLSPEC int | orte_rmaps_base_map_job (orte_job_t *jdata) |
ORTE_DECLSPEC orte_job_map_t * | orte_rmaps_base_get_job_map (orte_jobid_t job) |
ORTE_DECLSPEC int | orte_rmaps_base_get_target_nodes (opal_list_t *node_list, orte_std_cntr_t *total_num_slots, orte_app_context_t *app, orte_mapping_policy_t policy, bool initial_map) |
ORTE_DECLSPEC orte_proc_t * | orte_rmaps_base_setup_proc (orte_job_t *jdata, orte_node_t *node, orte_app_idx_t idx) |
ORTE_DECLSPEC orte_node_t * | orte_rmaps_base_get_starting_point (opal_list_t *node_list, orte_job_t *jdata) |
ORTE_DECLSPEC int | orte_rmaps_base_compute_vpids (orte_job_t *jdata, orte_app_context_t *app, opal_list_t *nodes) |
ORTE_DECLSPEC int | orte_rmaps_base_compute_local_ranks (orte_job_t *jdata) |
ORTE_DECLSPEC int | orte_rmaps_base_compute_bindings (orte_job_t *jdata) |
ORTE_DECLSPEC void | orte_rmaps_base_update_local_ranks (orte_job_t *jdata, orte_node_t *oldnode, orte_node_t *newnode, orte_proc_t *newproc) |
ORTE_DECLSPEC int | orte_rmaps_base_rearrange_map (orte_app_context_t *app, orte_job_map_t *map, opal_list_t *procs) |
ORTE_DECLSPEC int orte_rmaps_base_get_target_nodes | ( | opal_list_t * | node_list, |
orte_std_cntr_t * | total_num_slots, | ||
orte_app_context_t * | app, | ||
orte_mapping_policy_t | policy, | ||
bool | initial_map | ||
) |
set default answer
check that anything is here
check that anything is here
save the next pointer in case we remove this node
check to see if this node is fully used - remove if so
go on to next item
References orte_node_t::name, OBJ_RELEASE, OBJ_RETAIN, opal_list_append, opal_list_get_begin(), opal_list_get_end(), opal_list_get_first(), opal_list_get_last(), opal_list_get_next, opal_list_get_prev, opal_list_get_size(), opal_list_insert_pos(), opal_list_prepend(), opal_list_remove_item(), opal_output(), opal_output_get_verbosity(), OPAL_OUTPUT_VERBOSE, opal_pointer_array_get_item(), ORTE_PROC_MY_NAME, orte_rmaps_base, orte_rmaps_base_filter_nodes(), orte_show_help(), orte_rmaps_base_t::rmaps_output, opal_pointer_array_t::size, orte_node_t::slots_alloc, orte_node_t::slots_inuse, orte_node_t::slots_max, orte_node_t::state, orte_node_t::super, and orte_process_name_t::vpid.