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
1f440a47
Commit
1f440a47
authored
11 years ago
by
Danny Auble
Browse files
Options
Downloads
Patches
Plain Diff
Better help when a select plugin loads another if they are out of sync
parent
1f7976a5
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/other/other_select.c
+10
-1
10 additions, 1 deletion
src/plugins/select/other/other_select.c
with
10 additions
and
1 deletion
src/plugins/select/other/other_select.c
+
10
−
1
View file @
1f440a47
...
...
@@ -127,6 +127,7 @@ extern int other_select_init(void)
int
retval
=
SLURM_SUCCESS
;
char
*
plugin_type
=
"select"
;
char
*
type
=
NULL
;
int
n_syms
;
if
(
init_run
&&
g_context
)
return
retval
;
...
...
@@ -141,9 +142,17 @@ extern int other_select_init(void)
else
type
=
"select/linear"
;
n_syms
=
sizeof
(
node_select_syms
);
if
(
n_syms
!=
sizeof
(
ops
))
fatal
(
"For some reason node_select_syms in "
"src/plugins/select/other/other_select.c differs from "
"slurm_select_ops_t found in src/common/node_select.h. "
"node_select_syms should match what is in "
"src/common/node_select.c"
);
if
(
!
(
g_context
=
plugin_context_create
(
plugin_type
,
type
,
(
void
**
)
&
ops
,
node_select_syms
,
sizeof
(
node_select
_syms
)))
)
{
node_select_syms
,
n
_syms
)))
{
error
(
"cannot create %s context for %s"
,
plugin_type
,
type
);
retval
=
SLURM_ERROR
;
goto
done
;
...
...
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