ttest_iceberg_removal.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_iceberg_removal.sh (858B)
---
1 #!/bin/bash
2
3 N=4
4 xx=151
5 yy=151
6 length=1
7
8 infile="test_iceberg_removal.nc"
9
10 ./test_iceberg_removal.py -Mx $xx -My $yy -o $infile -shelf -square
11
12 grid="-Mx $xx -My $yy -Mz 31 -Mbz 5 -Lz 1500 -Lbz 1000"
13
14 pc_asm=" -ssafd_ksp_type gmres -ssafd_ksp_norm_type unpreconditioned -ssafd_ksp_pc_side right -ssafd_pc_type asm -ssafd_sub_pc_type lu "
15
16 pismopts="-i $infile -bootstrap $grid -stress_balance ssa+sia -ssa_dirichlet_bc -ssa_view_nuh -view mask,thk -calving eigen_calving,thickness_calving -eigen_calving_K 1e18 -thickness_calving_threshold 300 -o_order zyx -ssafd_ksp_max_it 75 $pc_asm"
17
18
19 doit="mpiexec -n $N pismr $pismopts"
20
21 extra="-extra_times 0.05 -extra_vars thk,mask,velbar_mag,ice_area_specific_volume,velbar,mass_fluxes -extra_file iceberg_ex.nc"
22
23 # run with CFBC and part_grid
24 $doit -y $length -ssa_method fd -cfbc -part_grid -o iceberg_o.nc $extra