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
7fdb8395
Commit
7fdb8395
authored
13 years ago
by
Danny Auble
Browse files
Options
Downloads
Patches
Plain Diff
BLUEGENE - fix issue where incorrect block could be picked when requesting
on small blocks but need larger and the block size.
parent
1387a9b0
No related branches found
Branches containing commit
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/bg_job_place.c
+3
-1
3 additions, 1 deletion
src/plugins/select/bluegene/bg_job_place.c
with
3 additions
and
1 deletion
src/plugins/select/bluegene/bg_job_place.c
+
3
−
1
View file @
7fdb8395
...
@@ -377,7 +377,9 @@ static bg_record_t *_find_matching_block(List block_list,
...
@@ -377,7 +377,9 @@ static bg_record_t *_find_matching_block(List block_list,
this by since we will usually be given a
this by since we will usually be given a
larger block than our allocation request.
larger block than our allocation request.
*/
*/
if
(
!
bg_conf
->
sub_blocks
||
bg_record
->
mp_count
>
1
)
{
if
((
bg_record
->
cpu_cnt
<
request
->
procs
)
||
!
bg_conf
->
sub_blocks
||
(
bg_record
->
mp_count
>
1
))
{
/* We use the proccessor count per block here
/* We use the proccessor count per block here
mostly to see if we can run on a
mostly to see if we can run on a
smaller block.
smaller block.
...
...
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