From fd2b3a1534a49c0692bff230f9ceddc2ff5e3569 Mon Sep 17 00:00:00 2001 From: Moe Jette <jette1@llnl.gov> Date: Thu, 12 Jul 2007 00:24:26 +0000 Subject: [PATCH] Fix for problem running on small clusters. --- testsuite/expect/test1.19 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/testsuite/expect/test1.19 b/testsuite/expect/test1.19 index 0e8ca56336a..af555430dcb 100755 --- a/testsuite/expect/test1.19 +++ b/testsuite/expect/test1.19 @@ -240,8 +240,10 @@ if { [test_bluegene] } { set task_cnt 4 } +# Note: Task count is in the script for each srun +# There is not oversubscribe option for sbatch. set job_id 0 -set srun_pid [spawn $sbatch --output=/dev/null -N$node_cnt -n$task_cnt -t1 $file_in] +set srun_pid [spawn $sbatch --output=/dev/null -N$node_cnt -t1 $file_in] expect { -re "Submitted batch job ($number)" { set job_id $expect_out(1,string) -- GitLab