Cleaning warning in collectives code
This commit was SVN r27331.
Этот коммит содержится в:
родитель
171f6efd70
Коммит
1e7b958c2a
@ -331,7 +331,7 @@ int ml_coll_barrier_constant_group_data_setup(
|
||||
global_high_hierarchy_index = topo_info->global_highest_hier_group_index;
|
||||
|
||||
bool call_for_top_function, prev_is_zero;
|
||||
mca_coll_ml_utility_data_t *constant_group_data;
|
||||
mca_coll_ml_utility_data_t *constant_group_data = NULL;
|
||||
|
||||
int *scratch_indx = NULL, *scratch_num = NULL;
|
||||
|
||||
|
@ -629,7 +629,7 @@ static void ml_init_k_nomial_trees(mca_coll_ml_topology_t *topo, int *list_of_ra
|
||||
{
|
||||
int *list_n_connected;
|
||||
int *list;
|
||||
int group_size, rank, i, j, knt, offset, k, my_sbgp;
|
||||
int group_size, rank, i, j, knt, offset, k, my_sbgp = 0;
|
||||
int my_root;
|
||||
int level_one_knt;
|
||||
sub_group_params_t *array_of_all_subgroup_ranks = topo->
|
||||
@ -942,7 +942,7 @@ static int ml_setup_full_tree_data(mca_coll_ml_topology_t *topo,
|
||||
int in_num_total_subgroups = *num_total_subgroups;
|
||||
int i_sg, i_cnt, i_rank, i_offset, i_level, j_sg, j_rank,
|
||||
j_level, j_root,cnt, rank, rank_cnt;
|
||||
int *scratch_space;
|
||||
int *scratch_space = NULL;
|
||||
bool found;
|
||||
/* figure out who holds all the sub-group information - only those
|
||||
* ranks in the top level know this data at this point */
|
||||
@ -1950,7 +1950,7 @@ static int mca_coll_ml_tree_hierarchy_discovery(mca_coll_ml_module_t *ml_module,
|
||||
n_procs_in = 0, group_index = 0, n_remain = 0,
|
||||
i, j, ret = OMPI_SUCCESS, my_rank_in_list = 0,
|
||||
n_procs_selected = 0, original_group_size = 0, i_am_done = 0,
|
||||
local_leader, my_rank_in_subgroup, my_rank_in_remaining_list;
|
||||
local_leader, my_rank_in_subgroup, my_rank_in_remaining_list = 0;
|
||||
|
||||
int32_t my_lowest_group_index = -1, my_highest_group_index = -1;
|
||||
|
||||
|
@ -42,7 +42,8 @@ OMPI_DECLSPEC int comm_allgather_pml(void *src_buf, void *dest_buf, int count,
|
||||
OPAL_PTRDIFF_TYPE dt_extent;
|
||||
char *src_buf_current;
|
||||
char *dest_buf_current;
|
||||
struct iovec send_iov[2], recv_iov[2];
|
||||
struct iovec send_iov[2] = {{0,0},{0,0}},
|
||||
recv_iov[2] = {{0,0},{0,0}};
|
||||
ompi_request_t *requests[4];
|
||||
|
||||
/* get size of data needed - same layout as user data, so that
|
||||
|
@ -35,7 +35,7 @@ OMPI_DECLSPEC int mca_common_netpatterns_setup_recursive_knomial_allgather_tree_
|
||||
int n_levels,pow_k;
|
||||
int k_temp1;
|
||||
int k_temp2;
|
||||
int myid, reindex_myid;
|
||||
int myid, reindex_myid = 0;
|
||||
int base, peer_base,base_temp;
|
||||
int peer;
|
||||
int *prev_data = NULL;
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user