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

Minor tweaks for poe tests

Need higher memory limits due to pmdv12 size
pmdv12 fails to recognize immediate application exit, hangs with defunct process
parent be8047d1
No related branches found
No related tags found
No related merge requests found
...@@ -64,7 +64,14 @@ if {[test_bluegene]} { ...@@ -64,7 +64,14 @@ if {[test_bluegene]} {
# #
# Delete left-over scripts and build new ones # Delete left-over scripts and build new ones
# #
# POE BUG: If the application exits immediately then pmdv12 hangs until
# slurm kills it with a timeout, thus the sleep below is required:
# F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD
# 4 R 1001 17141 17137 99 80 0 - 33410 ? ? 00:00:02 pmdv12
# 0 Z 1001 17152 17141 0 80 0 - 0 exit ? 00:00:00 test1.33.exit.b <defunct>
#
make_bash_script $exit_script " make_bash_script $exit_script "
$bin_sleep 2
RC=`expr \$SLURM_PROCID + 10` RC=`expr \$SLURM_PROCID + 10`
exit \$RC exit \$RC
" "
......
...@@ -58,8 +58,8 @@ set step_mem_opt "--comment=no_mem" ...@@ -58,8 +58,8 @@ set step_mem_opt "--comment=no_mem"
spawn -noecho $bin_bash -c "exec $scontrol show config | $bin_grep SelectTypeParameters" spawn -noecho $bin_bash -c "exec $scontrol show config | $bin_grep SelectTypeParameters"
expect { expect {
-re "MEMORY" { -re "MEMORY" {
set job_mem_opt "--mem-per-cpu=32" set job_mem_opt "--mem-per-cpu=64"
set step_mem_opt "--mem-per-cpu=1" set step_mem_opt "--mem-per-cpu=2"
exp_continue exp_continue
} }
eof { eof {
......
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