ttest_gradient_methods.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_gradient_methods.sh (632B)
---
1 #!/bin/bash
2
3 NN=4
4
5 INFILE=startSMALLablate.nc
6 GRID="-Lz 3500 -Mx 51 -My 51 -Mz 61 -y 500"
7 OPTS="-no_temp -extra_vars thk,usurf,h_x,h_y -extra_times 0:10:500 -o_size big -o_order zyx"
8
9 # With the bed smoother (default)
10 for method in mahaffy eta haseloff;
11 do
12 mpiexec -n $NN pismr -i $INFILE -bootstrap $GRID -gradient $method $OPTS -extra_file ex-$method.nc -o o-$method.nc
13 done;
14
15 # Without the bed smoother
16 OPTS="$OPTS -bed_smoother_range 0.0"
17 for method in mahaffy haseloff;
18 do
19 mpiexec -n $NN pismr -i $INFILE -bootstrap $GRID -gradient $method $OPTS -extra_file ex-no-smoother-$method.nc -o o-no-smoother-$method.nc
20 done;