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
6e64725e
Commit
6e64725e
authored
10 years ago
by
Danny Auble
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'origin/slurm-14.11'
parents
793d63f1
27eef95d
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
NEWS
+6
-0
6 additions, 0 deletions
NEWS
src/common/slurm_protocol_defs.c
+5
-0
5 additions, 0 deletions
src/common/slurm_protocol_defs.c
src/plugins/select/bluegene/runjob_plugin.cc
+29
-2
29 additions, 2 deletions
src/plugins/select/bluegene/runjob_plugin.cc
with
40 additions
and
2 deletions
NEWS
+
6
−
0
View file @
6e64725e
...
...
@@ -134,6 +134,12 @@ documents those changes that are of interest to users and administrators.
==========================
-- Correct the squeue command taking into account that a node can
have NULL name if it is not in DNS but still in slurm.conf.
-- Fix slurmdbd regression which would cause a segfault when a node is set
down with no reason.
-- BGQ - Fix issue with job arrays not being handled correctly
in the runjob_mux plugin.
-- Print FAIR_TREE, if configured, in "scontrol show config" output for
PriorityFlags.
* Changes in Slurm 14.11.4
==========================
...
...
This diff is collapsed.
Click to expand it.
src/common/slurm_protocol_defs.c
+
5
−
0
View file @
6e64725e
...
...
@@ -1851,6 +1851,11 @@ extern char *priority_flags_string(uint16_t priority_flags)
xstrcat
(
flag_str
,
","
);
xstrcat
(
flag_str
,
"DEPTH_OBLIVIOUS"
);
}
if
(
priority_flags
&
PRIORITY_FLAGS_FAIR_TREE
)
{
if
(
flag_str
[
0
])
xstrcat
(
flag_str
,
","
);
xstrcat
(
flag_str
,
"FAIR_TREE"
);
}
return
flag_str
;
}
...
...
This diff is collapsed.
Click to expand it.
src/plugins/select/bluegene/runjob_plugin.cc
+
29
−
2
View file @
6e64725e
...
...
@@ -239,9 +239,36 @@ void Plugin::execute(bgsched::runjob::Verify& verify)
+
"."
+
boost
::
lexical_cast
<
std
::
string
>
(
runjob_job
->
step_id
);
goto
deny_job
;
}
}
else
if
(
step_resp
->
job_step_count
>
1
)
{
uint32_t
i
;
found
=
0
;
for
(
i
=
0
,
step_ptr
=
step_resp
->
job_steps
;
i
<
step_resp
->
job_step_count
;
i
++
,
step_ptr
++
)
{
if
((
uint32_t
)
runjob_job
->
job_id
==
step_ptr
->
job_id
)
{
found
=
1
;
break
;
}
}
if
(
!
found
)
{
message
=
"Couldn't get job array task from response!"
;
goto
deny_job
;
}
}
else
step_ptr
=
&
step_resp
->
job_steps
[
0
];
step_ptr
=
&
step_resp
->
job_steps
[
0
];
if
((
uint32_t
)
runjob_job
->
job_id
!=
step_ptr
->
job_id
)
{
message
=
"Step returned is for a different job "
+
boost
::
lexical_cast
<
std
::
string
>
(
step_ptr
->
job_id
)
+
"."
+
boost
::
lexical_cast
<
std
::
string
>
(
step_ptr
->
step_id
)
+
" != "
+
boost
::
lexical_cast
<
std
::
string
>
(
runjob_job
->
job_id
)
+
"."
+
boost
::
lexical_cast
<
std
::
string
>
(
runjob_job
->
step_id
);
goto
deny_job
;
}
/* A bit of verification to make sure this is the correct user
supposed to be running.
...
...
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