diff --git a/src/sview/block_info.c b/src/sview/block_info.c index 6a9804f77bdb244a2164111ed900c1409af0c13b..62bc22dd1361075fe386151c7ec4cc2cc730c7d4 100644 --- a/src/sview/block_info.c +++ b/src/sview/block_info.c @@ -1092,6 +1092,7 @@ display_it: /* we want to over ride any subgrp in error state */ enum node_states state = NODE_STATE_UNKNOWN; + char *name = NULL; i++; switch(spec_info->type) { @@ -1104,10 +1105,22 @@ display_it: case NODE_PAGE: if(!block_ptr->nodes) continue; - g_print("sending %s %s", search_info->gchar_data, block_ptr->nodes); if(!(hostset = hostset_create(search_info->gchar_data))) continue; - if(!hostset_intersects(hostset, block_ptr->nodes)) { + name = block_ptr->nodes; + if(block_ptr->small_block) { + int j=0; + /* strip off the ionodes part */ + while(name[j]) { + if(name[j] == '[') { + name[j] = '\0'; + break; + } + j++; + } + } + + if(!hostset_intersects(hostset, name)) { hostset_destroy(hostset); continue; } @@ -1298,7 +1311,6 @@ extern void popup_all_block(GtkTreeModel *model, GtkTreeIter *iter, int id) g_free(name); gtk_tree_model_get(model, iter, SORTID_NODELIST, &name, -1); gtk_tree_model_get(model, iter, SORTID_SMALL_BLOCK, &i, -1); - g_print("got %s %d\n", name, i); if(i) { i=0; /* strip off the ionodes part */ @@ -1310,7 +1322,6 @@ extern void popup_all_block(GtkTreeModel *model, GtkTreeIter *iter, int id) i++; } } - g_print(" %s\n", name); popup_win->spec_info->search_info->gchar_data = name; break; case INFO_PAGE: diff --git a/src/sview/node_info.c b/src/sview/node_info.c index 9b6d8e168f99c3e78e52ef13320daa17a227ae7d..05b79f04b4621c2ab9b4c0871647e75857408a04 100644 --- a/src/sview/node_info.c +++ b/src/sview/node_info.c @@ -434,13 +434,13 @@ need_refresh: node_ptr = sview_node_info->node_ptr; i++; if(!strcmp(node_ptr->name, name)) { -#ifdef HAVE_BG - /* get other blocks that are on this bp */ - add_extra_bluegene_buttons( - &popup_win->grid_button_list, - i, &i); - i--; -#else +/* #ifdef HAVE_BG */ +/* /\* get other blocks that are on this bp *\/ */ +/* add_extra_bluegene_buttons( */ +/* &popup_win->grid_button_list, */ +/* i, &i); */ +/* i--; */ +/* #else */ /* this may need to go away in the future after add_extra_cr_buttons is functional */ get_button_list_from_main(&popup_win->grid_button_list, @@ -449,7 +449,7 @@ need_refresh: core and what not */ add_extra_cr_buttons(&popup_win->grid_button_list, node_ptr); -#endif +/* #endif */ _layout_node_record(treeview, node_ptr, update); found = 1; break;