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

Real Fix to work correctly with dealing with future 2.4+ systems when

switching from a bluegene to a regular system with sview.
parent 0e9a2d06
No related branches found
No related tags found
No related merge requests found
...@@ -953,12 +953,14 @@ extern void set_page_opts(int page, display_data_t *display_data, ...@@ -953,12 +953,14 @@ extern void set_page_opts(int page, display_data_t *display_data,
while ((col_name = list_next(itr))) { while ((col_name = list_next(itr))) {
replus(col_name); replus(col_name);
if (strstr(col_name, "list")) { if (strstr(col_name, "list")) {
if (cluster_flags & CLUSTER_FLAG_BG) if (cluster_flags & CLUSTER_FLAG_BG) {
xstrsubstitute(col_name, "node", "bp"); xstrsubstitute(col_name, "node", "bp ");
else xstrsubstitute(col_name, "midplane", "bp ");
xstrsubstitute(col_name, "bp", "node"); } else {
xstrsubstitute(col_name, "bp ", "node");
xstrsubstitute(col_name, "midplane", "node");
}
} }
while (display_data++) { while (display_data++) {
if (display_data->id == -1) if (display_data->id == -1)
break; break;
......
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