tm_topology       411 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c             tm_topology_t *tm_topology = NULL;
tm_topology       552 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                 tm_topology = (tm_topology_t *)malloc(sizeof(tm_topology_t));
tm_topology       553 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                 tm_topology->nb_levels = hierarchies[0];
tm_topology       557 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                     if (hierarchies[i*(TM_MAX_LEVELS+1)] < tm_topology->nb_levels)
tm_topology       558 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                         tm_topology->nb_levels = hierarchies[i*(TM_MAX_LEVELS+1)];
tm_topology       563 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                     int  suppl = *base_ptr - tm_topology->nb_levels;
tm_topology       565 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                         *(base_ptr + tm_topology->nb_levels) *= *(base_ptr + tm_topology->nb_levels + j);
tm_topology       569 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                     tm_topology->nb_levels += 1;
tm_topology       570 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                     tm_topology->arity = (int *)calloc(tm_topology->nb_levels, sizeof(int));
tm_topology       571 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                     tm_topology->arity[0] = num_nodes;
tm_topology       572 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                     for(i = 1; i < tm_topology->nb_levels; i++) {  /* compute the minimum for each level */
tm_topology       577 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                         tm_topology->arity[i] = min;
tm_topology       580 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                     tm_topology->arity = (int *)calloc(tm_topology->nb_levels, sizeof(int));
tm_topology       581 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                     for(i = 0; i < tm_topology->nb_levels; i++)
tm_topology       582 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                         tm_topology->arity[i] = hierarchies[i+1];
tm_topology       586 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                 for(i = 0; i < tm_topology->nb_levels; i++) {
tm_topology       588 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                                          "topo_arity[%i] = %i\n", i, tm_topology->arity[i]));
tm_topology       592 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                 tm_topology->nb_nodes = (size_t *)calloc(tm_topology->nb_levels, sizeof(size_t));
tm_topology       593 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                 tm_topology->nb_nodes[0] = 1;
tm_topology       594 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                 for(i = 1 ; i < tm_topology->nb_levels; i++)
tm_topology       595 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                     tm_topology->nb_nodes[i] = tm_topology->nb_nodes[i-1] * tm_topology->arity[i-1];
tm_topology       598 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                 assert(num_objs_total == (int)tm_topology->nb_nodes[tm_topology->nb_levels-1]);
tm_topology       601 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                 tm_topology->node_id  = (int *)malloc(num_objs_total*sizeof(int));
tm_topology       602 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                 tm_topology->node_rank = (int *)malloc(num_objs_total*sizeof(int));
tm_topology       604 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                     tm_topology->node_id[i] = tm_topology->node_rank[i] = -1;
tm_topology       608 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                     tm_topology->node_id[i] = obj_mapping[i];       /* use process ranks instead of core numbers */                                                            
tm_topology       610 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                         tm_topology->node_rank[obj_mapping[i]] = i; /* after computation by TreeMatch */
tm_topology       614 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                 tm_topology->cost = (double*)calloc(tm_topology->nb_levels,sizeof(double));
tm_topology       615 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                 tm_topology->nb_proc_units = num_objs_total;
tm_topology       617 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                 tm_topology->nb_constraints = 0;
tm_topology       618 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                 for(i = 0; i < tm_topology->nb_proc_units ; i++)
tm_topology       620 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                         tm_topology->nb_constraints++;
tm_topology       621 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                 tm_topology->constraints = (int *)calloc(tm_topology->nb_constraints,sizeof(int));
tm_topology       622 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                 for(idx = 0, i = 0; i < tm_topology->nb_proc_units ; i++)
tm_topology       624 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                         tm_topology->constraints[idx++] = obj_mapping[i]; /* use process ranks instead of core numbers */
tm_topology       626 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                 assert(idx == tm_topology->nb_constraints);
tm_topology       628 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                 tm_topology->oversub_fact = 1;
tm_topology       639 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                 tm_display_topology(tm_topology);
tm_topology       660 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                 comm_tree = tm_build_tree_from_topology(tm_topology,aff_mat, NULL, NULL);
tm_topology       661 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                 sol = tm_compute_mapping(tm_topology, comm_tree);
tm_topology       668 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                                     "====> nb levels : %i\n",tm_topology->nb_levels);
tm_topology       681 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                 tm_free_topology(tm_topology);
tm_topology       763 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c             tm_topology_t  *tm_topology = NULL;
tm_topology       795 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c             tm_topology  = (tm_topology_t *)malloc(sizeof(tm_topology_t));
tm_topology       796 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c             tm_topology->nb_levels = numlevels;
tm_topology       797 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c             tm_topology->arity     = (int *)calloc(tm_topology->nb_levels, sizeof(int));
tm_topology       798 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c             tm_topology->nb_nodes  = (size_t *)calloc(tm_topology->nb_levels, sizeof(size_t));
tm_topology       800 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c             for(i = 0 ; i < tm_topology->nb_levels ; i++){
tm_topology       802 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                 tm_topology->nb_nodes[i] = nb_objs;
tm_topology       803 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                 tm_topology->arity[i]    = tracker[i]->arity;
tm_topology       808 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c             assert(num_objs_in_node == (int)tm_topology->nb_nodes[tm_topology->nb_levels-1]);
tm_topology       823 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c             tm_topology->node_id  = (int *)malloc(num_objs_in_node*sizeof(int));
tm_topology       824 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c             tm_topology->node_rank = (int *)malloc(num_objs_in_node*sizeof(int));
tm_topology       826 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                 tm_topology->node_id[i] = tm_topology->node_rank[i] = -1;
tm_topology       831 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                 tm_topology->node_id[i] = obj_to_rank_in_lcomm[i];
tm_topology       833 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                     tm_topology->node_rank[obj_to_rank_in_lcomm[i]] = i; 
tm_topology       837 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c             tm_topology->cost = (double*)calloc(tm_topology->nb_levels,sizeof(double));
tm_topology       839 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c             tm_topology->nb_proc_units = num_objs_in_node;
tm_topology       840 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c             tm_topology->nb_constraints = 0;
tm_topology       844 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                     tm_topology->nb_constraints++;
tm_topology       846 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c             tm_topology->constraints = (int *)calloc(tm_topology->nb_constraints,sizeof(int));
tm_topology       849 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                     tm_topology->constraints[idx++] = obj_to_rank_in_lcomm[i];
tm_topology       851 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c             tm_topology->oversub_fact = 1;
tm_topology       854 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c             assert(num_objs_in_node == (int)tm_topology->nb_nodes[tm_topology->nb_levels-1]);
tm_topology       857 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                                  tm_topology->nb_levels,num_procs_in_node));
tm_topology       858 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c             for(i = 0; i < tm_topology->nb_levels ; i++) {
tm_topology       861 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                                      i, tm_topology->nb_nodes[i],tm_topology->arity[i]));
tm_topology       864 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                            "", "Obj id ", tm_topology->node_id, tm_topology->nb_nodes[tm_topology->nb_levels-1]);
tm_topology       865 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c             tm_display_topology(tm_topology);
tm_topology       869 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c             comm_tree = tm_build_tree_from_topology(tm_topology,aff_mat, NULL, NULL);
tm_topology       870 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c             sol = tm_compute_mapping(tm_topology, comm_tree);
tm_topology       880 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c                                  "====> nb levels : %i\n",tm_topology->nb_levels));
tm_topology       893 ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c             tm_free_topology(tm_topology);