diff --git a/testsuite/expect/test1.113 b/testsuite/expect/test1.113 index d248e839adbc7852a6a92ca23d177cfbcb6cfa6e..1a4a98d4359609ed2503f974e3a225008d379002 100755 --- a/testsuite/expect/test1.113 +++ b/testsuite/expect/test1.113 @@ -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) diff --git a/testsuite/expect/test15.39 b/testsuite/expect/test15.39 index dbd9a2b865161000add56850f6bd06d56b175279..a7e6218beddf6b2f5c573b645e5f93393f1d52f7 100755 --- a/testsuite/expect/test15.39 +++ b/testsuite/expect/test15.39 @@ -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)" { diff --git a/testsuite/expect/test17.63 b/testsuite/expect/test17.63 index e35fbcf250f10cfa6c04085cdf7d12219a358a09..ffaf3f381daf3ce1f52c7665eaaa9785911b317b 100755 --- a/testsuite/expect/test17.63 +++ b/testsuite/expect/test17.63 @@ -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 "