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

Report error if sinfo --bgl option is used on a non-BGL system.

parent 8cc6dedf
No related branches found
No related tags found
No related merge requests found
...@@ -117,7 +117,12 @@ extern void parse_command_line(int argc, char *argv[]) ...@@ -117,7 +117,12 @@ extern void parse_command_line(int argc, char *argv[])
params.all_flag = true; params.all_flag = true;
break; break;
case (int)'b': case (int)'b':
#ifdef HAVE_BGL
params.bgl_flag = true; params.bgl_flag = true;
#else
error("must be on a BGL system to use --bgl option");
exit(1);
#endif
break; break;
case (int)'d': case (int)'d':
params.dead_nodes = true; params.dead_nodes = true;
......
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