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
f4887c74
Commit
f4887c74
authored
8 years ago
by
Morris Jette
Browse files
Options
Downloads
Patches
Plain Diff
Disable tests with configuration SelectTypeParameters=CR_ONE_TASK_PER_CORE
See commit
37161057
Bug 3124.
parent
ab077f64
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
testsuite/expect/test1.113
+6
-1
6 additions, 1 deletion
testsuite/expect/test1.113
testsuite/expect/test15.39
+6
-1
6 additions, 1 deletion
testsuite/expect/test15.39
testsuite/expect/test17.63
+6
-1
6 additions, 1 deletion
testsuite/expect/test17.63
with
18 additions
and
3 deletions
testsuite/expect/test1.113
+
6
−
1
View file @
f4887c74
...
...
@@ -39,6 +39,11 @@ set ncpus ""
print_header $test_id
if {[test_select_type_params "CR_ONE_TASK_PER_CORE"]} {
send_user "\nWARNING: This test is incompatible SelectTypeParameters=CR_ONE_TASK_PER_CORE\n"
exit 0
}
log_user 0
spawn $sinfo -N -h -p $partition -t idle -o "%c"
expect {
...
...
@@ -68,7 +73,7 @@ if {$matches < $needed_nodes} {
set nodes 0
set timeout $max_job_delay
set srun_pid [spawn $srun -p $partition -N1-2 --use-min-nodes -n$ncpus $bin_printenv SLURM_NNODES]
set srun_pid [spawn $srun -p $partition -N1-2 --use-min-nodes -n$ncpus
--ntasks-per-thread=1--cpu-bind=thread
$bin_printenv SLURM_NNODES]
expect {
-re "($number)" {
set nodes $expect_out(1,string)
...
...
This diff is collapsed.
Click to expand it.
testsuite/expect/test15.39
+
6
−
1
View file @
f4887c74
...
...
@@ -39,6 +39,11 @@ set ncpus ""
print_header $test_id
if {[test_select_type_params "CR_ONE_TASK_PER_CORE"]} {
send_user "\nWARNING: This test is incompatible SelectTypeParameters=CR_ONE_TASK_PER_CORE\n"
exit 0
}
log_user 0
spawn $sinfo -N -h -p $partition -t idle -o "%c"
expect {
...
...
@@ -68,7 +73,7 @@ if {$matches < $needed_nodes} {
set job_id 0
set timeout $max_job_delay
set salloc_pid [spawn $salloc -p $partition -N1-2 --use-min-nodes -n$ncpus $bin_printenv SLURM_NNODES]
set salloc_pid [spawn $salloc -p $partition -N1-2 --use-min-nodes -n$ncpus
--hint=nomultithread
$bin_printenv SLURM_NNODES]
#set salloc_pid [spawn $salloc -p $partition -N1-2 -n$ncpus $bin_printenv SLURM_NNODES]
expect {
-re "Granted job allocation ($number)" {
...
...
This diff is collapsed.
Click to expand it.
testsuite/expect/test17.63
+
6
−
1
View file @
f4887c74
...
...
@@ -43,6 +43,11 @@ set ncpus ""
print_header $test_id
if {[test_select_type_params "CR_ONE_TASK_PER_CORE"]} {
send_user "\nWARNING: This test is incompatible SelectTypeParameters=CR_ONE_TASK_PER_CORE\n"
exit 0
}
log_user 0
spawn $sinfo -N -h -p $partition -t idle -o "%c"
expect {
...
...
@@ -82,7 +87,7 @@ make_bash_script $file_in "
set cwd "[$bin_pwd]"
make_bash_script $file_script "
$sbatch -p $partition -N1-2 --use-min-nodes -n$ncpus --output=$file_out --error=$file_err $cwd/$file_in
$sbatch -p $partition -N1-2 --use-min-nodes -n$ncpus
--hint=nomultithread
--output=$file_out --error=$file_err $cwd/$file_in
exit 0
"
...
...
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