Skip to content
Snippets Groups Projects
Commit ee969cd7 authored by Martin Schupfner's avatar Martin Schupfner
Browse files

Finalized scripts for MPI-ESM transient-deglaciation-interactive_r1i1p4f2-CR

parent 970dc83c
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@ do
done
done
rm -f cmor_ctl_list_interactive_synch_r1i1p1f1
rm -f cmor_ctl_list_interactive_synch_r1i1p4f2
in=0
for i in $(seq $((iniyear-iniyear)) $chunksize $((finyear-iniyear)))
do
......@@ -51,15 +51,15 @@ do
ui=$(echo ${paramarr[$((i-1))]} | cut -d " " -f1)
uy=$(echo ${paramarr[$((i-1))]} | cut -d " " -f2)
in=$i
echo "$li $ui $ly $uy" >> cmor_ctl_list_interactive_synch_r1i1p1f1
echo "$li $ui $ly $uy" >> cmor_ctl_list_interactive_synch_r1i1p4f2
done
[[ $i -ne $((finyear-iniyear)) ]] && {
li=$(echo ${paramarr[$in]} | cut -d " " -f1)
ly=$(echo ${paramarr[$in]} | cut -d " " -f2)
ui=$(echo ${paramarr[$((finyear-iniyear))]} | cut -d " " -f1)
uy=$(echo ${paramarr[$((finyear-iniyear))]} | cut -d " " -f2)
echo "$li $ui $ly $uy" >> cmor_ctl_list_interactive_synch_r1i1p1f1
echo "$li $ui $ly $uy" >> cmor_ctl_list_interactive_synch_r1i1p4f2
}
#make -k -j 19 -f transient-deglaciation-interactive_r1i1p1f1-CR.cmor_ctl.mk "$@"
make -k -j 19 -f transient-deglaciation-interactive_r1i1p4f2-CR.cmor_ctl.mk "$@"
EXP_ID = transient-deglaciation-interactive_r1i1p1f1-CR
EXP_ID = transient-deglaciation-interactive_r1i1p4f2-CR
ACCOUNT = bm0021
PARTITION = compute
......@@ -7,7 +7,7 @@ SUFFIX =
ARCHIVE_SUFFIX =
TARGET_STEP=cmor
NUMCHUNKS=$(shell cat cmor_ctl_list_interactive_synch_r1i1p1f1 | wc -l )
NUMCHUNKS=$(shell cat cmor_ctl_list_interactive_synch_r1i1p4f2 | wc -l )
AGGR_TIME = 00:10:00
DIAGS_TIME = 00:30:00
......@@ -31,14 +31,14 @@ all:
@echo "$(MESSAGE) finished"
targets/$(EXP_ID).aggr$(SUFFIX).%:
sbatch $(SBATCHFLAGS) --time=$(AGGR_TIME) --job-name=$(EXP_ID)_runpp_aggr$(SUFFIX) --output=%x_%j.log --comment=$* $(EXP_ID).runpp -s '$(SUFFIX)' -S '$(ARCHIVE_SUFFIX)' -A $(shell sed -n '$(*)'p < cmor_ctl_list_interactive_synch_r1i1p1f1)
sbatch $(SBATCHFLAGS) --time=$(AGGR_TIME) --job-name=$(EXP_ID)_runpp_aggr$(SUFFIX) --output=%x_%j.log --comment=$* $(EXP_ID).runpp -s '$(SUFFIX)' -S '$(ARCHIVE_SUFFIX)' -A $(shell sed -n '$(*)'p < cmor_ctl_list_interactive_synch_r1i1p4f2)
@touch $@
targets/$(EXP_ID).diags$(SUFFIX).%: targets/$(EXP_ID).aggr$(SUFFIX).%
sbatch $(SBATCHFLAGS) --time=$(DIAGS_TIME) --job-name=$(EXP_ID)_runpp_diag$(SUFFIX) --output=%x_%j.log --comment=$* $(EXP_ID).runpp -s '$(SUFFIX)' -S '$(ARCHIVE_SUFFIX)' -d $(shell sed -n '$(*)'p < cmor_ctl_list_interactive_synch_r1i1p1f1)
sbatch $(SBATCHFLAGS) --time=$(DIAGS_TIME) --job-name=$(EXP_ID)_runpp_diag$(SUFFIX) --output=%x_%j.log --comment=$* $(EXP_ID).runpp -s '$(SUFFIX)' -S '$(ARCHIVE_SUFFIX)' -d $(shell sed -n '$(*)'p < cmor_ctl_list_interactive_synch_r1i1p4f2)
@touch $@
targets/$(EXP_ID).cmor$(SUFFIX).%: targets/$(EXP_ID).diags$(SUFFIX).%
sbatch $(SBATCHFLAGS) --time=$(CMOR_TIME) --job-name=$(EXP_ID)_runpp_cmor$(SUFFIX) --output=%x_%j.log --comment=$* $(EXP_ID).runpp -s '$(SUFFIX)' -S '$(ARCHIVE_SUFFIX)' -c $(CMOR_FLAGS) $(shell sed -n '$(*)'p < cmor_ctl_list_interactive_synch_r1i1p1f1)
sbatch $(SBATCHFLAGS) --time=$(CMOR_TIME) --job-name=$(EXP_ID)_runpp_cmor$(SUFFIX) --output=%x_%j.log --comment=$* $(EXP_ID).runpp -s '$(SUFFIX)' -S '$(ARCHIVE_SUFFIX)' -c $(CMOR_FLAGS) $(shell sed -n '$(*)'p < cmor_ctl_list_interactive_synch_r1i1p4f2)
@touch $@
......@@ -13,7 +13,7 @@
#SBATCH --account=bm0021
#SBATCH --qos=esgf
#SBATCH --exclusive
#SBATCH --output=transient-deglaciation-interactive_r1i1p1f1-CR.runpp_%j.log
#SBATCH --output=transient-deglaciation-interactive_r1i1p4f2-CR.runpp_%j.log
DEBUG_LEVEL=${DEBUG_LEVEL:-0}
......@@ -43,9 +43,9 @@ alias ncatted=/sw/spack-levante/nco-5.0.6-3xkdth/bin/ncatted
#########################################
#Root directory of all scripts, outdata, logs etc
EXP_ID=transient-deglaciation-prescribed-glac1d_r1i1p1f1-CR
EXP_DIR_TRUNK=/work/bk1192/k204212/palmod_CS/transient-deglaciation-interactive_r1i1p1f1-CR
#EXP_DIR_TRUNK=/work/kd1292/ESGF_Buff/k204212/palmod_CS/transient-deglaciation-interactive_r1i1p1f1-CR
EXP_ID=transient-deglaciation-prescribed-glac1d_r1i1p4f2-CR
#EXP_DIR_TRUNK=/work/bk1192/k204212/palmod_CS/transient-deglaciation-interactive_r1i1p4f2-CR
EXP_DIR_TRUNK=/work/kd1292/ESGF_Buff/k204212/palmod_CS/transient-deglaciation-interactive_r1i1p4f2-CR
#initial files for aggregation
INPUT_DIR_TRUNK=/work/bk1192/WP1.1/MPIM_transient_deglaciation_synchronous
......@@ -123,7 +123,7 @@ chunks+=([vilmadec]=" 0 ")
# Define here the "cdocmorinfo"-File or "eum"-Files
# Multiple files possible with "," as delimiter, eg:
# it=expinfo.txt,userinfo.txt,modelinfo.txt
it_temp="${SCRIPT_ROOT}/transient-deglaciation-interactive_r1i1p1f1-CR_cdocmorinfo"
it_temp="${SCRIPT_ROOT}/transient-deglaciation-interactive_r1i1p4f2-CR_cdocmorinfo"
ca+=([mpiom]="${SCRIPT_ROOT}/cdocmorinfo_mpiom_CR")
ca+=([echam6]="${SCRIPT_ROOT}/cdocmorinfo_echam6_CR")
ca+=([jsbach]="${SCRIPT_ROOT}/cdocmorinfo_jsbach_CR")
......@@ -132,7 +132,7 @@ ca+=([vilma]="${SCRIPT_ROOT}/cdocmorinfo_vilma_CR")
#Experiment etc
experiment=transient-deglaciation-interactive
member=r1i1p1f1
member=r1i1p4f2
mip=PalMod2
vd=v20240920
#vd=v$(date '+%Y%m%d') #CMOR version directory name, should be a date in format YYYYMMDD
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment