Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
ce19b1f1
Commit
ce19b1f1
authored
20 years ago
by
phung4
Browse files
Options
Downloads
Patches
Plain Diff
added needed set_serial function call
parent
562e407b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/plugins/select/bluegene/bluegene.c
+10
-0
10 additions, 0 deletions
src/plugins/select/bluegene/bluegene.c
with
10 additions
and
0 deletions
src/plugins/select/bluegene/bluegene.c
+
10
−
0
View file @
ce19b1f1
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment