[svn-r11069] Purpose:

Bug fix

Description:
The testh5diff.sh script fails on mcr because of random srun messages
thrown into the output

Solution:
Added some code to filter out the srun messages before the output is compared.

Platforms tested:
LLNL mcr

Misc. update:
This commit is contained in:
Leon Arber 2005-07-13 12:42:21 -05:00
parent effd73de41
commit 48e977e9c8

View File

@ -92,9 +92,10 @@ STDERR_FILTER() {
< $tmp_file > $result_file
fi
# Filter LANL MPI messages
# and LLNL srun messages
if test -n "$pmode"; then
cp $result_file $tmp_file
sed -e '/^LA-MPI:/d' \
sed -e '/^LA-MPI:/d' -e '/^srun:/d' \
< $tmp_file > $result_file
fi
rm -f $tmp_file