ttest_calving_at_thickness.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_calving_at_thickness.sh (880B)
---
1 #!/bin/bash
2
3 set -x
4 set -e
5
6 N=4
7 M=101
8 xx=$M
9 yy=$M
10 length=600
11
12 infile="circular_noshelf.nc"
13
14 output_basename="test_calving_at_thickness"
15
16 ./circular_dirichlet.py -Mx $xx -My $yy -o $infile
17
18 grid="-Mx $xx -My $yy -Mz 3 -Mbz 1 -Lz 1500 -Lbz 0"
19
20 stressbalance="-ssa_method fd -stress_balance ssa -ssa_dirichlet_bc $pc"
21
22 calving="-calving thickness_calving -thickness_calving_threshold_file circular_noshelf.nc"
23
24 diagnostics="thk,mask,velbase_mag,ice_area_specific_volume,velbase,mass_fluxes,flux_staggered,flux_divergence"
25
26 viewers="-view $diagnostics"
27
28 extra="-extra_times 10 -extra_vars $diagnostics -extra_file ${output_basename}_ex.nc"
29
30 misc_options="-cfbc -part_grid -o_order zyx -energy none"
31
32 pismopts="-i $infile -bootstrap $grid $stressbalance $calving $viewers $extra $misc_options"
33
34 doit="mpiexec -n $N pismr"
35
36 set -x
37
38 $doit $pismopts -y $length -o ${output_basename}_o.nc