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

POE: Modify test to work with POE and configuration where smallest allocation is >1 CPU

parent bb5ce669
No related branches found
No related tags found
No related merge requests found
...@@ -431,6 +431,10 @@ if {[string compare $test_0 $test_1] != 0} { ...@@ -431,6 +431,10 @@ if {[string compare $test_0 $test_1] != 0} {
set processors 1 set processors 1
send "$srun -l -c1 $bin_printenv $node_name_env\r" send "$srun -l -c1 $bin_printenv $node_name_env\r"
expect { expect {
-re "($number)-($number):($alpha_numeric_under)" {
set processors [expr $processors + $expect_out(2,string) - $expect_out(1,string) + 1]
exp_continue
}
-re "($number): *($alpha_numeric_under)" { -re "($number): *($alpha_numeric_under)" {
incr processors incr processors
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