Skip to content
Snippets Groups Projects
Commit e20c948d authored by Morris Jette's avatar Morris Jette
Browse files

Merge branch 'slurm-16.05'

parents 3251406c 494814e2
No related branches found
No related tags found
No related merge requests found
...@@ -47,15 +47,15 @@ print_header $test_id ...@@ -47,15 +47,15 @@ print_header $test_id
# The "sleep 1" insures the background tasks is step 0 and foreground tasks is step 1 # The "sleep 1" insures the background tasks is step 0 and foreground tasks is step 1
# #
make_bash_script $file_in " make_bash_script $file_in "
$srun $bin_sleep $max_job_delay & $srun --mem=10 $bin_sleep $max_job_delay &
$bin_sleep 1 $bin_sleep 1
$srun $bin_sleep $max_job_delay $srun --mem=10 $bin_sleep $max_job_delay
" "
# #
# Spawn sbatch job # Spawn sbatch job
# #
set sbatch_pid [spawn $sbatch --output=/dev/null --error=/dev/null --job-name=job.$test_id -t5 $file_in] set sbatch_pid [spawn $sbatch --output=/dev/null --error=/dev/null --mem=20 --job-name=job.$test_id -t5 $file_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)
......
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