tMakefile: dump all possible vars in ex file - pism-exp-gsw - ice stream and se… | |
git clone git://src.adamsgaard.dk/pism-exp-gsw | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit abc2b96ee0c5daca9e2f7789177121c4c7b09ac2 | |
parent ee096824646daeb8bdebc0b6fd51bc356b345595 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Fri, 3 Dec 2021 10:37:30 +0100 | |
Makefile: dump all possible vars in ex file | |
Diffstat: | |
M Makefile | 12 +++++++----- | |
1 file changed, 7 insertions(+), 5 deletions(-) | |
--- | |
diff --git a/Makefile b/Makefile | |
t@@ -2,6 +2,7 @@ NPROC != awk '/^cpu cores/ {print $$4; exit}' /proc/cpuinfo | |
SLSERIES = sealvl.nc | |
INIT_T_END = 1e4 | |
T_END = 1e3 | |
+PISM_RES = -Mx 301 -My 3 -Mz 15 | |
PISM_COMMON = \ | |
-stress_balance ssa+sia\ | |
-gradient eta\ | |
t@@ -14,7 +15,8 @@ PISM_COMMON = \ | |
-sia_e 4.5 -ssa_e 0.512\ | |
-bed_def lc\ | |
-stress_balance.sia.max_diffusivity 1e4\ | |
- -extra_vars thk,topg,effbwp,velbar_mag,flux_mag,mask,dHdt,usurf,hardav… | |
+ -extra_vars \ | |
+ basal_mass_flux_floating,basal_mass_flux_grounded,basal_melt_r… | |
-backup_size big\ | |
-o_order zyx\ | |
t@@ -42,17 +44,17 @@ deltaSL-linear.nc: init-linear.nc ${SLSERIES} Makefile | |
${SLSERIES}: sealvl.py Makefile | |
printf '0\t0\n${T_END}\t200\n' | ./sealvl.py | |
-init-linear.nc: MISMIP_boot_1a_M1_A1.nc Makefile | |
+init-linear.nc: MISMIP_boot_1a_M1_A1.nc | |
mpiexec -n ${NPROC} \ | |
pismr -i MISMIP_boot_1a_M1_A1.nc\ | |
-bootstrap\ | |
- -Mx 301 -My 3 -Mz 15\ | |
+ ${PISM_RES}\ | |
-Lz 5000\ | |
${PISM_COMMON}\ | |
-front_retreat_file MISMIP_boot_1a_M1_A1.nc\ | |
- -ys 0 -ye ${INIT_T_END}\ | |
+ -ys -${INIT_T_END} -ye 0\ | |
-ts_file ts_$@\ | |
- -ts_times 0:50:${INIT_T_END}\ | |
+ -ts_times -${INIT_T_END}:50:0\ | |
-o $@\ | |
MISMIP_boot_1a_M1_A1.nc: prepare.py MISMIP.py |