Skip to content

Commit

Permalink
Patch silencing some compiler complaints provided
Browse files Browse the repository at this point in the history
by @ggouaillardet on ticket 1183.
  • Loading branch information
bosilca committed Jan 12, 2016
1 parent 955fe85 commit 22cf041
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,9 @@ int mca_topo_treematch_dist_graph_create(mca_topo_base_module_t* topo_module,
*/
if(0 == rank) {

#ifdef __DEBUG__
fprintf(stderr,"========== Centralized Reordering ========= \n");
#endif

local_pattern = (double *)calloc(size*size,sizeof(double));
if( true == topo->weighted ) {
Expand Down
3 changes: 1 addition & 2 deletions ompi/mca/topo/treematch/treematch/tm_kpartitioning.c
Original file line number Diff line number Diff line change
Expand Up @@ -426,8 +426,7 @@ tree_t *kpartition_build_tree_from_topology(tm_topology_t *topology,double **com
verbose_level = get_verbose_level();

if(verbose_level>=INFO)
printf("Number of constraints: %d\n", nb_constraints);
printf("Number of constraints: %d, N=%d\n", nb_constraints, N);
printf("Number of constraints: %d, N=%d\n", nb_constraints, N);

nb_cores=nb_processing_units(topology);

Expand Down
3 changes: 2 additions & 1 deletion ompi/mca/topo/treematch/treematch/tm_tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -1611,7 +1611,8 @@ tree_t * build_tree_from_topology(tm_topology_t *topology, double **com_mat, int

nb_constraints = check_constraints (topology, &constraints);

printf("nb_constraints = %d, N= %d; nb_processing units = %d\n",nb_constraints, N, nb_processing_units(topology));
if(verbose_level>=INFO)
printf("nb_constraints = %d, N= %d; nb_processing units = %d\n",nb_constraints, N, nb_processing_units(topology));

if(N>nb_constraints){
if(verbose_level >= CRITICAL){
Expand Down

0 comments on commit 22cf041

Please sign in to comment.