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

fix for sview to not do a slurm_load_node_select on non bluegene systems.

parent 019d6cd7
No related branches found
No related tags found
No related merge requests found
......@@ -567,9 +567,10 @@ extern void refresh_block(GtkAction *action, gpointer user_data)
extern int get_new_info_node_select(node_select_info_msg_t **node_select_ptr,
int force)
{
int error_code = SLURM_SUCCESS;
#ifdef HAVE_BG
static node_select_info_msg_t *bg_info_ptr = NULL;
static node_select_info_msg_t *new_bg_ptr = NULL;
int error_code = SLURM_SUCCESS;
time_t now = time(NULL);
static time_t last;
......@@ -594,6 +595,9 @@ extern int get_new_info_node_select(node_select_info_msg_t **node_select_ptr,
bg_info_ptr = new_bg_ptr;
*node_select_ptr = new_bg_ptr;
#else
error_code = SLURM_NO_CHANGE_IN_DATA;
#endif
return error_code;
}
......
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