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
ec59bb1b
Commit
ec59bb1b
authored
10 years ago
by
Danny Auble
Browse files
Options
Downloads
Patches
Plain Diff
Minor performance mod to commit
3f736aa2
parent
75f49511
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/slurmctld/node_scheduler.c
+4
-2
4 additions, 2 deletions
src/slurmctld/node_scheduler.c
with
4 additions
and
2 deletions
src/slurmctld/node_scheduler.c
+
4
−
2
View file @
ec59bb1b
...
...
@@ -1682,9 +1682,11 @@ extern int select_nodes(struct job_record *job_ptr, bool test_only,
/* Set this guess here to give the user tools an idea
* of how many nodes Slurm is planning on giving the job.
* This needs to be done on success or not. It means the job
* could run on nodes.
* could run on nodes. We only set the wag once to avoid
* having to go through the bit logic multiple times.
*/
if
(
select_bitmap
)
{
if
(
select_bitmap
&&
((
error_code
==
SLURM_SUCCESS
)
||
!
job_ptr
->
node_cnt_wag
))
{
#ifdef HAVE_BG
xassert
(
job_ptr
->
select_jobinfo
);
select_g_select_jobinfo_get
(
job_ptr
->
select_jobinfo
,
...
...
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