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
5453fb87
Commit
5453fb87
authored
8 years ago
by
Morris Jette
Browse files
Options
Downloads
Plain Diff
Merge branch 'slurm-15.08' into slurm-16.05
parents
f31751fe
f0814910
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
testsuite/expect/test17.34
+20
-11
20 additions, 11 deletions
testsuite/expect/test17.34
testsuite/expect/test17.40
+13
-11
13 additions, 11 deletions
testsuite/expect/test17.40
with
33 additions
and
22 deletions
testsuite/expect/test17.34
+
20
−
11
View file @
5453fb87
...
@@ -62,8 +62,14 @@ proc core_spec_job {task node core_spec exp_nodes} {
...
@@ -62,8 +62,14 @@ proc core_spec_job {task node core_spec exp_nodes} {
} else {
} else {
set task_limit 1
set task_limit 1
}
}
set ntasks [expr abs($task_limit + $task)]
if {$ntasks == 0} {
set ntasks 1
}
set error_chk 0
set error_chk 0
spawn $sbatch -t1 -w$node -S$core_spec -n
[expr abs($task_limit + $task)]
-o$file_out $spec_in
spawn $sbatch -t1 -w$node -S$core_spec -n
$ntasks
-o$file_out $spec_in
expect {
expect {
-re "Submitted batch job ($number)" {
-re "Submitted batch job ($number)" {
set job_id $expect_out(1,string)
set job_id $expect_out(1,string)
...
@@ -156,6 +162,19 @@ proc core_spec_job {task node core_spec exp_nodes} {
...
@@ -156,6 +162,19 @@ proc core_spec_job {task node core_spec exp_nodes} {
print_header $test_id
print_header $test_id
set select_type [test_select_type]
if {![string compare $select_type "linear"] || ![string compare $select_type "serial"]} {
send_user "\nWARNING: This test is incompatible with select/$select_type\n"
exit 0
} elseif {![string compare $select_type "cray"] && ![test_select_type_params "other_cons_res"]} {
send_user "\nWARNING: This test is incompatible with select/linear\n"
exit 0
}
if {[test_select_type_params "CR_SOCKET"]} {
send_user "\nWARNING: This test is incompatible with CR_SOCKET allocations\n"
exit 0
}
log_user 0
log_user 0
set allow_spec 0
set allow_spec 0
spawn $scontrol show config
spawn $scontrol show config
...
@@ -178,16 +197,6 @@ if {$allow_spec == 0} {
...
@@ -178,16 +197,6 @@ if {$allow_spec == 0} {
exit $exit_code
exit $exit_code
}
}
set select_type [test_select_type]
if {![string compare $select_type "linear"]} {
send_user "\nWARNING: This test is incompatible with select/$select_type\n"
exit 0
}
if {[test_select_type_params "CR_SOCKET"]} {
send_user "\nWARNING: This test is incompatible with CR_SOCKET allocations\n"
exit 0
}
# Remove any vestigial files
# Remove any vestigial files
exec $bin_rm -f $file_in $file_out $spec_in
exec $bin_rm -f $file_in $file_out $spec_in
...
...
This diff is collapsed.
Click to expand it.
testsuite/expect/test17.40
+
13
−
11
View file @
5453fb87
...
@@ -156,6 +156,19 @@ proc thread_spec_job {task node thread_spec exp_nodes} {
...
@@ -156,6 +156,19 @@ proc thread_spec_job {task node thread_spec exp_nodes} {
print_header $test_id
print_header $test_id
set select_type [test_select_type]
if {![string compare $select_type "linear"] || ![string compare $select_type "serial"]} {
send_user "\nWARNING: This test is incompatible with select/$select_type\n"
exit 0
} elseif {![string compare $select_type "cray"] && ![test_select_type_params "other_cons_res"]} {
send_user "\nWARNING: This test is incompatible with select/linear\n"
exit 0
}
if {[test_select_type_params "CR_SOCKET"]} {
send_user "\nWARNING: This test is incompatible with CR_SOCKET allocations\n"
exit 0
}
log_user 0
log_user 0
set allow_spec 0
set allow_spec 0
spawn $scontrol show config
spawn $scontrol show config
...
@@ -178,17 +191,6 @@ if {$allow_spec == 0} {
...
@@ -178,17 +191,6 @@ if {$allow_spec == 0} {
exit $exit_code
exit $exit_code
}
}
set select_type [test_select_type]
if {![string compare $select_type "linear"] || ![string compare $select_type "serial"]} {
send_user "\nWARNING: This test is incompatible with select/$select_type\n"
exit 0
}
if {[test_select_type_params "CR_SOCKET"]} {
send_user "\nWARNING: This test is incompatible with CR_SOCKET allocations\n"
exit 0
}
# Remove any vestigial files
# Remove any vestigial files
exec $bin_rm -f $file_in $file_out $spec_in
exec $bin_rm -f $file_in $file_out $spec_in
...
...
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