Skip to content
Snippets Groups Projects
Commit 72c13f78 authored by Danny Auble's avatar Danny Auble
Browse files

fix for new numcpus instead of numprocs

parent df526940
No related branches found
No related tags found
No related merge requests found
...@@ -49,7 +49,7 @@ for {set inx 1} {$inx < 4} {set inx [expr $inx * 2]} { ...@@ -49,7 +49,7 @@ for {set inx 1} {$inx < 4} {set inx [expr $inx * 2]} {
send "$scontrol show job $job_id\r" send "$scontrol show job $job_id\r"
exp_continue exp_continue
} }
-re "NumProcs=($number).*" { -re "NumCPUs=($number).*" {
set tasks_get $expect_out(1,string) set tasks_get $expect_out(1,string)
send "exit\r" send "exit\r"
exp_continue exp_continue
......
...@@ -71,7 +71,7 @@ expect { ...@@ -71,7 +71,7 @@ expect {
if {$job_id != 0} { if {$job_id != 0} {
spawn $scontrol show job $job_id spawn $scontrol show job $job_id
expect { expect {
-re "NumProcs=($number)" { -re "NumCPUs=($number)" {
set tasks $expect_out(1,string) set tasks $expect_out(1,string)
exp_continue exp_continue
} }
......
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