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
cf3eb9b3
Commit
cf3eb9b3
authored
13 years ago
by
Morris Jette
Browse files
Options
Downloads
Plain Diff
Merge branch 'slurm-2.3'
parents
6561b484
43936335
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
NEWS
+2
-0
2 additions, 0 deletions
NEWS
src/slurmctld/reservation.c
+7
-1
7 additions, 1 deletion
src/slurmctld/reservation.c
with
9 additions
and
1 deletion
NEWS
+
2
−
0
View file @
cf3eb9b3
...
...
@@ -140,6 +140,8 @@ documents those changes that are of interest to users and admins.
Didier Gazen, Laboratoire d'Aerologie.
-- BLUEGENE - fix for not allowing jobs if all midplanes are drained and all
blocks are in an error state.
-- Avoid slurmctld abort due to bad pointer when setting an advanced
reservation MAINT flag if it contains no nodes (only licenses).
* Changes in SLURM 2.3.3
========================
...
...
This diff is collapsed.
Click to expand it.
src/slurmctld/reservation.c
+
7
−
1
View file @
cf3eb9b3
...
...
@@ -3356,11 +3356,17 @@ static void _set_nodes_maint(slurmctld_resv_t *resv_ptr, time_t now)
struct
node_record
*
node_ptr
;
if
(
!
resv_ptr
->
node_bitmap
)
{
error
(
"reservation %s lacks a bitmap"
,
resv_ptr
->
name
);
error
(
"maintenance reservation %s lacks a bitmap"
,
resv_ptr
->
name
);
return
;
}
i_first
=
bit_ffs
(
resv_ptr
->
node_bitmap
);
if
(
i_first
<
0
)
{
error
(
"maintenance reservation %s includes no nodes"
,
resv_ptr
->
name
);
return
;
}
i_last
=
bit_fls
(
resv_ptr
->
node_bitmap
);
for
(
i
=
i_first
;
i
<=
i_last
;
i
++
)
{
if
(
!
bit_test
(
resv_ptr
->
node_bitmap
,
i
))
...
...
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