tMakefile: do not output till-related variables in runs without -till_flux - pi… | |
git clone git://src.adamsgaard.dk/pism-exp-gsw | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit c96ac6a3ce035c69050082cb3bc36551f0301c7c | |
parent d37040f6b44e6badc352bb1941e1cd6808422e21 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Tue, 7 Dec 2021 19:28:27 +0100 | |
Makefile: do not output till-related variables in runs without -till_flux | |
Diffstat: | |
M Makefile | 10 ++++++++-- | |
1 file changed, 8 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/Makefile b/Makefile | |
t@@ -16,11 +16,13 @@ PISM_COMMON = \ | |
-bed_def lc\ | |
-sia_e 4.5 -ssa_e 0.512\ | |
-stress_balance.sia.max_diffusivity 1e4\ | |
- -extra_vars \ | |
- basal_mass_flux_floating,basal_mass_flux_grounded,basal_melt_r… | |
-backup_size big\ | |
-o_order zyx\ | |
-log_view\ | |
+OUT_VARS =\ | |
+ -extra_vars \ | |
+ basal_mass_flux_floating,basal_mass_flux_grounded,basal_melt_r… | |
+ | |
OUT_COMMON =\ | |
-extra_times 0:50:${T_END}\ | |
t@@ -62,6 +64,7 @@ deltaSL-linear.nc: init-linear.nc ${SLSERIES} | |
pismr -i init-linear.nc\ | |
${PISM_COMMON}\ | |
${OUT_COMMON}\ | |
+ ${OUT_VARS},tilldeposit,tillflux_mag,tillflux\ | |
-sea_level constant,delta_sl -ocean_delta_sl_file ${SL… | |
-till_flux\ | |
-extra_file ex_$@\ | |
t@@ -73,6 +76,7 @@ constant-linear.nc: init-linear.nc | |
pismr -i init-linear.nc\ | |
${PISM_COMMON}\ | |
${OUT_COMMON}\ | |
+ ${OUT_VARS},tilldeposit,tillflux_mag,tillflux\ | |
-till_flux\ | |
-extra_file ex_$@\ | |
-ts_file ts_$@\ | |
t@@ -83,6 +87,7 @@ nt-deltaSL-linear.nc: init-linear.nc ${SLSERIES} | |
pismr -i init-linear.nc\ | |
${PISM_COMMON}\ | |
${OUT_COMMON}\ | |
+ ${OUT_VARS}\ | |
-sea_level constant,delta_sl -ocean_delta_sl_file ${SL… | |
-extra_file ex_$@\ | |
-ts_file ts_$@\ | |
t@@ -93,6 +98,7 @@ nt-constant-linear.nc: init-linear.nc | |
pismr -i init-linear.nc\ | |
${PISM_COMMON}\ | |
${OUT_COMMON}\ | |
+ ${OUT_VARS}\ | |
-extra_file ex_$@\ | |
-ts_file ts_$@\ | |
-o $@ |