File: run_par_test.sh.in

package info (click to toggle)
netcdf-parallel 1%3A4.7.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 105,352 kB
  • sloc: ansic: 229,114; sh: 11,180; yacc: 2,561; makefile: 1,390; lex: 1,173; xml: 173; awk: 2
file content (60 lines) | stat: -rw-r--r-- 1,745 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
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#!/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.

# Ed Hartnett, Dennis Heimbigner, Ward Fisher

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_mode
echo
echo "Testing MPI parallel I/O without netCDF..."
@MPIEXEC@ -n 4 ./tst_mpi_parallel
echo
echo "Testing very simple parallel I/O with 4 processors..."
@MPIEXEC@ -n 4 ./tst_parallel
echo
echo "Testing simple parallel I/O with 16 processors..."
@MPIEXEC@ -n 16 ./tst_parallel3
echo
echo "num_proc   time(s)  write_rate(B/s)"
@MPIEXEC@ -n 1 ./tst_parallel4
@MPIEXEC@ -n 2 ./tst_parallel4
@MPIEXEC@ -n 4 ./tst_parallel4
@MPIEXEC@ -n 8 ./tst_parallel4

# These work but are commented out to speed up the testing.
#@MPIEXEC@ -n 16 ./tst_parallel4
#@MPIEXEC@ -n 32 ./tst_parallel4
#@MPIEXEC@ -n 64 ./tst_parallel4
echo
echo "Testing collective writes with some 0 element writes..."
@MPIEXEC@ -n 4 ./tst_parallel5

echo
echo "Parallel Performance Test for NASA"
@MPIEXEC@ -n 4 ./tst_nc4perf

echo
echo "Parallel I/O test for Collective I/O, contributed by HDF Group."
@MPIEXEC@ -n 1 ./tst_simplerw_coll_r
@MPIEXEC@ -n 2 ./tst_simplerw_coll_r
@MPIEXEC@ -n 4 ./tst_simplerw_coll_r

# Only run these tests if HDF5 supports parallel filters (v1.10.2 and
# later).
if test "@HAS_PAR_FILTERS@" = "yes"; then
    echo
    echo "Parallel I/O test with zlib."
    @MPIEXEC@ -n 1 ./tst_parallel_zlib
    @MPIEXEC@ -n 4 ./tst_parallel_zlib

    echo
    echo "Parallel I/O more tests with zlib and szip (if present in HDF5)."
    @MPIEXEC@ -n 1 ./tst_parallel_compress
    @MPIEXEC@ -n 4 ./tst_parallel_compress
fi