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
50cafcf7
Commit
50cafcf7
authored
13 years ago
by
Danny Auble
Browse files
Options
Downloads
Patches
Plain Diff
BLUEGENE - Fix for if changing the defined blocks in the bluegene.conf and
jobs happen to be running on blocks not in the new config.
parent
98b203d4
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/select_bluegene.c
+15
-4
15 additions, 4 deletions
src/plugins/select/bluegene/select_bluegene.c
with
15 additions
and
4 deletions
src/plugins/select/bluegene/select_bluegene.c
+
15
−
4
View file @
50cafcf7
...
...
@@ -282,10 +282,21 @@ static int _delete_old_blocks(List curr_block_list, List found_block_list)
thread safe here) we must do it
now.
*/
if
(
init_record
->
job_running
>
NO_JOB_RUNNING
)
{
/* The slurmctld is already
locked here so don't worry
about locking the job lock.
if
((
init_record
->
job_running
>
NO_JOB_RUNNING
)
||
init_record
->
job_ptr
)
{
/* Don't worry about dealing
with this job here. Trying
to requeue/cancel now will
cause a race condition
locking up the slurmctld.
It will be handled when the
blocks are synced. This
should only happen if the
bluegene.conf gets changed
and jobs are running on
blocks that don't exist in
the new config (hopefully
rarely).
*/
init_record
->
job_running
=
NO_JOB_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