Skip to content
Snippets Groups Projects
Commit fe4b4645 authored by Moe Jette's avatar Moe Jette
Browse files

refine test a bit.

parent c344bdef
No related branches found
No related tags found
No related merge requests found
......@@ -67,7 +67,7 @@ set host ""
set timeout $max_job_delay
set task_cnt 0
set srun_pid [spawn $srun -N1 --cpus-per-task=1 -l -t1 $file_in]
set srun_pid [spawn $srun -N1 --cpus-per-task=1 --exclusive -l -t1 $file_in]
expect {
-re "Granted job allocation ($number)" {
set job_id $expect_out(1,string)
......@@ -124,7 +124,7 @@ if {$cpu_cnt < 2} {
# Submit a 1 node job to determine the node's CPU count
#
set task_cnt 0
set srun_pid [spawn $srun -N1 -t1 --nodelist=$host --cpus-per-task=2 -l $bin_printenv SLURMD_NODENAME]
set srun_pid [spawn $srun -N1 -t1 --nodelist=$host --cpus-per-task=2 --exclusive -l $bin_printenv SLURMD_NODENAME]
expect {
-re "Invalid node name specified" {
send_user "\nWARNING: Appears you are using "
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment