From 48079fa0fa7c8274aa36d0f4f0ac82ade23e5b8c Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Fri, 15 Apr 2011 16:42:12 -0500 Subject: [svn-r20527] Blue-Gene port: dawndev mpirun issued diagnose messages to stderr if program exit non-zero. The messages messed up the matching with expected output. Added a filter to screen out the messages. Tested: LLNL dawndev --- tools/h5diff/testh5diff.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tools/h5diff/testh5diff.sh b/tools/h5diff/testh5diff.sh index 1a4d5e8..dfa5c972 100755 --- a/tools/h5diff/testh5diff.sh +++ b/tools/h5diff/testh5diff.sh @@ -187,10 +187,19 @@ STDOUT_FILTER() { # ERROR: 0031-250 task 3: Terminated # ERROR: 0031-250 task 2: Terminated # ERROR: 0031-250 task 1: Terminated +# 5. LLNL Blue-Gene mpirun prints messages like there when it exit non-zero: +# BE_MPI (ERROR): The error message in the job record is as follows: +# BE_MPI (ERROR): "killed by exit(1) on node 0" + STDERR_FILTER() { result_file=$1 tmp_file=/tmp/h5test_tmp_$$ + # Filter LLNL Blue-Gene error messages in both serial and parallel modes + # since mpirun is used in both modes. + cp $result_file $tmp_file + sed -e '/ BE_MPI (ERROR): /d' \ + < $tmp_file > $result_file # Filter MPE messages if test -n "$pmode"; then cp $result_file $tmp_file -- cgit v0.12