Skip to content

Commit

Permalink
Add couple_ic job on WCOSS2
Browse files Browse the repository at this point in the history
 On branch feature/gefs_v13_cpl_ic
 Changes to be committed:
	new file:   rocoto/bin/wcoss2/couple_ic.sh
	modified:   rocoto/parm/setbase
	modified:   rocoto/py/GEFS_XML_For_Tasks.py
	modified:   rocoto/py/user_wcoss2.conf
	modified:   rocoto/user_full.conf

Refs: NOAA-EMC#72
  • Loading branch information
XianwuXue-NOAA committed Sep 2, 2022
1 parent ed668a2 commit c4aa2c8
Show file tree
Hide file tree
Showing 5 changed files with 73 additions and 3 deletions.
57 changes: 57 additions & 0 deletions rocoto/bin/wcoss2/couple_ic.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
#!/bin/ksh -l

set -x
ulimit -s unlimited
ulimit -a

# module_ver.h
. $SOURCEDIR/versions/run.ver

# Load modules
module purge
module load envvar/$envvar_ver
module load intel/$intel_ver
#module load ips/$ips_ver
#module load impi/$impi_ver
#module load prod_util/$prod_util_ver
#module load prod_envir/$prod_envir_ver
module load prod_util/$prod_util_ver
module load prod_envir/$prod_envir_ver

#module load lsf/$lsf_ver
module load python/$python_ver

module list

# For Development
. $GEFS_ROCOTO/bin/wcoss2/common.sh

# Export List
#export NTHREADS_SIGCHGRS=${GEFS_TPP:-6}
export OMP_NUM_THREADS=1
export envir=prod

#
if [[ "$machine" == "HERA" ]]; then
export BASE_CPLIC="/scratch1/NCEPDEV/climate/role.ufscpara/IC"
elif [[ "$machine" == "ORION" ]]; then
export BASE_CPLIC="/work/noaa/global/wkolczyn/noscrub/global-workflow/IC"
elif [[ "$machine" == "WCOSS2" ]]; then
export BASE_CPLIC="/lfs/h2/emc/ens/noscrub/xianwu.xue/GEFS_v13/IC_from_Hera"
fi

export CPL_ATMIC=GEFS-NoahMP-aerosols-p8c
export CPL_ICEIC=CPC
export CPL_OCNIC=CPC3Dvar
export CPL_WAVIC=GEFSwave20210528v2
export CPL_DATM=CDEPS_DATM


# -job
ver=${ver:-$(echo ${gefs_ver}|cut -c1-5)}
export COMPONENT="atmos"
export COMOUT=${COMOUT:-$(compath.py -o $NET/${ver})/${RUN}.${PDY}/$cyc/$COMPONENT}

# CALL executable job script here
#$GEFS_ROCOTO/bin/py/keep_data_atm.py
echo "Done -- xxw"
2 changes: 1 addition & 1 deletion rocoto/parm/setbase
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ elif [[ -d /apps/prod ]]; then
echo "Using settings for WCOSS2"
export machine='WCOSS2'
export JOBPHASE=
export HOMEDIR=${HOMEDIR:-/lfs/h2/emc/ens/noscrub/emc.ens/common/git/gfs/gw_gefs_v12.2_bafca3b_Dec09_2021}
export HOMEDIR=${HOMEDIR:-/lfs/h2/emc/ens/noscrub/xianwu.xue/GEFS_v13/gw_gefs_v13}
export HOMEtrak=/gpfs/dell2/emc/verification/noscrub/emc.enspara/common/git/ens_tracker/ens_tracker.v2.1.2
export archsyndir=/gpfs/dell2/emc/verification/noscrub/emc.enspara/common/git/ens_tracker/TCvitalData/syndat
export HOMEdata=/gpfs/hps2/nco/storage/fv3gefs/Bing.Fu/common
Expand Down
2 changes: 2 additions & 0 deletions rocoto/py/GEFS_XML_For_Tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -1505,6 +1505,8 @@ def get_metatask_names(taskname=""):
metatask_names.append('postsnd')
# fcst_post_manageq
metatask_names.append('fcst_post_manager')
# couple model
metatask_names.append('couple_ic')

return metatask_names

Expand Down
10 changes: 10 additions & 0 deletions rocoto/py/user_wcoss2.conf
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ RUN_POST_CLEANUP = 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 = couple_ic
#taskname = wave_init
#taskname = wave_prep
#taskname = rf_prep
Expand Down Expand Up @@ -147,6 +148,15 @@ RUN_CLEANUP = NO
#taskname = cleanup_wave
#taskname = cleanup_chem
#taskname = fcst_post_manager
## couple_ic****************************************************
couple_ic_walltime = 00:30:00
couple_ic_nodes = 1
couple_ic_ppn = 1
couple_ic_tpp = 1
couple_ic_memory = 108GB
couple_ic_join = &LOG_DIR;/@Y@m@d/gefs_#member#_couple_ic_@H.@s
couple_ic_queue = &CUE2RUN;
#couple_ic_dep = #<taskdep task="init_recenter"/>
## fcst_post_manager********************************************
fcst_post_manager_walltime = 00:15:00
fcst_post_manager_nodes = 1
Expand Down
5 changes: 3 additions & 2 deletions rocoto/user_full.conf
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#SOURCEDIR = /gpfs/dell2/emc/modeling/save/Dingchen.Hou/GIT/GEFS
#
SDATE = 2022072100
EDATE = 2022072118
npert = 30
EDATE = 2022072100
npert = 0
INCYC = 6
#ACCOUNT = GEN-T2O
#CUE2RUN = dev
Expand Down Expand Up @@ -167,6 +167,7 @@ RUN_ARCHIVE = NO
RUN_POST_CLEANUP = NO
RUN_CLEANUP = NO
##### taskname is for development, if you have taskname, RUN_* will NOT be used to determine the tasks!
taskname = couple_ic
#taskname = atmos_awips_hr
#taskname = atmos_awips_lr
#taskname = wave_init
Expand Down

0 comments on commit c4aa2c8

Please sign in to comment.