Skip to content
Snippets Groups Projects
Commit ce19b1f1 authored by phung4's avatar phung4
Browse files

added needed set_serial function call

parent 562e407b
No related branches found
No related tags found
No related merge requests found
...@@ -514,6 +514,14 @@ extern int init_bgl(void) ...@@ -514,6 +514,14 @@ extern int init_bgl(void)
{ {
#ifdef _RM_API_H__ #ifdef _RM_API_H__
int rc; int rc;
// FIXME, this needs to be read in from conf file.
rc = set_rm_serial("BGL");
if (rc != STATUS_OK){
error("init_bgl: rm_set_serial failed");
return SLURM_ERROR;
}
rc = rm_get_BGL(&bgl); rc = rm_get_BGL(&bgl);
if (rc != STATUS_OK){ if (rc != STATUS_OK){
error("init_bgl: rm_get_BGL failed"); error("init_bgl: rm_get_BGL failed");
...@@ -522,6 +530,8 @@ extern int init_bgl(void) ...@@ -522,6 +530,8 @@ extern int init_bgl(void)
#endif #endif
/** global variable */ /** global variable */
bgl_conf_list = (List) list_create(_destroy_bgl_conf_record); bgl_conf_list = (List) list_create(_destroy_bgl_conf_record);
// for testing purposes
init_bgl_partition_num(); init_bgl_partition_num();
return SLURM_SUCCESS; return SLURM_SUCCESS;
......
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