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

fix for non bgl systems

parent 454febd9
No related branches found
No related tags found
No related merge requests found
......@@ -168,6 +168,8 @@ strong_alias(hostset_nth, slurm_hostset_nth);
/* ----[ Internal Data Structures ]---- */
char *alpha_num = "0123456789ABCDEFGHIJKLMNOPQRSTUZWXYZ";
#ifdef HAVE_BG
/* logic for block node description */
/* We allocate space for three digits,
......@@ -175,7 +177,6 @@ strong_alias(hostset_nth, slurm_hostset_nth);
bool axis[HOSTLIST_BASE][HOSTLIST_BASE][HOSTLIST_BASE];
int axis_min_x, axis_min_y, axis_min_z;
int axis_max_x, axis_max_y, axis_max_z;
char *alpha_num = "0123456789ABCDEFGHIJKLMNOPQRSTUZWXYZ";
static int _get_boxes(char *buf, int max_len);
static void _clear_grid(void);
......
......@@ -45,11 +45,12 @@
#ifdef HAVE_BG
#define HOSTLIST_BASE 36
extern char *alpha_num;
#else
#define HOSTLIST_BASE 10
#endif
extern char *alpha_num;
/* Notes:
*
* If WITH_LSD_FATAL_ERROR_FUNC is defined, the linker will expect to
......
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