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
cbf16778
Commit
cbf16778
authored
18 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
svn merge -r10450:10463
https://eris.llnl.gov/svn/slurm/branches/slurm-1.1
parent
8d44e994
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
doc/man/man5/slurm.conf.5
+1
-1
1 addition, 1 deletion
doc/man/man5/slurm.conf.5
src/plugins/sched/backfill/backfill.c
+8
-6
8 additions, 6 deletions
src/plugins/sched/backfill/backfill.c
with
9 additions
and
7 deletions
doc/man/man5/slurm.conf.5
+
1
−
1
View file @
cbf16778
...
@@ -999,7 +999,7 @@ Possible values are "FORCE", "YES", and "NO".
...
@@ -999,7 +999,7 @@ Possible values are "FORCE", "YES", and "NO".
without user means of disabling it.
without user means of disabling it.
"YES" makes nodes in the partition available for sharing if and
"YES" makes nodes in the partition available for sharing if and
only if the individual jobs permit sharing (see the srun
only if the individual jobs permit sharing (see the srun
"\-\-share
d
" option).
"\-\-share" option).
"NO" makes nodes unavailable for sharing under all circumstances.
"NO" makes nodes unavailable for sharing under all circumstances.
The default value is "NO".
The default value is "NO".
.TP
.TP
...
...
This diff is collapsed.
Click to expand it.
src/plugins/sched/backfill/backfill.c
+
8
−
6
View file @
cbf16778
...
@@ -324,12 +324,14 @@ _attempt_backfill(struct part_record *part_ptr)
...
@@ -324,12 +324,14 @@ _attempt_backfill(struct part_record *part_ptr)
goto
cleanup
;
goto
cleanup
;
i
=
list_count
(
run_job_list
)
+
cg_hung
;
i
=
list_count
(
run_job_list
)
+
cg_hung
;
if
(
(
i
==
0
)
||
(
i
>
MAX_JOB_CNT
)
)
/* Do not try to backfill if
goto
cleanup
;
/* no running jobs or already have many */
* we already have many running jobs,
if
(
list_is_empty
(
pend_job_list
))
* there are no pending jobs, OR
goto
cleanup
;
/* no pending jobs */
* there are insufficient idle nodes to start any pending jobs */
if
(
min_pend_job_size
>
part_specs
.
idle_node_cnt
)
if
((
i
>
MAX_JOB_CNT
)
goto
cleanup
;
/* not enough free nodes for any pending job */
||
list_is_empty
(
pend_job_list
)
||
(
min_pend_job_size
>
part_specs
.
idle_node_cnt
))
goto
cleanup
;
list_sort
(
pend_job_list
,
_sort_by_prio
);
list_sort
(
pend_job_list
,
_sort_by_prio
);
list_sort
(
run_job_list
,
_sort_by_end
);
list_sort
(
run_job_list
,
_sort_by_end
);
...
...
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