Introduction
Introduction Statistics Contact Development Disclaimer Help
tMakefile: add constant sea-level experiment - pism-exp-gsw - ice stream and se…
git clone git://src.adamsgaard.dk/pism-exp-gsw
Log
Files
Refs
README
LICENSE
---
commit 25e1f8797bdf47bc4b6ac637295ba4d3f1f70123
parent 4617d9994263057846e20bbb18d4891bf633aa93
Author: Anders Damsgaard <[email protected]>
Date: Tue, 7 Dec 2021 15:01:25 +0100
Makefile: add constant sea-level experiment
Diffstat:
M Makefile | 26 +++++++++++++++++++++++---
1 file changed, 23 insertions(+), 3 deletions(-)
---
diff --git a/Makefile b/Makefile
t@@ -1,7 +1,7 @@
NPROC != awk '/^cpu cores/ {print $$4; exit}' /proc/cpuinfo
SLSERIES = sealvl.nc
INIT_T_END = 1e4
-T_END = 1e3
+T_END = 1e4
PISM_RES = -Mx 301 -My 3 -Mz 15
PISM_COMMON = \
-stress_balance ssa+sia\
t@@ -17,13 +17,14 @@ PISM_COMMON = \
-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…
+ basal_mass_flux_floating,basal_mass_flux_grounded,basal_melt_r…
-backup_size big\
-o_order zyx\
-log_view\
all: \
ex_deltaSL-linear_1d-profile.pdf\
+ ex_constant-linear_1d-profile.pdf\
ex_deltaSL-linear_1d-profile.pdf: ex_deltaSL-linear_1d.nc plot-time-series.py
./plot-time-series.py ex_deltaSL-linear_1d.nc
t@@ -31,12 +32,30 @@ ex_deltaSL-linear_1d-profile.pdf: ex_deltaSL-linear_1d.nc …
ex_deltaSL-linear_1d.nc: deltaSL-linear.nc
flowline.py -o $@ --collapse -d y ex_deltaSL-linear.nc
+ex_constant-linear_1d-profile.pdf: ex_constant-linear_1d.nc plot-time-series.py
+ ./plot-time-series.py ex_constant-linear_1d.nc
+
+ex_constant-linear_1d.nc: constant-linear.nc
+ flowline.py -o $@ --collapse -d y ex_constant-linear.nc
+
deltaSL-linear.nc: init-linear.nc ${SLSERIES}
mpiexec -n ${NPROC} \
pismr -i init-linear.nc\
${PISM_COMMON}\
- -till_flux\
-sea_level constant,delta_sl -ocean_delta_sl_file ${SL…
+ -till_flux\
+ -extra_file ex_$@\
+ -extra_times 0:50:${T_END}\
+ -ts_file ts_$@\
+ -ts_times 0:50:${T_END}\
+ -ys 0 -ye ${T_END}\
+ -o $@
+
+constant-linear.nc: init-linear.nc ${SLSERIES}
+ mpiexec -n ${NPROC} \
+ pismr -i init-linear.nc\
+ ${PISM_COMMON}\
+ -till_flux\
-extra_file ex_$@\
-extra_times 0:50:${T_END}\
-ts_file ts_$@\
t@@ -44,6 +63,7 @@ deltaSL-linear.nc: init-linear.nc ${SLSERIES}
-ys 0 -ye ${T_END}\
-o $@
+
${SLSERIES}: sealvl.py
printf '0\t0\n${T_END}\t200\n' | ./sealvl.py
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.