Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Rocky 8 on hera #2463

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions modulefiles/module_gwci.hera.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ help([[
Load environment to run GFS workflow setup scripts on Hera
]])

prepend_path("MODULEPATH", "/scratch1/NCEPDEV/nems/role.epic/spack-stack/spack-stack-1.6.0/envs/gsi-addon-dev/install/modulefiles/Core")
prepend_path("MODULEPATH", "/scratch1/NCEPDEV/nems/role.epic/spack-stack/spack-stack-1.6.0/envs/gsi-addon-dev-rocky8/install/modulefiles/Core")

load(pathJoin("stack-intel", os.getenv("2021.5.0")))
load(pathJoin("stack-intel-oneapi-mpi", os.getenv("2021.5.1")))

load(pathJoin("netcdf-c", os.getenv("4.9.2")))
load(pathJoin("netcdf-fortran", os.getenv("4.6.1")))
load(pathJoin("nccmp","1.9.0.1"))
load(pathJoin("nccmp","1.9.1"))
load(pathJoin("wgrib2", "2.0.8"))

whatis("Description: GFS run setup CI environment")
2 changes: 1 addition & 1 deletion modulefiles/module_gwsetup.hera.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Load environment to run GFS workflow setup scripts on Hera

load(pathJoin("rocoto"))

prepend_path("MODULEPATH", "/scratch1/NCEPDEV/nems/role.epic/spack-stack/spack-stack-1.6.0/envs/gsi-addon-dev/install/modulefiles/Core")
prepend_path("MODULEPATH", "/scratch1/NCEPDEV/nems/role.epic/spack-stack/spack-stack-1.6.0/envs/gsi-addon-dev-rocky8/install/modulefiles/Core")

local stack_intel_ver=os.getenv("stack_intel_ver") or "2021.5.0"
local python_ver=os.getenv("python_ver") or "3.11.6"
Expand Down
47 changes: 47 additions & 0 deletions sorc/setup_case.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
#!/bin/bash
#https://global-workflow.readthedocs.io/en/latest/setup.html

set -x

GLOBALWORKFLOWHOME=/scratch2/NAGAPE/epic/Wei.Huang/src/global-workflow-cloud
PSLOT=exp_c48
CONFIGDIR=${GLOBALWORKFLOWHOME}/parm/config
IDATE=2021032312
EDATE=2021032312
COMROOT=${GLOBALWORKFLOWHOME}/comroot
EXPDIR=${GLOBALWORKFLOWHOME}/expdir

cd ${GLOBALWORKFLOWHOME}/workflow
source ${GLOBALWORKFLOWHOME}/workflow/gw_setup.sh

${GLOBALWORKFLOWHOME}/workflow/setup_expt.py gfs forecast-only \
--idate ${IDATE} \
--edate ${EDATE} \
--app ATM \
--pslot ${PSLOT} \
--configdir ${CONFIGDIR}/gfs \
--resdetatmos 48 \
--comroot ${COMROOT} \
--expdir ${EXPDIR}

# --resdetocean 1.0 \
#${GLOBALWORKFLOWHOME}/workflow/setup_expt.py gfs forecast-only \
# --idate $IDATE \
# --edate $EDATE \
# [--app $APP] \
# [--start $START] \
# [--gfs_cyc $GFS_CYC] \
# [--resdetatmos $RESDETATMOS] \
# [--resdetocean $RESDETOCEAN] \
# [--pslot $PSLOT] \
# [--configdir $CONFIGDIR] \
# [--comroot $COMROOT] \
# [--expdir $EXPDIR]

#usage: setup_expt.py gfs forecast-only [-h] [--pslot PSLOT] [--resdetatmos RESDETATMOS] [--resdetocean RESDETOCEAN]
# [--comroot COMROOT] [--expdir EXPDIR] --idate IDATE --edate EDATE [--overwrite]
# [--start {warm,cold}] [--cdump CDUMP] [--yaml YAML] [--app {ATM,ATMA,ATMW,S2S,S2SA,S2SW,S2SWA}]
# [--gfs_cyc {1,2,4}]

#${GLOBALWORKFLOWHOME}/workflow/setup_xml.py ${EXPDIR}/${PSLOT}

2 changes: 1 addition & 1 deletion versions/build.hera.ver
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export stack_intel_ver=2021.5.0
export stack_impi_ver=2021.5.1
export spack_env=gsi-addon-dev
export spack_env=gsi-addon-dev-rocky8
source "${HOMEgfs:-}/versions/build.spack.ver"
export spack_mod_path="/scratch1/NCEPDEV/nems/role.epic/spack-stack/spack-stack-${spack_stack_ver}/envs/${spack_env}/install/modulefiles/Core"
2 changes: 1 addition & 1 deletion versions/build.spack.ver
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export spack_stack_ver=1.6.0

export cmake_ver=3.23.1
export cmake_ver=3.28.1

export jasper_ver=2.0.32
export libpng_ver=1.6.37
Expand Down
2 changes: 1 addition & 1 deletion versions/run.hera.ver
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export stack_intel_ver=2021.5.0
export stack_impi_ver=2021.5.1
export spack_env=gsi-addon-dev
export spack_env=gsi-addon-dev-rocky8

export hpss_ver=hpss
export ncl_ver=6.6.2
Expand Down
4 changes: 2 additions & 2 deletions versions/run.spack.ver
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ export python_ver=3.11.6

export jasper_ver=2.0.32
export libpng_ver=1.6.37
export cdo_ver=2.2.0
export nco_ver=5.0.6
export cdo_ver=2.3.0
export nco_ver=5.1.6

export hdf5_ver=1.14.0
export netcdf_c_ver=4.9.2
Expand Down
Loading