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
d3435cfc
Commit
d3435cfc
authored
12 years ago
by
Danny Auble
Browse files
Options
Downloads
Patches
Plain Diff
BGQ - Add 64 tasks per node as a valid option for srun when used with
overcommit.
parent
ea8818bb
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
+2
-0
2 additions, 0 deletions
NEWS
src/srun/libsrun/opt.c
+23
-11
23 additions, 11 deletions
src/srun/libsrun/opt.c
with
25 additions
and
11 deletions
NEWS
+
2
−
0
View file @
d3435cfc
...
...
@@ -130,6 +130,8 @@ documents those changes that are of interest to users and admins.
-- Reset node MAINT state flag when a reservation's nodes or flags change.
-- Accounting - Fix issue where QOS usage was being zeroed out on a
slurmctld restart.
-- BGQ - Add 64 tasks per node as a valid option for srun when used with
overcommit.
* Changes in SLURM 2.4.4
========================
...
...
This diff is collapsed.
Click to expand it.
src/srun/libsrun/opt.c
+
23
−
11
View file @
d3435cfc
...
...
@@ -1623,17 +1623,29 @@ extern void bg_figure_nodes_tasks()
opt
.
ntasks_per_node
=
ntpn
;
}
if
(
opt
.
nodes_set
&&
(
opt
.
ntasks_per_node
!=
1
)
&&
(
opt
.
ntasks_per_node
!=
2
)
&&
(
opt
.
ntasks_per_node
!=
4
)
&&
(
opt
.
ntasks_per_node
!=
8
)
&&
(
opt
.
ntasks_per_node
!=
16
)
&&
(
opt
.
ntasks_per_node
!=
32
))
fatal
(
"You requested -N %d and -n %d "
"which gives --ntasks-per-node=%d. "
"This isn't a valid request."
,
node_cnt
,
opt
.
ntasks
,
opt
.
ntasks_per_node
);
if
(
opt
.
nodes_set
)
{
if
((
opt
.
ntasks_per_node
!=
1
)
&&
(
opt
.
ntasks_per_node
!=
2
)
&&
(
opt
.
ntasks_per_node
!=
4
)
&&
(
opt
.
ntasks_per_node
!=
8
)
&&
(
opt
.
ntasks_per_node
!=
16
)
&&
(
opt
.
ntasks_per_node
!=
32
)
&&
(
opt
.
ntasks_per_node
!=
64
))
fatal
(
"You requested -N %d and -n %d "
"which gives --ntasks-per-node=%d. "
"This isn't a valid request."
,
node_cnt
,
opt
.
ntasks
,
opt
.
ntasks_per_node
);
else
if
(
!
opt
.
overcommit
&&
((
opt
.
ntasks_per_node
==
32
)
||
(
opt
.
ntasks_per_node
==
64
)))
fatal
(
"You requested -N %d and -n %d "
"which gives --ntasks-per-node=%d. "
"This isn't a valid request "
"without --overcommit."
,
node_cnt
,
opt
.
ntasks
,
opt
.
ntasks_per_node
);
}
}
}
...
...
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