tMakefile: add sealvl.nc as requirement, collapse slab model to flowine - pism-exp-gsw - ice stream and sediment transport experiments
git clone git://src.adamsgaard.dk/pism-exp-gsw
Log
Files
Refs
README
LICENSE
---
commit e4dac5432aa0219eae7c6a5b35a6751018a6b55f
parent 01c7bbb7016088050c404dc4b8db89934fdc6142
Author: Anders Damsgaard 
Date:   Fri, 26 Nov 2021 14:52:05 +0100

Makefile: add sealvl.nc as requirement, collapse slab model to flowine

Diffstat:
  M Makefile                            |      12 ++++++++----

1 file changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/Makefile b/Makefile
t@@ -3,6 +3,7 @@ SLSERIES=sealvl.nc
 
 all: \
         ABC1_1a_M1_A1-flux.pdf\
+        ex_1a_M1_A1_1d.nc\
         #ABC1_1a_M3_A1-flux.pdf\
         #ABC1_3a_M1_A1-flux.pdf\
         #ABC1_3a_M3_A1-flux.pdf\
t@@ -19,6 +20,9 @@ ABC1_3a_M1_A1-flux.pdf: ABC1_3a_M1_A1.nc plot.py
 ABC1_3a_M3_A1-flux.pdf: ABC1_3a_M3_A1.nc plot.py
         ./plot.py ABC1_3a_M3_A1.nc
 
+ex_1a_M1_A1_1d.nc: ex_ABC1_1a_M1_A1.nc
+        flowline.py -o $@ --collapse -d y ex_ABC1_1a_M1_A1.nc
+
 ABC1_1a_M1_A1.nc: experiment-1a-mode-1.sh
         time sh experiment-1a-mode-1.sh ${NPROC} | tee out.1a-mode-1
 
t@@ -31,16 +35,16 @@ ABC1_3a_M1_A1.nc: experiment-3a-mode-1.sh
 ABC1_3a_M3_A1.nc: experiment-3a-mode-3.sh
         time sh experiment-3a-mode-3.sh ${NPROC} | tee out.3a-mode-3
 
-experiment-3a-mode-1.sh: run.py
+experiment-3a-mode-1.sh: run.py ${SLSERIES}
         ./run.py -e 3a --mode=1 > $@
 
-experiment-3a-mode-3.sh: run.py
+experiment-3a-mode-3.sh: run.py ${SLSERIES}
         ./run.py -e 3a --mode=3 --Mx=1201 > $@
 
-experiment-1a-mode-1.sh: run.py
+experiment-1a-mode-1.sh: run.py ${SLSERIES}
         ./run.py -e 1a --mode=1 > $@
 
-experiment-1a-mode-3.sh: run.py
+experiment-1a-mode-3.sh: run.py ${SLSERIES}
         ./run.py -e 1a --mode=3 --Mx=1201 > $@
 
 ${SLSERIES}: sealvl.py