From 7591770673311f7713584cee1197b4d3f72a219d Mon Sep 17 00:00:00 2001 From: Danny Auble <da@llnl.gov> Date: Thu, 23 Jul 2009 16:15:17 +0000 Subject: [PATCH] fix for non bluegene systems --- .../select/bluegene/block_allocator/block_allocator.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/plugins/select/bluegene/block_allocator/block_allocator.c b/src/plugins/select/bluegene/block_allocator/block_allocator.c index 05acb1480df..b262acbba96 100644 --- a/src/plugins/select/bluegene/block_allocator/block_allocator.c +++ b/src/plugins/select/bluegene/block_allocator/block_allocator.c @@ -1359,8 +1359,11 @@ extern int remove_block(List nodes, int new_count) to the main list we need to point to that main list */ ba_node = &ba_system_ptr-> grid[curr_ba_node->coord[X]] +#ifdef HAVE_BG [curr_ba_node->coord[Y]] - [curr_ba_node->coord[Z]]; + [curr_ba_node->coord[Z]] +#endif + ; ba_node->used = false; ba_node->color = 7; -- GitLab