Skip to content
Snippets Groups Projects
Commit a3b64bd9 authored by Brian Christiansen's avatar Brian Christiansen
Browse files

Allow more test jobs to run at once a Cray

parent 604ee501
No related branches found
No related tags found
No related merge requests found
...@@ -91,7 +91,7 @@ $srun -N1 -n1 --mem=0 $bin_sleep $sleep_time ...@@ -91,7 +91,7 @@ $srun -N1 -n1 --mem=0 $bin_sleep $sleep_time
set start_cnt 0 set start_cnt 0
set timeout 30 set timeout 30
for {set inx 0} {$inx < $job_cnt} {incr inx} { for {set inx 0} {$inx < $job_cnt} {incr inx} {
set sbatch_pid [spawn $sbatch --job-name=$job_name --mem-per-cpu=[expr $mem_per_step * 10] --output=/dev/null --error=/dev/null -t5 $file_in] set sbatch_pid [spawn $sbatch --gres=craynetwork:0 --job-name=$job_name --mem-per-cpu=[expr $mem_per_step * 10] --output=/dev/null --error=/dev/null -t5 $file_in]
expect { expect {
-re "Submitted batch job ($number)" { -re "Submitted batch job ($number)" {
incr start_cnt incr start_cnt
......
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