tMakefile: set duration of initialization in common variable - pism-exp-gsw - ice stream and sediment transport experiments
 (HTM) git clone git://src.adamsgaard.dk/pism-exp-gsw
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 224ed0df9af6e86704eca4a49f2f57c0cb5f2143
 (DIR) parent 8b985b054a316b0cc9f72041ba2f3fc9ae284f33
 (HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
       Date:   Mon, 29 Nov 2021 13:48:18 +0100
       
       Makefile: set duration of initialization in common variable
       
       Diffstat:
         M Makefile                            |       7 ++++---
       
       1 file changed, 4 insertions(+), 3 deletions(-)
       ---
 (DIR) diff --git a/Makefile b/Makefile
       t@@ -1,5 +1,6 @@
        NPROC != awk '/^cpu cores/ {print $$4; exit}' /proc/cpuinfo
        SLSERIES=sealvl.nc
       +INIT_T_END=1e4
        T_END=1e3
        
        all: \
       t@@ -39,7 +40,7 @@ init-linear.nc: MISMIP_boot_1a_M1_A1.nc
                                -gradient eta\
                                -front_retreat_file MISMIP_boot_1a_M1_A1.nc\
                                -cfbc -part_grid -kill_icebergs -subgl\
       -                        -ys 0 -ye 10e3\
       +                        -ys 0 -ye ${INIT_T_END}\
                                -options_left\
                                -plastic_phi 24\
                                -till_cohesion 0\
       t@@ -49,10 +50,10 @@ init-linear.nc: MISMIP_boot_1a_M1_A1.nc
                                -bed_def lc\
                                -stress_balance.sia.max_diffusivity 1e4\
                                -extra_file ex_$@\
       -                        -extra_times 0:50:3e4\
       +                        -extra_times 0:50:${INIT_T_END}\
                                -extra_vars thk,topg,effbwp,velbar_mag,flux_mag,mask,dHdt,usurf,hardav,velbase_mag,nuH,tauc,taud,taub,flux_divergence,cell_grounded_fraction\
                                -ts_file ts_$@\
       -                        -ts_times 0:50:3e4\
       +                        -ts_times 0:50:${INIT_T_END}\
                                -backup_size big\
                                -o $@\
                                -o_order zyx