Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'develop' into feature/RadMon_14
  • Loading branch information
EdwardSafford-NOAA committed Aug 9, 2022
2 parents 9b5c372 + 50eb463 commit 97fbac4
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 43 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gcc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ defaults:
shell: bash -leo pipefail {0}

env:
cache_key: gcc1 # The number (#) following the cache_key "gcc" is to flush Action cache.
cache_key: gcc2 # The number (#) following the cache_key "gcc" is to flush Action cache.
CC: gcc-10
FC: gfortran-10
CXX: g++-10
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/intel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ defaults:

# Set I_MPI_CC/F90 so Intel MPI wrapper uses icc/ifort instead of gcc/gfortran
env:
cache_key: intel2 # The number (#) following the cache_key "intel" is to flush Action cache.
cache_key: intel3 # The number (#) following the cache_key "intel" is to flush Action cache.
CC: icc
FC: ifort
CXX: icpc
Expand Down
1 change: 1 addition & 0 deletions ci/spack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ spack:
specs:
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
view: true
Expand Down
4 changes: 3 additions & 1 deletion modulefiles/common.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ Load common modules to build GSI Monitoring on all machines
]])

local netcdf_ver=os.getenv("netcdf_ver") or "4.7.4"
local w3emc_ver=os.getenv("w3emc_ver") or "2.9.1"
local bacio=os.getenv("bacio_ver") or "2.4.1"
local w3emc_ver=os.getenv("w3emc_ver") or "2.9.2"
local ncdiag_ver=os.getenv("ncdiag_ver") or "1.0.0"

load(pathJoin("netcdf", netcdf_ver))
load(pathJoin("bacio", bacio_ver))
load(pathJoin("w3emc", w3emc_ver))
load(pathJoin("ncdiag", ncdiag_ver))
15 changes: 9 additions & 6 deletions modulefiles/jet.lua
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
help([[
]])

load("cmake/3.20.1")

prepend_path("MODULEPATH", "/contrib/anaconda/modulefiles")

prepend_path("MODULEPATH", "/lfs4/HFIP/hfv3gfs/nwprod/hpc-stack/libs/modulefiles/stack")

load("hpc/1.1.0")
load("hpc-intel/18.0.5.274")
local hpc_ver=os.getenv("hpc_ver") or "1.1.0"
local hpc_intel_ver=os.getenv("hpc_intel_ver") or "18.0.5.274"
local hpc_impi_ver=os.getenv("hpc_impi_ver") or "2018.4.274"
local cmake_ver=os.getenv("cmake_ver") or "3.20.1"

load(pathJoin("hpc", hpc_ver))
load(pathJoin("hpc-intel", hpc_intel_ver))
load(pathJoin("hpc-impi", hpc_impi_ver))
load(pathJoin("cmake", cmake_ver))

load("common")

Expand Down
10 changes: 0 additions & 10 deletions ush/detect_machine.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,6 @@

case $(hostname -f) in

llogin[1-3]) MACHINE_ID=wcoss_cray ;; ### luna
slogin[1-3]) MACHINE_ID=wcoss_cray ;; ### surge

m7[12]a[1-3].ncep.noaa.gov) MACHINE_ID=wcoss_dell_p3 ;; ### mars
v7[12]a[1-3].ncep.noaa.gov) MACHINE_ID=wcoss_dell_p3 ;; ### venus
m109a[1-4].ncep.noaa.gov) MACHINE_ID=wcoss_dell_p3 ;; ### mars3.5
m110a[1-4].ncep.noaa.gov) MACHINE_ID=wcoss_dell_p3 ;; ### mars3.5
v109a[1-4].ncep.noaa.gov) MACHINE_ID=wcoss_dell_p3 ;; ### venus3.5
v110a[1-4].ncep.noaa.gov) MACHINE_ID=wcoss_dell_p3 ;; ### venus3.5

adecflow0[12].acorn.wcoss2.ncep.noaa.gov) MACHINE_ID=wcoss2 ;; ### acorn
alogin0[12].acorn.wcoss2.ncep.noaa.gov) MACHINE_ID=wcoss2 ;; ### acorn
clogin0[1-9].cactus.wcoss2.ncep.noaa.gov) MACHINE_ID=wcoss2 ;; ### cactus01-9
Expand Down
24 changes: 0 additions & 24 deletions ush/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,30 +29,6 @@ elif [[ $MACHINE_ID = s4* ]] ; then
fi
module purge

elif [[ $MACHINE_ID = wcoss_cray ]] ; then
# We are on NOAA Luna or Surge
if ( ! eval module help > /dev/null 2>&1 ) ; then
source /opt/modules/default/init/bash
fi
module purge
# Workaround until module issues are fixed:
unset _LMFILES_
unset LOADEDMODULES
module use /opt/modulefiles
module use /opt/cray/ari/modulefiles
module use /opt/cray/craype/default/alt-modulefiles
module use /opt/cray/alt-modulefiles
module use /gpfs/hps/nco/ops/nwprod/modulefiles
module use /gpfs/hps/nco/ops/nwprod/lib/modulefiles
module use /usrx/local/prod/modulefiles

elif [[ $MACHINE_ID = wcoss_dell_p3 ]] ; then
# We are on NOAA Mars or Venus
if ( ! eval module help > /dev/null 2>&1 ) ; then
source /usrx/local/prod/lmod/lmod/init/bash
fi
module purge

elif [[ $MACHINE_ID = wcoss2 ]]; then
# We are on WCOSS2
module reset
Expand Down

0 comments on commit 97fbac4

Please sign in to comment.