1
1

Correctly export the required functions. They are defined in a private file, but they are completely public.

This commit was SVN r12070.
Этот коммит содержится в:
George Bosilca 2006-10-10 04:54:51 +00:00
родитель 179067dfb5
Коммит 7dadc1832d
2 изменённых файлов: 14 добавлений и 14 удалений

Просмотреть файл

@ -76,7 +76,7 @@ OBJ_CLASS_DECLARATION(orte_rmaps_base_cmp_t);
* All calls to rmaps.map_job are routed through this function. This allows callers to
* the RMAPS framework to specify the particular mapper they wish to use.
*/
int orte_rmaps_base_map_job(orte_jobid_t job, char *desired_mapper);
ORTE_DECLSPEC int orte_rmaps_base_map_job(orte_jobid_t job, char *desired_mapper);
/*
* Get job map
@ -132,19 +132,19 @@ void orte_rmaps_base_recv(int status, orte_process_name_t* sender,
int orte_rmaps_base_add_proc_to_map(orte_job_map_t *map, orte_cellid_t cell, char *nodename,
char *username, bool oversubscribed, orte_mapped_proc_t *proc);
int orte_rmaps_base_get_target_nodes(opal_list_t* node_list, orte_jobid_t jobid, orte_std_cntr_t *total_num_slots);
int orte_rmaps_base_update_node_usage(opal_list_t *nodes);
int orte_rmaps_base_get_mapped_targets(opal_list_t *mapped_node_list,
orte_app_context_t *app,
opal_list_t *master_node_list,
orte_std_cntr_t *total_num_slots);
ORTE_DECLSPEC int orte_rmaps_base_get_target_nodes(opal_list_t* node_list, orte_jobid_t jobid, orte_std_cntr_t *total_num_slots);
ORTE_DECLSPEC int orte_rmaps_base_update_node_usage(opal_list_t *nodes);
ORTE_DECLSPEC int orte_rmaps_base_get_mapped_targets(opal_list_t *mapped_node_list,
orte_app_context_t *app,
opal_list_t *master_node_list,
orte_std_cntr_t *total_num_slots);
int orte_rmaps_base_claim_slot(orte_job_map_t *map,
orte_ras_node_t *current_node,
orte_jobid_t jobid, orte_vpid_t vpid,
orte_std_cntr_t app_idx,
opal_list_t *nodes,
opal_list_t *fully_used_nodes);
ORTE_DECLSPEC int orte_rmaps_base_claim_slot(orte_job_map_t *map,
orte_ras_node_t *current_node,
orte_jobid_t jobid, orte_vpid_t vpid,
orte_std_cntr_t app_idx,
opal_list_t *nodes,
opal_list_t *fully_used_nodes);
/** Local data type functions */
void orte_rmaps_base_std_obj_release(orte_data_value_t *value);

Просмотреть файл

@ -76,7 +76,7 @@ struct orte_job_map_t {
opal_list_t nodes; /* list of mapped_node_t */
};
typedef struct orte_job_map_t orte_job_map_t;
OBJ_CLASS_DECLARATION(orte_job_map_t);
ORTE_DECLSPEC OBJ_CLASS_DECLARATION(orte_job_map_t);
#if defined(c_plusplus) || defined(__cplusplus)
}