From d7e0a97cdaff5daca475a52c9c99f8fa6b67817c Mon Sep 17 00:00:00 2001 From: Danny Auble <da@schedmd.com> Date: Wed, 22 Feb 2012 16:19:14 -0800 Subject: [PATCH] BGQ - put back the torus on full dim code. --- src/plugins/select/bluegene/ba_bgq/block_allocator.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/plugins/select/bluegene/ba_bgq/block_allocator.c b/src/plugins/select/bluegene/ba_bgq/block_allocator.c index 9897e536589..586b78c9242 100644 --- a/src/plugins/select/bluegene/ba_bgq/block_allocator.c +++ b/src/plugins/select/bluegene/ba_bgq/block_allocator.c @@ -839,10 +839,10 @@ extern char *set_bg_block(List results, select_ba_request_t* ba_request) if ((ba_request->conn_type[dim] == SELECT_MESH) && (ba_geo_table->geometry[dim] == 1)) ba_request->conn_type[dim] = SELECT_TORUS; - /* else if ((ba_request->conn_type[dim] == SELECT_MESH) */ - /* && (ba_geo_table->geometry[dim] */ - /* == DIM_SIZE[dim])) */ - /* ba_request->conn_type[dim] = SELECT_TORUS; */ + else if ((ba_request->conn_type[dim] == SELECT_MESH) + && (ba_geo_table->geometry[dim] + == DIM_SIZE[dim])) + ba_request->conn_type[dim] = SELECT_TORUS; } itr = list_iterator_create(main_mps); -- GitLab