Skip to content
Snippets Groups Projects
Commit 61c42086 authored by Moe Jette's avatar Moe Jette
Browse files

fix for bug introduced in porting sview to cray

parent df6fa540
No related branches found
No related tags found
No related merge requests found
...@@ -560,7 +560,7 @@ static int *_get_cluster_dims(void) ...@@ -560,7 +560,7 @@ static int *_get_cluster_dims(void)
{ {
int *my_dim_size = slurmdb_setup_cluster_dim_size(); int *my_dim_size = slurmdb_setup_cluster_dim_size();
if ((cluster_flags & CLUSTER_FLAG_CRAYXT) && dim_size) { if ((cluster_flags & CLUSTER_FLAG_CRAYXT) && my_dim_size) {
static int cray_dim_size[3] = {-1, -1, -1}; static int cray_dim_size[3] = {-1, -1, -1};
/* For now, assume four nodes per coordinate all in /* For now, assume four nodes per coordinate all in
* the same cage. Need to refine. */ * the same cage. Need to refine. */
......
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