tMakefile - 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 --- tMakefile (1318B) --- 1 M=101 2 grid=-Mx ${M} -My ${M} -Mz 3 -Lz 200 3 ssa=-stress_balance ssa+sia -ssa_dirichlet_bc -cfbc 4 mass=-part_grid 5 misc=-o_order zyx -energy none -o output.nc 6 extra=-extra_times 5 -extra_file ex.nc -extra_vars velbar_mag,thk,mask,taud,velbar 7 length=-y 1500 8 ts=-ts_file ts.nc -ts_times 1 9 10 options=${grid} ${ssa} ${mass} ${misc} ${length} ${ts} 11 12 default: tongues.nc 13 mpiexec -n 4 pismr -i tongues.nc -bootstrap ${options} ${extra} 14 15 extra_calving=-extra_times 5 -extra_file ex.nc -extra_vars taud,velbar_mag,thk,mask,discharge_flux_cumulative,velbar,discharge_flux,vonmises_calving_rate,eigen_calving_rate 16 eigen_calving: tongues.nc 17 mpiexec -n 4 pismr -i tongues.nc -bootstrap -calving eigen_calving -eigen_calving_K 2e18 \ 18 ${options} ${extra_calving} 19 20 vonmises_calving: tongues.nc 21 mpiexec -n 4 pismr -i tongues.nc -bootstrap -calving vonmises_calving -vonmises_calving_sigma_max 1e6\ 22 ${options} ${extra_calving} 23 24 eigen_plus_thickness_calving: tongues.nc 25 mpiexec -n 4 pismr -i tongues.nc -bootstrap -calving eigen_calving,thickness_calving \ 26 -eigen_calving_K 2e18 -thickness_calving_threshold 50 \ 27 ${options} ${extra_calving} 28 29 tongues.nc: generate_input.py 30 python ./generate_input.py -o $@ -M ${M} 31 32 clean: 33 rm -f *.nc *~