File: run_par_warn_test.sh.in

package info (click to toggle)
netcdf-parallel 1%3A4.9.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 116,192 kB
  • sloc: ansic: 279,265; sh: 14,143; cpp: 5,971; yacc: 2,612; makefile: 2,075; lex: 1,218; javascript: 280; xml: 173; awk: 2
file content (20 lines) | stat: -rw-r--r-- 552 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

# This .in file is processed at build time into a shell that runs some
# parallel I/O tests for netCDF/HDF5 parallel I/O. This tests for
# unexpected output from the HDF5 library. See
# https://github.com/Unidata/netcdf-c/issues/3003.

# Ed Hartnett

set -e

if test "x$srcdir" = x ; then srcdir=`pwd`; fi
. ../test_common.sh

echo
echo "Testing MPI parallel I/O with various other mode flags..."
@MPIEXEC@ -n 1 ./tst_warn > tmp_tst_warn_out.txt 2>&1
cat tmp_tst_warn_out.txt
diff -w tmp_tst_warn_out.txt ${srcdir}/ref_tmp_tst_warn_out.txt