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
8d7c3dc0
Commit
8d7c3dc0
authored
14 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
tweak the test to operate properly on a core scheduled system with more than
one thread configured per core
parent
6a2f20c4
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
testsuite/expect/test1.84
+2
-2
2 additions, 2 deletions
testsuite/expect/test1.84
with
2 additions
and
2 deletions
testsuite/expect/test1.84
+
2
−
2
View file @
8d7c3dc0
...
@@ -67,7 +67,7 @@ set host ""
...
@@ -67,7 +67,7 @@ set host ""
set timeout $max_job_delay
set timeout $max_job_delay
set task_cnt 0
set task_cnt 0
set srun_pid [spawn $srun -N1 --cpus-per-task=1 --exclusive -l -t1 $file_in]
set srun_pid [spawn $srun -N1 --cpus-per-task=1
--threads-per-core=1
--exclusive -l -t1 $file_in]
expect {
expect {
-re "Granted job allocation ($number)" {
-re "Granted job allocation ($number)" {
set job_id $expect_out(1,string)
set job_id $expect_out(1,string)
...
@@ -119,7 +119,7 @@ if {$cpu_cnt != $task_cnt} {
...
@@ -119,7 +119,7 @@ if {$cpu_cnt != $task_cnt} {
set exit_code 1
set exit_code 1
}
}
if {$cpu_cnt < 2} {
if {$cpu_cnt < 2} {
send_user "\nWARNING: The node only has one
CPU
\n"
send_user "\nWARNING: The node only has one
core
\n"
exit $exit_code
exit $exit_code
}
}
...
...
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