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

Fix for problem running on small clusters.

parent 5c6c2e83
No related branches found
No related tags found
No related merge requests found
...@@ -240,8 +240,10 @@ if { [test_bluegene] } { ...@@ -240,8 +240,10 @@ if { [test_bluegene] } {
set task_cnt 4 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 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 { 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