Skip to content

Commit

Permalink
Improve to run couple_ic job successfully
Browse files Browse the repository at this point in the history
 On branch feature/gefs_v13_S2SW
	modified:   parm/gefs.parm
	modified:   rocoto/bin/wcoss2/couple_ic.sh
	modified:   rocoto/py/user_wcoss2.conf
	modified:   rocoto/user_full.conf

Res: NOAA-EMC#114
  • Loading branch information
XianwuXue-NOAA committed Mar 24, 2023
1 parent 13008bb commit d510bcb
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 22 deletions.
8 changes: 7 additions & 1 deletion parm/gefs.parm
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ esac
#export FHMAX_GFS=$fhmax

memberlist="c00"

imem=1
while [[ imem -le $npert ]]; do
memberlist="$memberlist p$(printf %02i $imem)"
Expand Down Expand Up @@ -137,6 +136,13 @@ export USHgefs=${USHgefs:-${HOMEgefs}/ush}
#export FIXgefs=${FIXgefs:-${HOMEgefs}/fix/fix_gefs}
export PARMgefs=${PARMgefs:-${HOMEgefs}/parm}

####################################
# CONVENIENT utility scripts and other environment parameters
export NCP="/bin/cp -p"
export NMV="/bin/mv"
export NLN="/bin/ln -sf"
export KEEPDATA=${KEEPDATA:-"NO"}

####################################
# Specify NET and RUN Name and model
####################################
Expand Down
6 changes: 3 additions & 3 deletions rocoto/bin/wcoss2/couple_ic.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export mem=$(echo ${RUNMEM}|cut -c3-5)
export CDATE=${CDATE:-${PDY}${cyc}}

configs="gefs"
config_path=${PARMgefs}
config_path=${PARMgefs:-${HOMEgefs}/parm}
for config in $configs; do
. ${config_path}/${config}.parm
export err=$?
Expand Down Expand Up @@ -110,7 +110,7 @@ export ROTDIR=${ROTDIR:-$(compath.py ${envir}/com/$NET/${ver})}

###############################################################
# Locally scoped variables and functions
GDATE=$(date -d "${PDY} ${cyc} - ${assim_freq} hours" +%Y%m%d%H)
GDATE=$(date -d "${PDY} ${cyc} - ${assim_freq:-${gefs_cych:-6}} hours" +%Y%m%d%H)
gPDY="${GDATE:0:8}"
gcyc="${GDATE:8:2}"

Expand Down Expand Up @@ -142,7 +142,7 @@ for ftype in gfs_data sfc_data; do
done

# Stage ocean initial conditions to ROTDIR (warm start)
OCNdir="${ROTDIR}/${RUN}.${gPDY}/${gcyc}/ocean/RESTART"
OCNdir="${ROTDIR}/${RUN}.${gPDY}/${gcyc}/${mem}/ocean/RESTART"
[[ ! -d "${OCNdir}" ]] && mkdir -p "${OCNdir}"
source="${BASE_CPLIC}/${CPL_OCNIC}/${PDY}${cyc}/ocn/${OCNRES}/MOM.res.nc"
target="${OCNdir}/${PDY}.${cyc}0000.MOM.res.nc"
Expand Down
24 changes: 12 additions & 12 deletions rocoto/py/user_wcoss2.conf
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ RUN_KEEPDATA = NO
RUN_ARCHIVE = NO
RUN_CLEANUP = NO
##### taskname is for development, if you have taskname, RUN_* will NOT be used to determine the tasks!
#taskname = coupled_ic
#taskname = couple_ic
#taskname = wave_init
#taskname = wave_prep
#taskname = rf_prep
Expand Down Expand Up @@ -162,15 +162,15 @@ RUN_CLEANUP = NO
#taskname = cleanup_wave
#taskname = cleanup_chem
#taskname = fcst_post_manager
## coupled_ic***************************************************
coupled_ic_walltime = 00:30:00
coupled_ic_nodes = 1
coupled_ic_ppn = 1
coupled_ic_tpp = 1
coupled_ic_memory = 1000M
coupled_ic_join = &LOG_DIR;/@Y@m@d/gefs_coupled_ic_@H.@s
coupled_ic_queue = &TRANSFER_QUEUE;
# coupled_ic_dep = <taskdep task="job"/>
## couple_ic****************************************************
couple_ic_walltime = 00:30:00
couple_ic_nodes = 1
couple_ic_ppn = 1
couple_ic_tpp = 1
couple_ic_memory = 1000M
couple_ic_join = &LOG_DIR;/@Y@m@d/gefs_couple_ic_@H.@s
couple_ic_queue = &TRANSFER_QUEUE;
# couple_ic_dep = <taskdep task="job"/>
## fcst_post_manager********************************************
fcst_post_manager_walltime = 00:15:00
fcst_post_manager_nodes = 1
Expand Down Expand Up @@ -294,8 +294,8 @@ prdgen_hr_tpp = 1
prdgen_hr_memory = 4GB
prdgen_hr_join = &LOG_DIR;/@Y@m@d/gefs_#member#_prdgen_hr_@H.@s
prdgen_hr_queue = &CUE2RUN;
prdgen_hr_dep = <datadep><cyclestr>&DATA_DIR;/gefs.@Y@m@d/@H/atmos/sfcsig/<ge#member#[email protected]/cyclestr></datadep>
#prdgen_hr_dep = <datadep><cyclestr>&DATA_DIR;/gefs.@Y@m@d/@H/#member#/atmos/[email protected]</cyclestr></datadep>
#prdgen_hr_dep = <datadep><cyclestr>&DATA_DIR;/gefs.@Y@m@d/@H/atmos/sfcsig/<ge#member#[email protected]/cyclestr></datadep>
prdgen_hr_dep = <datadep><cyclestr>&DATA_DIR;/gefs.@Y@m@d/@H/#member#/atmos/[email protected]</cyclestr></datadep>
#prdgen_hr_dep = <taskdep task="forecast_hr_#member#"/>
## ensstat_hr***************************************************
ensstat_hr_walltime = 08:00:00
Expand Down
12 changes: 6 additions & 6 deletions rocoto/user_full.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#SOURCEDIR = /gpfs/h2/emc/modeling/save/Dingchen.Hou/GIT/GEFS
#
SDATE = 2022012112
EDATE = 2022012112
SDATE = 2011040100
EDATE = 2011040100
npert = 30
INCYC = 6
#ACCOUNT = GEFS-DEV
Expand Down Expand Up @@ -50,10 +50,10 @@ TASK_THROTTLE = 265
# GEMPAK_RES = "0p50 0p25" #1p00 0p50 0p25
# save_pgrb2_p5 = NO
# save_pgrb2_p25 = NO
fhmax = 840 #96 #840
fhmaxh = 384 #48 #384
fhmax = 96 #840 #96 #840
fhmaxh = 48 #384 #48 #384
fhmax_aer = 120
FHMAXHF = 240 #36 #240
FHMAXHF = 36 #240 #36 #240
FHOUTHF = 3
FHOUTLF = 6
VERBOSE = no
Expand Down Expand Up @@ -163,7 +163,7 @@ RUN_KEEPDATA = NO
RUN_ARCHIVE = NO
RUN_CLEANUP = NO
##### taskname is for development, if you have taskname, RUN_* will NOT be used to determine the tasks!
#taskname = coupled_ic
#taskname = couple_ic
#taskname = wave_init
#taskname = wave_prep
#taskname = rf_prep
Expand Down

0 comments on commit d510bcb

Please sign in to comment.