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
32d588ca
Commit
32d588ca
authored
9 years ago
by
Danny Auble
Browse files
Options
Downloads
Patches
Plain Diff
Add a function to get the select plugin id
parent
e45ba4f8
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/common/working_cluster.c
+7
-0
7 additions, 0 deletions
src/common/working_cluster.c
src/common/working_cluster.h
+5
-0
5 additions, 0 deletions
src/common/working_cluster.h
with
12 additions
and
0 deletions
src/common/working_cluster.c
+
7
−
0
View file @
32d588ca
...
@@ -251,3 +251,10 @@ extern char *slurmdb_cluster_flags_2_str(uint32_t flags_in)
...
@@ -251,3 +251,10 @@ extern char *slurmdb_cluster_flags_2_str(uint32_t flags_in)
return
cluster_flags
;
return
cluster_flags
;
}
}
extern
uint32_t
slurmdb_setup_plugin_id_select
(
void
)
{
if
(
working_cluster_rec
)
return
working_cluster_rec
->
plugin_id_select
;
return
select_get_plugin_id
();
}
This diff is collapsed.
Click to expand it.
src/common/working_cluster.h
+
5
−
0
View file @
32d588ca
...
@@ -69,4 +69,9 @@ extern uint32_t slurmdb_str_2_cluster_flags(char *flags_in);
...
@@ -69,4 +69,9 @@ extern uint32_t slurmdb_str_2_cluster_flags(char *flags_in);
*/
*/
extern
char
*
slurmdb_cluster_flags_2_str
(
uint32_t
flags_in
);
extern
char
*
slurmdb_cluster_flags_2_str
(
uint32_t
flags_in
);
/*
* Return the plugin select id of the cluster working or current
*/
extern
uint32_t
slurmdb_setup_plugin_id_select
(
void
);
#endif
#endif
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