ttest_17.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_17.sh (1573B) --- 1 #!/bin/bash 2 3 PISM_PATH=$1 4 MPIEXEC=$2 5 6 # Test name: 7 echo "Test #17: verif test G regression: thermo SIA w. time-dependent SMB." 8 # The list of files to delete when done. 9 files="test_17-G-out.txt" 10 11 rm -f $files 12 13 # run test G 14 OPTS="-test G -Mbz 1 -Mz 31 -y 1000 -o_size none -verbose 1" 15 $PISM_PATH/pismv -Mx 31 -My 31 $OPTS > test_17-G-out.txt 16 $PISM_PATH/pismv -Mx 41 -My 41 $OPTS >> test_17-G-out.txt 17 18 # compare results 19 diff test_17-G-out.txt - <<END-OF-OUTPUT 20 NUMERICAL ERRORS evaluated at final time (relative to exact solution): 21 geometry : prcntVOL maxH avH relmaxETA 22 0.780389 32.443559 7.148986 0.016300 23 temp : maxT avT basemaxT baseavT 24 0.834661 0.249470 0.747461 0.151304 25 Sigma : maxSig avSig 26 7.208339 0.955275 27 surf vels : maxUvec avUvec maxW avW 28 0.945140 0.199934 0.028361 0.004064 29 NUM ERRORS DONE 30 NUMERICAL ERRORS evaluated at final time (relative to exact solution): 31 geometry : prcntVOL maxH avH relmaxETA 32 0.782888 30.772156 7.242030 0.015477 33 temp : maxT avT basemaxT baseavT 34 0.894135 0.248278 0.746663 0.155383 35 Sigma : maxSig avSig 36 7.185588 0.913990 37 surf vels : maxUvec avUvec maxW avW 38 0.886013 0.194881 0.027400 0.004233 39 NUM ERRORS DONE 40 END-OF-OUTPUT 41 42 if [ $? != 0 ]; 43 then 44 exit 1 45 fi 46 47 rm -f $files; exit 0 48