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

Fix bug due to change in scontrol show job output format

parent f0bf790c
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,7 @@ if {$available < $node_cnt} {
log_user 0
set scontrol_pid [spawn $scontrol show nodes]
expect {
-re "CPUS=($number)" {
-re " CPUs=($number)" {
if {$expect_out(1,string) < $ppn_cnt} {
set ppn_cnt $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