Skip to content
Snippets Groups Projects
Commit 966fa559 authored by Karl-Hermann Wieners's avatar Karl-Hermann Wieners
Browse files

Updated new script generation

* Changed all namelist fields to lower-case names
* Added directory for initial and boundary data as variable (INITIAL_DATA)
* Changed post-processing script to allow more than one run for error recovery
* Fixed copying of job<n> scripts to use new job names
* Adjusted default wall-clock times for model run and post processing
parent e3b5f946
No related branches found
No related tags found
No related merge requests found
......@@ -17,91 +17,91 @@ START_NEW_DATE =
[[[parctl]]]
NPROCA = 16
NPROCB = 8
nproca = 16
nprocb = 8
[[[runctl]]]
LTIMER = .false.
LRESUME = .TRUE.
OUT_DATAPATH = './'
OUT_EXPNAME = $EXP_ID
OUT_FILETYPE = 1
OUT_ZTYPE = 0
RERUN_FILETYPE = 4
LAMIP = true
DT_STOP = 2009,01,01,12,00,00
PUTDATA = 6,'hours','first',0
PUTRERUN = 1,'years','last',0
NPROMA = 72
NO_CYCLES = 1
LMIDATM = .true.
LDEBUGEV = .false.
LCOUPLE_CO2 = .false.
ltimer = false
lresume = true
out_datapath = ./
out_expname = $EXP_ID
out_filetype = 1
out_ztype = 0
rerun_filetype = 4
lamip = true
dt_stop = 2009, 01, 01, 12, 00, 00
putdata = 6, hours, first, 0
putrerun = 1, years, last, 0
nproma = 72
no_cycles = 1
lmidatm = true
ldebugev = false
lcouple_co2 = false
nsub = 2
trigjob(1) = 1,'years','last',0
trigjob(2) = 1,'years','last',0
trigjob(1) = 1, years, last, 0
trigjob(2) = 1, years, last, 0
[[[physctl]]]
LCOVER = .false.
lcover = false
[[[gwsctl]]]
LRMSCON_LAT = .false.
lrmscon_lat = false
[[[submodelctl]]]
LCO2 = .false.
LMETHOX = .true.
lco2 = false
lmethox = true
[[[radctl]]]
IAERO = 5
IO3 = 4
IGHG = 1
ISOLRAD = 1
ICFC = 4
ICH4 = 4
IN2O = 4
ICO2 = 4
iaero = 5
io3 = 4
ighg = 1
isolrad = 1
icfc = 4
ich4 = 4
in2o = 4
ico2 = 4
[[[co2ctl]]]
lco2_scenario = .true.
lco2_scenario = true
[[namelist.jsbach]]
[[[jsbach_ctl]]]
STANDALONE = .false.
NTILES = 11
USE_BETHY = .true.
USE_PHENOLOGY = .true.
USE_ALBEDO = .true.
USE_DYNVEG = .false.
USE_DISTURBANCE = .true.
WITH_NITROGEN = .false.
LCC_FORCING_TYPE = "transitions"
FILE_TYPE = 1
FILE_ZTYPE = 0
LPOST_ECHAM = .false.
DEBUG = .false.
TEST_CCONSERVATION = .true.
READ_COVER_FRACT = .false.
standalone = false
ntiles = 11
use_bethy = true
use_phenology = true
use_albedo = true
use_dynveg = false
use_disturbance = true
with_nitrogen = false
lcc_forcing_type = transitions
file_type = 1
file_ztype = 0
lpost_echam = false
debug = false
test_cconservation = true
read_cover_fract = false
[[[cbalance_ctl]]]
READ_CPOOLS = .false.
READ_NPOOLS = .false.
READ_NDEPO = .false.
read_cpools = false
read_npools = false
read_ndepo = false
[[[dynveg_ctl]]]
READ_FPC = .false.
DYNVEG_FEEDBACK = .false.
read_fpc = false
dynveg_feedback = false
[[[climbuf_ctl]]]
INIT_RUNNING_MEANS = .false.
init_running_means = false
......@@ -17,91 +17,91 @@ START_NEW_DATE =
[[[parctl]]]
NPROCA = 16
NPROCB = 8
nproca = 16
nprocb = 8
[[[runctl]]]
LTIMER = .false.
LRESUME = .TRUE.
OUT_DATAPATH = './'
OUT_EXPNAME = $EXP_ID
OUT_FILETYPE = 1
OUT_ZTYPE = 0
RERUN_FILETYPE = 4
LAMIP = true
DT_STOP = 2009,01,01,12,00,00
PUTDATA = 6,'hours','first',0
PUTRERUN = 1,'years','last',0
NPROMA = 72
NO_CYCLES = 1
LMIDATM = .true.
LDEBUGEV = .false.
LCOUPLE_CO2 = .false.
ltimer = false
lresume = true
out_datapath = ./
out_expname = $EXP_ID
out_filetype = 1
out_ztype = 0
rerun_filetype = 4
lamip = true
dt_stop = 2009, 01, 01, 12, 00, 00
putdata = 6, hours, first, 0
putrerun = 1, years, last, 0
nproma = 72
no_cycles = 1
lmidatm = true
ldebugev = false
lcouple_co2 = false
nsub = 2
trigjob(1) = 1,'years','last',0
trigjob(2) = 1,'years','last',0
trigjob(1) = 1, years, last, 0
trigjob(2) = 1, years, last, 0
[[[physctl]]]
LCOVER = .false.
lcover = false
[[[gwsctl]]]
LRMSCON_LAT = .true.
lrmscon_lat = true
[[[submodelctl]]]
LCO2 = .false.
LMETHOX = .true.
lco2 = false
lmethox = true
[[[radctl]]]
IAERO = 5
IO3 = 4
IGHG = 1
ISOLRAD = 1
ICFC = 4
ICH4 = 4
IN2O = 4
ICO2 = 4
iaero = 5
io3 = 4
ighg = 1
isolrad = 1
icfc = 4
ich4 = 4
in2o = 4
ico2 = 4
[[[co2ctl]]]
lco2_scenario = .true.
lco2_scenario = true
[[namelist.jsbach]]
[[[jsbach_ctl]]]
STANDALONE = .false.
NTILES = 11
USE_BETHY = .true.
USE_PHENOLOGY = .true.
USE_ALBEDO = .true.
USE_DYNVEG = .false.
USE_DISTURBANCE = .true.
WITH_NITROGEN = .false.
LCC_FORCING_TYPE = "transitions"
FILE_TYPE = 1
FILE_ZTYPE = 0
LPOST_ECHAM = .false.
DEBUG = .false.
TEST_CCONSERVATION = .true.
READ_COVER_FRACT = .false.
standalone = false
ntiles = 11
use_bethy = true
use_phenology = true
use_albedo = true
use_dynveg = false
use_disturbance = true
with_nitrogen = false
lcc_forcing_type = transitions
file_type = 1
file_ztype = 0
lpost_echam = false
debug = false
test_cconservation = true
read_cover_fract = false
[[[cbalance_ctl]]]
READ_CPOOLS = .false.
READ_NPOOLS = .false.
READ_NDEPO = .false.
read_cpools = false
read_npools = false
read_ndepo = false
[[[dynveg_ctl]]]
READ_FPC = .false.
DYNVEG_FEEDBACK = .false.
read_fpc = false
dynveg_feedback = false
[[[climbuf_ctl]]]
INIT_RUNNING_MEANS = .false.
init_running_means = false
......@@ -53,7 +53,7 @@ SCRIPTDIR=$WORK_DIR/experiments/$EXP/scripts
EXPDIR=%{DATA_ROOT}/experiments/$EXP
#
# absolute path to directory with initial data:
INI_DATA=/pool/data/ECHAM6/input/r0002
INI_DATA=%{INITIAL_DATA}
INIECH=$INI_DATA/T${RES}
#
# absolute path to directory with SST and sea ice files:
......@@ -213,8 +213,8 @@ echo ""
#-----------------------------------------------------------------------------
# Start the run:
#
cp $SCRIPTDIR/job1 .
cp $SCRIPTDIR/job2 .
cp $SCRIPTDIR/$EXP.job1 job1
cp $SCRIPTDIR/$EXP.job2 job2
#
# IBM/POE startup
#
......@@ -230,8 +230,7 @@ case $? in
llsubmit subjob2
#-- submit next production job
cd $SCRIPTDIR
chmod u+x %{EXP_ID}.run
llsubmit %{EXP_ID}.run
llsubmit $EXP.run
;;
127)
echo "Model finished experiment."
......
......@@ -35,8 +35,12 @@ cd $data
#
# remove unused outputfiles
#
rm ${EXP}_${YEAR}??.01*codes
rm ${EXP}_${YEAR}??.01_vphysc
for codes_file in ${EXP}_${YEAR}01.01_*.codes
do
mv $codes_file `echo $codes_file | sed 's,01\.01,,'`
done
rm -f ${EXP}_${YEAR}??.01*codes
rm -f ${EXP}_${YEAR}??.01_vphysc
###############################################################################
monthlist="01 02 03 04 05 06 07 08 09 10 11 12"
......
......@@ -20,96 +20,96 @@ CLIMATE_PERIOD = 1880-2379
[[[parctl]]]
NPROCA = 16
NPROCB = 8
nproca = 16
nprocb = 8
[[[runctl]]]
LTIMER = .false.
LRESUME = .TRUE.
OUT_DATAPATH = './'
OUT_EXPNAME = $EXP_ID
OUT_FILETYPE = 1
OUT_ZTYPE = 0
RERUN_FILETYPE = 4
LAMIP = .false.
DT_STOP = 1880,01,01,12,0,0
PUTDATA = 6,'hours','first',0
PUTRERUN = 1,'years','last',0
NPROMA = 72
NO_CYCLES = 1
LMIDATM = .true.
LDEBUGEV = .false.
LCOUPLE_CO2 = .false.
ltimer = false
lresume = true
out_datapath = ./
out_expname = $EXP_ID
out_filetype = 1
out_ztype = 0
rerun_filetype = 4
lamip = false
dt_stop = 1880, 01, 01, 12, 0, 0
putdata = 6, hours, first, 0
putrerun = 1, years, last, 0
nproma = 72
no_cycles = 1
lmidatm = true
ldebugev = false
lcouple_co2 = false
nsub = 2
trigjob(1) = 1,'years','last',0
trigjob(2) = 1,'years','last',0
trigjob(1) = 1, years, last, 0
trigjob(2) = 1, years, last, 0
[[[physctl]]]
LCOVER = .false.
lcover = false
[[[gwsctl]]]
LRMSCON_LAT = .false.
lrmscon_lat = false
[[[submodelctl]]]
LCO2 = .false.
LMETHOX = .true.
LTRANSDIAG = .true.
lco2 = false
lmethox = true
ltransdiag = true
[[[radctl]]]
IAERO = 3
IO3 = 4
IGHG = 0
ISOLRAD = 2
ICFC = 2
ICH4 = 3
IN2O = 3
ICO2 = 2
CO2VMR = 284.725e-6
CH4VMR = 0.79097924e-6
N2OVMR = 0.2754250e-6
YR_PERP = 1850
iaero = 3
io3 = 4
ighg = 0
isolrad = 2
icfc = 2
ich4 = 3
in2o = 3
ico2 = 2
co2vmr = 284.725e-6
ch4vmr = 0.79097924e-6
n2ovmr = 0.2754250e-6
yr_perp = 1850
[[[co2ctl]]]
lco2_scenario = .false.
lco2_scenario = false
[[namelist.jsbach]]
[[[jsbach_ctl]]]
STANDALONE = .false.
NTILES = 11
USE_BETHY = .true.
USE_PHENOLOGY = .true.
USE_ALBEDO = .true.
USE_DYNVEG = .false.
USE_DISTURBANCE = .true.
WITH_NITROGEN = .false.
LCC_FORCING_TYPE = "transitions"
FILE_TYPE = 1
FILE_ZTYPE = 0
LPOST_ECHAM = .false.
DEBUG = .false.
TEST_CCONSERVATION = .true.
READ_COVER_FRACT = .false.
standalone = false
ntiles = 11
use_bethy = true
use_phenology = true
use_albedo = true
use_dynveg = false
use_disturbance = true
with_nitrogen = false
lcc_forcing_type = transitions
file_type = 1
file_ztype = 0
lpost_echam = false
debug = false
test_cconservation = true
read_cover_fract = false
[[[cbalance_ctl]]]
READ_CPOOLS = .false.
READ_NPOOLS = .false.
READ_NDEPO = .false.
read_cpools = false
read_npools = false
read_ndepo = false
[[[dynveg_ctl]]]
READ_FPC = .false.
DYNVEG_FEEDBACK = .false.
read_fpc = false
dynveg_feedback = false
[[[climbuf_ctl]]]
INIT_RUNNING_MEANS = .false.
init_running_means = false
......@@ -20,96 +20,96 @@ CLIMATE_PERIOD = 1850-2349
[[[parctl]]]
NPROCA = 16
NPROCB = 8
nproca = 16
nprocb = 8
[[[runctl]]]
LTIMER = .false.
LRESUME = .TRUE.
OUT_DATAPATH = './'
OUT_EXPNAME = $EXP_ID
OUT_FILETYPE = 1
OUT_ZTYPE = 0
RERUN_FILETYPE = 4
LAMIP = .false.
DT_STOP = 1880,01,01,12,0,0
PUTDATA = 6,'hours','first',0
PUTRERUN = 1,'years','last',0
NPROMA = 72
NO_CYCLES = 1
LMIDATM = .true.
LDEBUGEV = .false.
LCOUPLE_CO2 = .false.
ltimer = false
lresume = true
out_datapath = ./
out_expname = $EXP_ID
out_filetype = 1
out_ztype = 0
rerun_filetype = 4
lamip = false
dt_stop = 1880, 01, 01, 12, 0, 0
putdata = 6, hours, first, 0
putrerun = 1, years, last, 0
nproma = 72
no_cycles = 1
lmidatm = true
ldebugev = false
lcouple_co2 = false
nsub = 2
trigjob(1) = 1,'years','last',0
trigjob(2) = 1,'years','last',0
trigjob(1) = 1, years, last, 0
trigjob(2) = 1, years, last, 0
[[[physctl]]]
LCOVER = .false.
lcover = false
[[[gwsctl]]]
LRMSCON_LAT = .true.
lrmscon_lat = true
[[[submodelctl]]]
LCO2 = .false.
LMETHOX = .true.
LTRANSDIAG = .true.
lco2 = false
lmethox = true
ltransdiag = true
[[[radctl]]]
IAERO = 3
IO3 = 4
IGHG = 0
ISOLRAD = 2
ICFC = 2
ICH4 = 3
IN2O = 3
ICO2 = 2
CO2VMR = 284.725e-6
CH4VMR = 0.79097924e-6
N2OVMR = 0.2754250e-6
YR_PERP = 1850
iaero = 3
io3 = 4
ighg = 0
isolrad = 2
icfc = 2
ich4 = 3
in2o = 3
ico2 = 2
co2vmr = 284.725e-6
ch4vmr = 0.79097924e-6
n2ovmr = 0.2754250e-6
yr_perp = 1850
[[[co2ctl]]]
lco2_scenario = .false.
lco2_scenario = false
[[namelist.jsbach]]
[[[jsbach_ctl]]]
STANDALONE = .false.
NTILES = 11
USE_BETHY = .true.
USE_PHENOLOGY = .true.
USE_ALBEDO = .true.
USE_DYNVEG = .false.
USE_DISTURBANCE = .true.
WITH_NITROGEN = .false.
LCC_FORCING_TYPE = "transitions"
FILE_TYPE = 1
FILE_ZTYPE = 0
LPOST_ECHAM = .false.
DEBUG = .false.
TEST_CCONSERVATION = .true.
READ_COVER_FRACT = .false.
standalone = false
ntiles = 11
use_bethy = true
use_phenology = true
use_albedo = true
use_dynveg = false
use_disturbance = true
with_nitrogen = false
lcc_forcing_type = transitions
file_type = 1
file_ztype = 0
lpost_echam = false
debug = false
test_cconservation = true
read_cover_fract = false
[[[cbalance_ctl]]]
READ_CPOOLS = .false.
READ_NPOOLS = .false.
READ_NDEPO = .false.
read_cpools = false
read_npools = false
read_ndepo = false
[[[dynveg_ctl]]]
READ_FPC = .false.
DYNVEG_FEEDBACK = .false.
read_fpc = false
dynveg_feedback = false
[[[climbuf_ctl]]]
INIT_RUNNING_MEANS = .false.
init_running_means = false
......@@ -53,7 +53,7 @@ SCRIPTDIR=$WORK_DIR/experiments/$EXP/scripts
EXPDIR=%{DATA_ROOT}/experiments/$EXP
#
# absolute path to directory with initial data:
INI_DATA=/pool/data/ECHAM6/input/r0002
INI_DATA=%{INITIAL_DATA}
INIECH=$INI_DATA/T${RES}
#
# absolute path to directory with SST and sea ice files:
......@@ -185,8 +185,8 @@ echo ""
#-----------------------------------------------------------------------------
# Start the run:
#
cp $SCRIPTDIR/job1 .
cp $SCRIPTDIR/job2 .
cp $SCRIPTDIR/$EXP.job1 job1
cp $SCRIPTDIR/$EXP.job2 job2
#
# IBM/POE startup
#
......@@ -202,8 +202,7 @@ case $? in
llsubmit subjob2
#-- submit next production job
cd $SCRIPTDIR
chmod u+x %{EXP_ID}.run
llsubmit %{EXP_ID}.run
llsubmit $EXP.run
;;
127)
echo "Model finished experiment."
......
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