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
cfe2e288
Commit
cfe2e288
authored
20 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
Modify select/bluegene to honor job's required node list.
parent
412ca043
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
+1
-0
1 addition, 0 deletions
NEWS
src/plugins/select/bluegene/bluegene.c
+16
-4
16 additions, 4 deletions
src/plugins/select/bluegene/bluegene.c
with
17 additions
and
4 deletions
NEWS
+
1
−
0
View file @
cfe2e288
...
...
@@ -12,6 +12,7 @@ documents those changes that are of interest to users and admins.
(e.g. Blue Gene)
-- Fix srun bug when --input, --output and --error are all "none"
-- Don't schedule jobs for user root if partition is DOWN
-- Modify select/bluegene to honor job's required node list
* Changes in SLURM 0.4.0-pre3
=============================
...
...
This diff is collapsed.
Click to expand it.
src/plugins/select/bluegene/bluegene.c
+
16
−
4
View file @
cfe2e288
...
...
@@ -56,9 +56,10 @@ _STMT_START { \
/** some local functions */
static
int
_copy_slurm_partition_list
(
List
slurm_part_list
);
static
int
_find_best_partition_match
(
struct
job_record
*
job_ptr
,
bitstr_t
*
slurm_part_bitmap
,
int
min_nodes
,
int
max_nodes
,
int
spec
,
bgl_record_t
**
found_bgl_record
);
static
int
_find_best_partition_match
(
struct
job_record
*
job_ptr
,
bitstr_t
*
slurm_part_bitmap
,
int
min_nodes
,
int
max_nodes
,
int
spec
,
bgl_record_t
**
found_bgl_record
);
static
int
_parse_request
(
char
*
request_string
,
partition_t
**
request
);
static
int
_wire_bgl_partitions
(
void
);
static
int
_bgl_record_cmpf_inc
(
bgl_record_t
*
rec_a
,
bgl_record_t
*
rec_b
);
...
...
@@ -698,7 +699,18 @@ static int _find_best_partition_match(struct job_record* job_ptr,
* SLURM partition not available to this job.
*/
if
(
!
bit_super_set
(
record
->
bitmap
,
slurm_part_bitmap
))
{
debug
(
"bgl partition %s has nodes not usable by this job"
,
debug
(
"bgl partition %s has nodes not usable by this "
"job"
,
record
->
nodes
);
continue
;
}
/*
* Insure that any required nodes are in this BGL partition
*/
if
(
job_ptr
->
details
->
req_node_bitmap
&&
(
!
bit_super_set
(
job_ptr
->
details
->
req_node_bitmap
,
record
->
bitmap
)))
{
info
(
"bgl partition %s lacks required nodes"
,
record
->
nodes
);
continue
;
}
...
...
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