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
d2e53968
Commit
d2e53968
authored
10 years ago
by
Morris Jette
Browse files
Options
Downloads
Patches
Plain Diff
Fix typo in test
cores specialization test 17.34 failed with bad assignment logic
parent
6b037018
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
testsuite/expect/test17.34
+4
-1
4 additions, 1 deletion
testsuite/expect/test17.34
with
4 additions
and
1 deletion
testsuite/expect/test17.34
+
4
−
1
View file @
d2e53968
...
...
@@ -228,7 +228,7 @@ expect {
wait
}
}
set
$
core_cnt [expr $core_cnt * $socket_cnt]
set core_cnt [expr $core_cnt * $socket_cnt]
if {$core_cnt == 0} {
send_user "\nFAILURE: sbatch did not find the number of cores\n"
exit 1
...
...
@@ -241,6 +241,7 @@ if {$core_cnt < 4} {
#
# Using the core spec within the node limits
#
send_user "\n\nRun within the specified node\n"
core_spec_job 0 $first_node [expr $core_cnt - 2] 0
core_spec_job -2 $first_node [expr $core_cnt - 2] 0
...
...
@@ -248,12 +249,14 @@ core_spec_job -2 $first_node [expr $core_cnt - 2] 0
# Using core spec with more tasks then the node can handle. This should
# cause the tasks to spread accross mutliple nodes as needed
#
send_user "\n\nSpread job across multiple nodes\n"
core_spec_job 1 $first_node [expr $core_cnt - 2] 1
core_spec_job 1 $first_node [expr $core_cnt - 1] 1
#
# Using core spec with more cores then the specified node has
#
send_user "\n\nFail by trying to use more cores than exist\n"
core_spec_job 1 $first_node [expr $core_cnt + 5] -1
core_spec_job 1 $first_node [expr $core_cnt + 7] -1
...
...
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