Skip to content
Snippets Groups Projects
Commit 51d66db3 authored by Danny Auble's avatar Danny Auble
Browse files

fix for non bluegene systems

parent 779055f5
No related branches found
No related tags found
No related merge requests found
...@@ -374,7 +374,6 @@ extern void get_button_list_from_main(List *button_list, int start, int end, ...@@ -374,7 +374,6 @@ extern void get_button_list_from_main(List *button_list, int start, int end,
extern List copy_main_button_list() extern List copy_main_button_list()
{ {
ListIterator itr = NULL; ListIterator itr = NULL;
ListIterator button_itr = NULL;
grid_button_t *grid_button = NULL; grid_button_t *grid_button = NULL;
grid_button_t *send_grid_button = NULL; grid_button_t *send_grid_button = NULL;
List button_list = list_create(destroy_grid_button); List button_list = list_create(destroy_grid_button);
...@@ -519,7 +518,6 @@ extern void put_buttons_in_table(GtkTable *table, List button_list) ...@@ -519,7 +518,6 @@ extern void put_buttons_in_table(GtkTable *table, List button_list)
table_x = DIM_SIZE[X] + DIM_SIZE[Z]; table_x = DIM_SIZE[X] + DIM_SIZE[Z];
table_y = (DIM_SIZE[Z] * DIM_SIZE[Y]) + DIM_SIZE[Y]; table_y = (DIM_SIZE[Z] * DIM_SIZE[Y]) + DIM_SIZE[Y];
#else #else
node_count = list_count(node_list);
if(node_count < 50) { if(node_count < 50) {
table_x = 1; table_x = 1;
} else if(node_count < 500) { } else if(node_count < 500) {
...@@ -710,7 +708,6 @@ extern int setup_grid_table(GtkTable *table, List button_list, List node_list) ...@@ -710,7 +708,6 @@ extern int setup_grid_table(GtkTable *table, List button_list, List node_list)
#else #else
for (x=0; x<node_count; x++) { for (x=0; x<node_count; x++) {
grid_button = xmalloc(sizeof(grid_button_t)); grid_button = xmalloc(sizeof(grid_button_t));
grid_button->coord[X] = x;
grid_button->inx = i++; grid_button->inx = i++;
grid_button->table = table; grid_button->table = table;
grid_button->table_x = coord_x; grid_button->table_x = coord_x;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment