Skip to content

Commit

Permalink
temporary fix for Rocky8
Browse files Browse the repository at this point in the history
  • Loading branch information
kayeekayee committed Apr 15, 2024
1 parent afe0a7d commit 86867b6
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 18 deletions.
4 changes: 4 additions & 0 deletions INFO
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
04-15-24
========
tempory fix for Rocky 8

03-12-24
========
12Jan24 global-workflow
Expand Down
4 changes: 2 additions & 2 deletions jobs/rocoto/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ status=$?
[[ $status -ne 0 ]] && exit $status

#JKH load ufs-utils modules
module use /scratch1/BMC/gsd-fv3-dev/Judy.K.Henderson/test/gsl_ufs_dev/sorc/ufs_utils.fd/modulefiles
module load build.hera.intel
module use /scratch1/BMC/gsd-fv3/rtruns/modulefiles
module load build.hera.gfsinit
module list

###############################################################
Expand Down
5 changes: 3 additions & 2 deletions jobs/rocoto/remapgrib.ksh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
# 236 201 244 130 224 242

# initialize
module load intel/2022.1.2
module load wgrib2/2.0.8
module load gnu/13.2.0 intel/2023.2.0 netcdf/4.7.0 wgrib2/3.1.2_ncep
module list
ECHO=echo
MKDIR=mkdir
LN=ln
Expand All @@ -20,6 +20,7 @@ echo "fcst = ${fcst}"
echo "GRID_NAMES = ${GRID_NAMES}"
echo

echo `which wgrib2`
#########################
# Grid Definitions
#########################
Expand Down
7 changes: 3 additions & 4 deletions modulefiles/module_base.hera.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ help([[
Load environment to run GFS on Hera
]])

spack_stack_ver=(os.getenv("spack_stack_ver") or "None")
spack_env=(os.getenv("spack_env") or "None")
prepend_path("MODULEPATH", "/scratch1/NCEPDEV/nems/role.epic/spack-stack/spack-stack-" .. spack_stack_ver .. "/envs/" .. spack_env .. "/install/modulefiles/Core")
local spack_mod_path=(os.getenv("spack_mod_path") or "None")
prepend_path("MODULEPATH", spack_mod_path)

load(pathJoin("stack-intel", (os.getenv("stack_intel_ver") or "None")))
load(pathJoin("stack-intel-oneapi-mpi", (os.getenv("stack_impi_ver") or "None")))
Expand Down Expand Up @@ -42,7 +41,7 @@ setenv("WGRIB2","wgrib2")
setenv("UTILROOT",(os.getenv("prod_util_ROOT") or "None"))

--prepend_path("MODULEPATH", pathJoin("/scratch1/NCEPDEV/global/glopara/git/prepobs/v" .. (os.getenv("prepobs_run_ver") or "None"), "modulefiles"))
prepend_path("MODULEPATH", pathJoin("/scratch1/NCEPDEV/global/glopara/git/prepobs/feature-GFSv17_com_reorg_log_update/modulefiles"))
prepend_path("MODULEPATH", pathJoin("/scratch1/NCEPDEV/global/glopara/git/prepobs/dev-gfsv17/modulefiles"))
load(pathJoin("prepobs", (os.getenv("prepobs_run_ver") or "None")))

prepend_path("MODULEPATH", pathJoin("/scratch1/NCEPDEV/global/glopara/git/Fit2Obs/v" .. (os.getenv("fit2obs_ver") or "None"), "modulefiles"))
Expand Down
4 changes: 2 additions & 2 deletions modulefiles/module_gwci.hera.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ help([[
Load environment to run GFS workflow setup scripts on Hera
]])

prepend_path("MODULEPATH", "/scratch1/NCEPDEV/nems/role.epic/spack-stack/spack-stack-1.5.1/envs/gsi-addon/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.0")))
load(pathJoin("netcdf-fortran", os.getenv("4.6.1")))
load(pathJoin("nccmp","1.9.0.1"))
load(pathJoin("wgrib2", "2.0.8"))

Expand Down
4 changes: 2 additions & 2 deletions modulefiles/module_gwsetup.hera.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ 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.5.1/envs/gsi-addon/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.10.8"
local python_ver=os.getenv("python_ver") or "3.11.6"

load(pathJoin("stack-intel", stack_intel_ver))
load(pathJoin("python", python_ver))
Expand Down
3 changes: 2 additions & 1 deletion ush/load_fv3gfs_modules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ source "${HOMEgfs}/modulefiles/module-setup.sh.inc"
source "${HOMEgfs}/versions/run.ver"

# Load our modules:
module use "${HOMEgfs}/modulefiles"
#KYWmodule use "${HOMEgfs}/modulefiles"
module use "/scratch1/BMC/gsd-fv3/rtruns/modulefiles/"

if [[ -d /lfs/f1 ]]; then
# We are on WCOSS2 (Cactus or Dogwood)
Expand Down
2 changes: 2 additions & 0 deletions versions/build.hera.ver
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
export stack_intel_ver=2021.5.0
export stack_impi_ver=2021.5.1
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"
6 changes: 2 additions & 4 deletions versions/run.hera.ver
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
export stack_intel_ver=2021.5.0
export stack_impi_ver=2021.5.1
export spack_env=gsi-addon-dev-rocky8

export hpss_ver=hpss
export ncl_ver=6.6.2
export R_ver=3.5.0
export gempak_ver=7.4.2

#For metplus jobs, not currently working with spack-stack
#export met_ver=9.1.3
#export metplus_ver=3.1.1

source "${HOMEgfs:-}/versions/run.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/run.spack.ver
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export spack_stack_ver=1.5.1
export spack_env=gsi-addon
export spack_env=gsi-addon-dev-rocky8
export python_ver=3.10.8

export jasper_ver=2.0.32
Expand Down

0 comments on commit 86867b6

Please sign in to comment.