Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into feature/ss_180
Browse files Browse the repository at this point in the history
* origin/develop:
  Move to contrib spack-stack on Jet
  Ref NOAA-EMC#141
  Ref NOAA-EMC#141
  • Loading branch information
DavidHuber-NOAA committed Sep 6, 2024
2 parents 2f84a4b + 278ee62 commit 16128d6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 18 deletions.
2 changes: 1 addition & 1 deletion modulefiles/jet.intel-run.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
help([[
]])

prepend_path("MODULEPATH", "/mnt/lfs4/HFIP/hfv3gfs/role.epic/spack-stack/spack-stack-1.6.0/envs/gsi-addon-dev-rocky8/install/modulefiles/Core")
prepend_path("MODULEPATH", "/contrib/spack-stack/spack-stack-1.6.0/envs/gsi-addon-intel/install/modulefiles/Core")

local stack_intel_ver=os.getenv("stack_intel_ver") or "2021.5.0"
local stack_impi_ver=os.getenv("stack_impi_ver") or "2021.5.1"
Expand Down
2 changes: 1 addition & 1 deletion modulefiles/jet.intel.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
help([[
]])

prepend_path("MODULEPATH", "/mnt/lfs4/HFIP/hfv3gfs/role.epic/spack-stack/spack-stack-1.6.0/envs/gsi-addon-dev-rocky8/install/modulefiles/Core")
prepend_path("MODULEPATH", "/contrib/spack-stack/spack-stack-1.6.0/envs/gsi-addon-intel/install/modulefiles/Core")

local stack_python_ver=os.getenv("stack_python_ver") or "3.11.6"
local stack_intel_ver=os.getenv("stack_intel_ver") or "2021.5.0"
Expand Down
16 changes: 2 additions & 14 deletions ush/find_last_cycle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#
# The supported directory structures are:
# Operations: $tankdir/$net/version/$run.$pdy/$hh/atmos/$monitor
# Workflow : $tankdir/$monitor/stats/$net/$run.$pdy/$hh
# Workflow : $tankdir/$net/$run.$pdy/$hh/products/atmos/$monitor
# Monitors* : $tankdir/stats/$net/$run.$pdy/$hh/$monitor
#
# The get_stats_path.sh script will be used to find a valid path from
Expand Down Expand Up @@ -68,7 +68,6 @@ done
#
path=`${MON_USH}/get_stats_path.sh --net ${net} --run ${run} --tank ${tankdir} --mon ${monitor} --rpath base`


#--------------------------------------------------
# Set search string per monitor
#
Expand Down Expand Up @@ -109,18 +108,7 @@ if [[ ${#path} -gt 0 ]]; then

for hr in $hrs; do

#----------------------------------------------------------------
# The workflow (wkfl) directory structure is a special case
# in that $monitor is the first subdirectory in the $tankdir.
# To take that into account this check is added.
#
wkfl_check=`echo ${path} | grep ${monitor}`
if [[ ${#wkfl_check} -gt 0 ]]; then
wkfl_test=`find -L "${path}/${file}/${hr}/" -maxdepth 2 -mindepth 1 -name "${search}" -printf "%f\n" 2>/dev/null`
else
wkfl_test=""
fi

wkfl_test=`find -L "${path}/${file}/${hr}/products/atmos/${monitor}" -maxdepth 2 -mindepth 1 -name "${search}" -printf "%f\n" 2>/dev/null`
mon_test=`find -L "${path}/${file}/${hr}/${monitor}" -maxdepth 2 -mindepth 1 -name "${search}" -printf "%f\n" 2>/dev/null`
ops_test=`find -L "${path}/${file}/${hr}/atmos/${monitor}" -maxdepth 2 -mindepth 1 -name "${search}" -printf "%f\n" 2>/dev/null`

Expand Down
4 changes: 2 additions & 2 deletions ush/get_stats_path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ ops_base=${tankdir}/${net}/${version}
ops_xtn=${run}.${pdy}/${hh}/atmos/${monitor}
ops=${ops_base}/${ops_xtn}

wkf_base=${tankdir}/${monitor}/stats/${net}
wkf_xtn=${run}.${pdy}/${hh}
wkf_base=${tankdir}/${net}
wkf_xtn=${run}.${pdy}/${hh}/products/atmos/${monitor}
wkf=${wkf_base}/${wkf_xtn}

mon_base=${tankdir}/stats/${net}
Expand Down

0 comments on commit 16128d6

Please sign in to comment.