summaryrefslogtreecommitdiffstats
path: root/tools/h5diff
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2011-04-15 21:42:12 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2011-04-15 21:42:12 (GMT)
commit48079fa0fa7c8274aa36d0f4f0ac82ade23e5b8c (patch)
tree4a4e589ceacddf06b02d842891cae1d7da59b31f /tools/h5diff
parentb6cf1e2aa15a5f7d2ab807f54372c88aea98878c (diff)
downloadhdf5-48079fa0fa7c8274aa36d0f4f0ac82ade23e5b8c.zip
hdf5-48079fa0fa7c8274aa36d0f4f0ac82ade23e5b8c.tar.gz
hdf5-48079fa0fa7c8274aa36d0f4f0ac82ade23e5b8c.tar.bz2
[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
Diffstat (limited to 'tools/h5diff')
-rwxr-xr-xtools/h5diff/testh5diff.sh9
1 files changed, 9 insertions, 0 deletions
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:
+# <Apr 12 15:01:49.075658> BE_MPI (ERROR): The error message in the job record is as follows:
+# <Apr 12 15:01:49.075736> 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