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

BGQ - when creating blocks dynamically make all the conn_types torus when

not specified.
parent 74c07cb5
No related branches found
No related tags found
No related merge requests found
......@@ -69,7 +69,6 @@ extern List create_dynamic_block(List block_list,
if (bg_conf->sub_blocks && (cnodes < bg_conf->mp_cnode_cnt)) {
cnodes = bg_conf->mp_cnode_cnt;
request->conn_type[0] = SELECT_TORUS;
} else if (cnodes < bg_conf->smallest_block) {
error("Can't create this size %d "
"on this system the smallest block is %u",
......@@ -295,8 +294,15 @@ extern List create_dynamic_block(List block_list,
info("small block not able to be placed inside others");
}
if (request->conn_type[0] == SELECT_NAV)
if (request->conn_type[0] == SELECT_NAV) {
#ifndef HAVE_BG_L_P
int dim;
for (dim = 0; dim < SYSTEM_DIMENSIONS; dim++)
request->conn_type[dim] = SELECT_TORUS;
#else
request->conn_type[0] = SELECT_TORUS;
#endif
}
//debug("going to create %d", request->size);
if (!new_ba_request(request)) {
......
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