summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2010-11-26 15:53:25 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2010-11-26 15:53:25 (GMT)
commitb2962e08d0a67a6a372381be2f26ece58a363c03 (patch)
treed7e5c720f82553ba059a80650312054d42f345eb
parentcbed41e53a1f50ca5218c03540c3968dff40b485 (diff)
downloadhdf5-b2962e08d0a67a6a372381be2f26ece58a363c03.zip
hdf5-b2962e08d0a67a6a372381be2f26ece58a363c03.tar.gz
hdf5-b2962e08d0a67a6a372381be2f26ece58a363c03.tar.bz2
[svn-r19849] Problem: AIX prints some error messages when MPI_Abort is called. That caused
the output matching some problems. Solution: Add stderr filtering for AIX ERROR: messages. Tested: NCSA BP.
-rwxr-xr-xtools/h5diff/testh5diff.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/tools/h5diff/testh5diff.sh b/tools/h5diff/testh5diff.sh
index 2949f6a..d46ec22 100755
--- a/tools/h5diff/testh5diff.sh
+++ b/tools/h5diff/testh5diff.sh
@@ -176,6 +176,13 @@ STDOUT_FILTER() {
# LA-MPI: *** Copyright 2001-2004, ACL, Los Alamos National Laboratory
# 3. h5diff debug output:
# Debug output all have prefix "h5diff debug: ".
+# 4. AIX system prints messages like these when it is aborting:
+# ERROR: 0031-300 Forcing all remote tasks to exit due to exit code 1 in task 0
+# ERROR: 0031-250 task 4: Terminated
+# ERROR: 0031-250 task 3: Terminated
+# ERROR: 0031-250 task 2: Terminated
+# ERROR: 0031-250 task 1: Terminated
+
STDERR_FILTER() {
result_file=$1
tmp_file=/tmp/h5test_tmp_$$
@@ -187,9 +194,10 @@ STDERR_FILTER() {
fi
# Filter LANL MPI messages
# and LLNL srun messages
+ # and AIX error messages
if test -n "$pmode"; then
cp $result_file $tmp_file
- sed -e '/^LA-MPI:/d' -e '/^srun:/d' \
+ sed -e '/^LA-MPI:/d' -e '/^srun:/d' -e '/^ERROR:/d' \
< $tmp_file > $result_file
fi
# Filter h5diff debug output