ttest_15.sh - pism - [fork] customized build of PISM, the parallel ice sheet model (tillflux branch)
(HTM) git clone git://src.adamsgaard.dk/pism
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
ttest_15.sh (951B)
---
1 #!/bin/bash
2
3 PISM_PATH=$1
4 MPIEXEC=$2
5
6 # Test name:
7 echo "Test #15: verif test C regression: isothermal SIA w. time-dependent SMB."
8 # The list of files to delete when done.
9 files="test_15-C-out.txt"
10
11 rm -f $files
12
13 # run test C
14 OPTS="-test C -Mbz 1 -Mz 31 -y 5000 -o_size none -verbose 1"
15 $PISM_PATH/pismv -Mx 31 -My 31 $OPTS > test_15-C-out.txt
16 $PISM_PATH/pismv -Mx 41 -My 41 $OPTS >> test_15-C-out.txt
17
18 # compare results
19 diff test_15-C-out.txt - <<END-OF-OUTPUT
20 NUMERICAL ERRORS evaluated at final time (relative to exact solution):
21 geometry : prcntVOL maxH avH relmaxETA
22 80.824124 503.131175 3.114691 0.820828
23 NUM ERRORS DONE
24 NUMERICAL ERRORS evaluated at final time (relative to exact solution):
25 geometry : prcntVOL maxH avH relmaxETA
26 32.783573 193.022555 1.330304 0.405692
27 NUM ERRORS DONE
28 END-OF-OUTPUT
29
30 if [ $? != 0 ];
31 then
32 exit 1
33 fi
34
35 rm -f $files; exit 0
36