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

[develop] Update SRW with spack-stack version 1.5.0 (from 1.4.1) #969

Merged
merged 56 commits into from
Feb 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
47eb1fe
Start spack=stack 1.5.0 with Hera
RatkoVasic-NOAA Oct 18, 2023
2fe0f13
Merge branch 'ufs-community:develop' into ss150
RatkoVasic-NOAA Oct 25, 2023
36e8d32
MetPlus version update.
RatkoVasic-NOAA Oct 25, 2023
5506b4a
Merge branch 'ss150' of https://github.com/RatkoVasic-NOAA/ufs-srweat…
RatkoVasic-NOAA Oct 25, 2023
7cdabd2
Replace spack-stack 1.4.1 with 1.5.0 on Orion
RatkoVasic-NOAA Nov 3, 2023
2c8c32c
Upgrade spack stack from 1.4.1 to 1.5.0 on Orion.
RatkoVasic-NOAA Nov 7, 2023
a4cbf03
Upgrade spack stack from 1.4.1 to 1.5.0 on Hercules.
RatkoVasic-NOAA Nov 7, 2023
927e99f
Upgrade spack stack from 1.4.1 to 1.5.0 on Jet.
RatkoVasic-NOAA Nov 7, 2023
2c4322c
Upgrade spack stack from 1.4.1 to 1.5.0 on Hera(Intel).
RatkoVasic-NOAA Nov 8, 2023
2a77d8d
Upgrade spack stack from 1.4.1 to 1.5.0 on Hera(GNU).
RatkoVasic-NOAA Nov 8, 2023
70ac453
Upgrade spack stack from 1.4.1 to 1.5.0 on Gaea C5.
RatkoVasic-NOAA Nov 9, 2023
302bb26
Upgrade spack stack from 1.4.1 to 1.5.0 on Gaea C4.
RatkoVasic-NOAA Nov 10, 2023
eb49214
spack-stack/1.5.0 updates for NOAA cloud platforms
Nov 14, 2023
b6f6f47
merge with updates for SRW with spack-stack 1.5.0 for NOAA RDHPCS
Nov 14, 2023
59bd966
NOAA cloud modulefiles adapted for spack-stack-1.5.0
Nov 15, 2023
9aa884f
modified modulefiles/tasks/noaacloud/plot_allvars.local.lua
Nov 15, 2023
281b9fc
updates for ush/machine/noaacloud.yaml
Nov 15, 2023
45bee75
For Hera (Intel and GNU), switch environment from /envs/unified-env t…
RatkoVasic-NOAA Nov 15, 2023
a257d5f
Per @MichaelLuken's suggestion made changes in loading modules and in…
RatkoVasic-NOAA Nov 15, 2023
e55292f
revert changes in modulefiles/srw_common.lua
Nov 16, 2023
5f16739
Merge pull request #2 from natalie-perlin/update_stack150
RatkoVasic-NOAA Nov 16, 2023
bbcb3a2
Merge branch 'develop' into ss150
RatkoVasic-NOAA Nov 30, 2023
9634fff
Update with develop
RatkoVasic-NOAA Nov 30, 2023
3e6de2d
Merge branch 'ufs-community:develop' into ss150
RatkoVasic-NOAA Dec 5, 2023
b66dc3c
Include changes from release/public-v2.2.0 branch for gaea-c5, for ru…
Dec 9, 2023
31975f6
Merge pull request #4 from natalie-perlin/update_gaea_c5
RatkoVasic-NOAA Dec 12, 2023
0b0914f
correct devclean.sh, devbuild.sh and Gaea-c5 modulefiles
Dec 20, 2023
28d0643
Merge branch 'ufs-community:develop' into ss150
RatkoVasic-NOAA Dec 20, 2023
7187a35
Merge pull request #5 from natalie-perlin/update_gaea_c5
RatkoVasic-NOAA Dec 20, 2023
8a5f038
Gaea-C5, special case when loading conda environment. Replace srw_app…
RatkoVasic-NOAA Jan 2, 2024
bfc8e29
Add library versions for hpc-stack used by Derecho
RatkoVasic-NOAA Jan 2, 2024
0cf89e3
Gaea-C5, special case when loading conda environment. Replace srw_app…
RatkoVasic-NOAA Jan 2, 2024
126ca9b
Update run_vx.local.lua to allow verification tests to run on Orion.
MichaelLueken Jan 4, 2024
476b73b
Merge pull request #6 from MichaelLueken/ss150
RatkoVasic-NOAA Jan 4, 2024
aff60ac
Disable comprehensive tests on Derecho that fail due to issues in UFS…
MichaelLueken Jan 5, 2024
471d259
Merge pull request #7 from MichaelLueken/ss150
RatkoVasic-NOAA Jan 5, 2024
1ff67f7
Merge branch 'develop' into ss150
RatkoVasic-NOAA Jan 18, 2024
ada1af2
Remove Gaea from Jenkinsfile.
MichaelLueken Jan 18, 2024
6230553
Merge pull request #8 from MichaelLueken/ss150
RatkoVasic-NOAA Jan 18, 2024
e7d7322
Updates for Derecho spack-stack-1.5.0
Jan 23, 2024
923bfaf
Merge pull request #9 from natalie-perlin/ss150-derecho
RatkoVasic-NOAA Jan 23, 2024
1abb20a
Derecho module update for met/metplus tasks, run_vx.local.lua
Jan 24, 2024
c22a4c4
Derecho module update for met/metplus tasks
Jan 24, 2024
68c9af3
Merge pull request #10 from natalie-perlin/ss150-derecho
RatkoVasic-NOAA Jan 24, 2024
10280d0
Several fixes following the Slurm update on Jet and fallout from merg…
MichaelLueken Jan 24, 2024
1fa3083
Merge pull request #11 from MichaelLueken/ss150
RatkoVasic-NOAA Jan 24, 2024
f60b12f
Update build_gaea-c5_intel from F2 to F5
RatkoVasic-NOAA Jan 25, 2024
07f0162
Update wflow_gaea-c5 switch from F2 to F5
RatkoVasic-NOAA Jan 25, 2024
bdbc32b
Switch paths to miniconda (F2-F5 filesystems)
RatkoVasic-NOAA Jan 25, 2024
a765861
Update Jenkinsfile - rename gaea-c5 to gaeac5
RatkoVasic-NOAA Jan 25, 2024
e7e36cd
Merge branch 'ufs-community:develop' into ss150
RatkoVasic-NOAA Feb 15, 2024
c962d11
Remove gaea-C4
RatkoVasic-NOAA Feb 15, 2024
ee346ba
Merge pull request #12 from RatkoVasic-NOAA/remove-gaeaC4
RatkoVasic-NOAA Feb 15, 2024
a9660c8
Update build_noaacloud_intel.lua
RatkoVasic-NOAA Feb 15, 2024
ee75b12
Comment out gaeac5 in Jenkinsfile
MichaelLueken Feb 15, 2024
b87a209
Merge pull request #13 from MichaelLueken/ss150
RatkoVasic-NOAA Feb 15, 2024
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
24 changes: 9 additions & 15 deletions .cicd/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,14 @@ pipeline {
parameters {
// Allow job runner to filter based on platform
// Use the line below to enable all PW clusters
// choice(name: 'SRW_PLATFORM_FILTER', choices: ['all', 'cheyenne', 'gaea', 'gaea-c5', 'hera', 'jet', 'orion', 'hercules', 'pclusternoaav2use1', 'azclusternoaav2eus1', 'gclusternoaav2usc1'], description: 'Specify the platform(s) to use')
// choice(name: 'SRW_PLATFORM_FILTER', choices: ['all', 'cheyenne', 'gaeac5', 'hera', 'jet', 'orion', 'hercules', 'pclusternoaav2use1', 'azclusternoaav2eus1', 'gclusternoaav2usc1'], description: 'Specify the platform(s) to use')
// Use the line below to enable the PW AWS cluster
// choice(name: 'SRW_PLATFORM_FILTER', choices: ['all', 'cheyenne', 'gaea', 'gaea-c5', 'hera', 'jet', 'orion', 'hercules', 'pclusternoaav2use1'], description: 'Specify the platform(s) to use')
// choice(name: 'SRW_PLATFORM_FILTER', choices: ['all', 'cheyenne', 'gaea', 'gaea-c5', 'hera', 'jet', 'orion', 'hercules'], description: 'Specify the platform(s) to use')
choice(name: 'SRW_PLATFORM_FILTER', choices: ['all', 'gaea', 'gaea-c5', 'hera', 'jet', 'orion', 'hercules'], description: 'Specify the platform(s) to use')
// choice(name: 'SRW_PLATFORM_FILTER', choices: ['all', 'cheyenne', 'gaeac5', 'hera', 'jet', 'orion', 'hercules', 'pclusternoaav2use1'], description: 'Specify the platform(s) to use')
// choice(name: 'SRW_PLATFORM_FILTER', choices: ['all', 'derecho', 'gaeac5', 'hera', 'jet', 'orion', 'hercules'], description: 'Specify the platform(s) to use')
choice(name: 'SRW_PLATFORM_FILTER', choices: ['all', 'derecho', 'hera', 'jet', 'orion', 'hercules'], description: 'Specify the platform(s) to use')
// Allow job runner to filter based on compiler
choice(name: 'SRW_COMPILER_FILTER', choices: ['all', 'gnu', 'intel'], description: 'Specify the compiler(s) to use to build')
// Uncomment the following line to re-enable comprehensive tests
// booleanParam name: 'SRW_WE2E_COMPREHENSIVE_TESTS', defaultValue: false, description: 'Whether to execute the comprehensive end-to-end tests'
booleanParam name: 'SRW_WE2E_COMPREHENSIVE_TESTS', defaultValue: false, description: 'Whether to execute the comprehensive end-to-end tests'
}

stages {
Expand Down Expand Up @@ -88,8 +87,8 @@ pipeline {
axes {
axis {
name 'SRW_PLATFORM'
// values 'cheyenne', 'gaea', 'gaea-c5', 'hera', 'jet', 'orion', 'hercules' //, 'pclusternoaav2use1', 'azclusternoaav2eus1', 'gclusternoaav2usc1'
values 'gaea', 'gaea-c5', 'hera', 'jet', 'orion', 'hercules' //, 'pclusternoaav2use1', 'azclusternoaav2eus1', 'gclusternoaav2usc1'
// values 'derecho', 'gaeac5', 'hera', 'jet', 'orion', 'hercules' //, 'pclusternoaav2use1', 'azclusternoaav2eus1', 'gclusternoaav2usc1'
values 'derecho', 'hera', 'jet', 'orion', 'hercules' //, 'pclusternoaav2use1', 'azclusternoaav2eus1', 'gclusternoaav2usc1'
}

axis {
Expand All @@ -103,7 +102,8 @@ pipeline {
exclude {
axis {
name 'SRW_PLATFORM'
values 'gaea', 'gaea-c5', 'jet', 'orion', 'hercules' //, 'pclusternoaav2use1' , 'azclusternoaav2eus1', 'gclusternoaav2usc1'
// values 'derecho', 'gaeac5', 'jet', 'orion', 'hercules' //, 'pclusternoaav2use1' , 'azclusternoaav2eus1', 'gclusternoaav2usc1'
values 'derecho', 'jet', 'orion', 'hercules' //, 'pclusternoaav2use1' , 'azclusternoaav2eus1', 'gclusternoaav2usc1'
}

axis {
Expand Down Expand Up @@ -184,11 +184,6 @@ pipeline {
dir ("${env.SRW_PLATFORM}") {
echo "Testing SRW (${env.SRW_COMPILER}) on ${env.SRW_PLATFORM} (using ${env.WORKSPACE}/${env.SRW_PLATFORM})"

// Remove the following line to re-enable comprehensive tests
sh 'SRW_WE2E_COMPREHENSIVE_TESTS=false bash --login "${WORKSPACE}/${SRW_PLATFORM}/.cicd/scripts/srw_test.sh"'

// Uncomment the following block to re-enable comprehensive tests
/*
// If executing for a Pull Request, check for the run_we2e_comprehensive_tests. If set,
// override the value of the SRW_WE2E_COMPREHENSIVE_TESTS parameter
script {
Expand All @@ -205,7 +200,6 @@ pipeline {

sh "SRW_WE2E_COMPREHENSIVE_TESTS=${run_we2e_comprehensive_tests}" + ' bash --login "${WORKSPACE}/${SRW_PLATFORM}/.cicd/scripts/srw_test.sh"'
}
*/
}
}

Expand Down
7 changes: 6 additions & 1 deletion .cicd/scripts/srw_ftest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,12 @@ module load build_${platform,,}_${SRW_COMPILER}
module load wflow_${platform,,}

[[ ${FORGIVE_CONDA} == true ]] && set +e +u # Some platforms have incomplete python3 or conda support, but wouldn't necessarily block workflow tests
conda activate srw_app
# Gaea-C5 special case missing jinja2
if [ "${platform}" == "gaea-c5" ]; then
conda activate workflow_tools
else
conda activate srw_app
fi
set -e -u

# Adjust for strict limitation of stack size
Expand Down
5 changes: 0 additions & 5 deletions .cicd/scripts/wrapper_srw_ftest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@ else
fi

# Customize wrapper scripts
if [[ "${SRW_PLATFORM}" == gaea ]]; then
sed -i '15i #SBATCH --clusters=c4' ${WORKSPACE}/${SRW_PLATFORM}/.cicd/scripts/${workflow_cmd}_srw_ftest.sh
sed -i 's|qos=batch|qos=windfall|g' ${WORKSPACE}/${SRW_PLATFORM}/.cicd/scripts/${workflow_cmd}_srw_ftest.sh
fi

if [[ "${SRW_PLATFORM}" == gaea-c5 ]]; then
sed -i '15i #SBATCH --clusters=c5' ${WORKSPACE}/${SRW_PLATFORM}/.cicd/scripts/${workflow_cmd}_srw_ftest.sh
sed -i 's|qos=batch|qos=normal|g' ${WORKSPACE}/${SRW_PLATFORM}/.cicd/scripts/${workflow_cmd}_srw_ftest.sh
Expand Down
13 changes: 10 additions & 3 deletions devbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,11 @@ printf "PLATFORM(MACHINE)=${PLATFORM}\n" >&2
if [ "${PLATFORM}" = "wcoss2" ]; then
BUILD_CONDA="off"
fi
# Conda is not used on Gaea-c5 F2 filesystem
# it needs to be reevaluated when moved to F2 filesystem
if [ "${PLATFORM}" = "gaea-c5" ]; then
BUILD_CONDA="off"
fi

# build conda and conda environments, if requested.
if [ "${BUILD_CONDA}" = "on" ] ; then
Expand Down Expand Up @@ -244,8 +249,10 @@ if [ "${BUILD_CONDA}" = "on" ] ; then
fi

else
source ${CONDA_BUILD_DIR}/etc/profile.d/conda.sh
conda activate
if [ -d "${CONDA_BUILD_DIR}" ] ; then
source ${CONDA_BUILD_DIR}/etc/profile.d/conda.sh
conda activate
fi
fi

# Conda environment should have linux utilities to perform these tasks on macos.
Expand Down Expand Up @@ -281,7 +288,7 @@ set -eu
# automatically determine compiler
if [ -z "${COMPILER}" ] ; then
case ${PLATFORM} in
jet|hera|gaea|gaea-c5) COMPILER=intel ;;
jet|hera|gaea-c5) COMPILER=intel ;;
orion) COMPILER=intel ;;
wcoss2) COMPILER=intel ;;
cheyenne) COMPILER=intel ;;
Expand Down
9 changes: 5 additions & 4 deletions devclean.sh
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,13 @@ elif [ "${CLEAN}" = true ]; then
"${INSTALL_DIR}/include" \
"${INSTALL_DIR}/lib" \
"${INSTALL_DIR}/lib64" \
"${SRW_DIR}/manage_externals/manic" \
)
for directory in $directories; do
[[ -d $directory ]] && rm -rfv $directory
done
if [ ${#directories[@]} -ge 1 ]; then
for dir in ${directories[@]}; do
[[ -d "${dir}" ]] && rm -rfv ${dir}
done
echo " "
fi
fi
# Clean all the submodules if requested. Note: Need to check out them again before attempting subsequent builds, by sourcing ${SRW_DIR}/manage_externals/checkout_externals
if [ ${INCLUDE_SUB_MODULES} == true ]; then
Expand Down
7 changes: 2 additions & 5 deletions etc/lmod-setup.csh
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,11 @@ else if ( "$L_MACHINE" == singularity ) then

module purge

else if ( "$L_MACHINE" == gaea ) then
source /lustre/f2/dev/role.epic/contrib/Lmod_init.csh

else if ( "$L_MACHINE" == gaea-c5 ) then
source /lustre/f2/dev/role.epic/contrib/Lmod_init_C5.csh
module reset

else if ( "$L_MACHINE" == derecho ) then
module reset
module purge

else if ( "$L_MACHINE" == odin ) then
module unload modules
Expand Down
7 changes: 2 additions & 5 deletions etc/lmod-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,11 @@ elif [ "$L_MACHINE" = singularity ]; then

module purge

elif [ "$L_MACHINE" = gaea ]; then
source /lustre/f2/dev/role.epic/contrib/Lmod_init.sh

elif [ "$L_MACHINE" = gaea-c5 ]; then
source /lustre/f2/dev/role.epic/contrib/Lmod_init_C5.sh
module reset

elif [ "$L_MACHINE" = derecho ]; then
module reset
module purge

elif [ "$L_MACHINE" = odin ]; then
module unload modules
Expand Down
2 changes: 1 addition & 1 deletion jobs/JREGIONAL_AQM_ICS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion jobs/JREGIONAL_AQM_LBCS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion jobs/JREGIONAL_BIAS_CORRECTION_O3
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion jobs/JREGIONAL_BIAS_CORRECTION_PM25
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion jobs/JREGIONAL_CHECK_POST_OUTPUT
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion jobs/JREGIONAL_FIRE_EMISSION
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion jobs/JREGIONAL_GET_EXTRN_MDL_FILES
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion jobs/JREGIONAL_MAKE_GRID
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion jobs/JREGIONAL_MAKE_ICS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion jobs/JREGIONAL_MAKE_LBCS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion jobs/JREGIONAL_MAKE_OROG
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion jobs/JREGIONAL_MAKE_SFC_CLIMO
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion jobs/JREGIONAL_NEXUS_EMISSION
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion jobs/JREGIONAL_NEXUS_GFS_SFC
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion jobs/JREGIONAL_NEXUS_POST_SPLIT
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion jobs/JREGIONAL_PLOT_ALLVARS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion jobs/JREGIONAL_POINT_SOURCE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion jobs/JREGIONAL_POST_STAT_O3
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion jobs/JREGIONAL_POST_STAT_PM25
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion jobs/JREGIONAL_PRE_POST_STAT
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion jobs/JREGIONAL_RUN_FCST
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion jobs/JREGIONAL_RUN_MET_GENENSPROD_OR_ENSEMBLESTAT
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion jobs/JREGIONAL_RUN_MET_GRIDSTAT_OR_POINTSTAT_VX
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion jobs/JREGIONAL_RUN_MET_GRIDSTAT_OR_POINTSTAT_VX_ENSMEAN
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion jobs/JREGIONAL_RUN_MET_GRIDSTAT_OR_POINTSTAT_VX_ENSPROB
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion jobs/JREGIONAL_RUN_MET_PB2NC_OBS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion jobs/JREGIONAL_RUN_MET_PCPCOMBINE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion jobs/JREGIONAL_RUN_POST
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion jobs/JREGIONAL_RUN_PRDGEN
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#
#-----------------------------------------------------------------------
Expand Down
31 changes: 7 additions & 24 deletions modulefiles/build_derecho_intel.lua
Original file line number Diff line number Diff line change
@@ -1,35 +1,18 @@
help([[
This module loads libraries for building the UFS SRW App on
the CISL machine Derecho (Cray) using Intel-classic-2023.0.0
the CISL machine Derecho (Cray) using Intel@2021.10.0
]])

whatis([===[Loads libraries needed for building the UFS SRW App on Cheyenne ]===])
whatis([===[Loads libraries needed for building the UFS SRW App on Derecho ]===])

load(pathJoin("cmake", os.getenv("cmake_ver") or "3.26.3"))
load(pathJoin("ncarenv", os.getenv("ncarenv_ver") or "23.06"))
load(pathJoin("craype", os.getenv("craype_ver") or "2.7.20"))

unload("netcdf")
unload("hdf5")
load(pathJoin("intel-classic", os.getenv("intel_classic_ver") or "2023.0.0"))
load(pathJoin("cray-mpich", os.getenv("cray_mpich_ver") or "8.1.25"))

prepend_path("MODULEPATH","/glade/work/epicufsrt/contrib/derecho/hpc-stack/intel-classic-2023.0.0/modulefiles/stack")
load(pathJoin("hpc", os.getenv("hpc_ver") or "1.2.0"))
load(pathJoin("hpc-intel-classic", os.getenv("hpc_intel_classic_ver") or "2023.0.0"))
load(pathJoin("hpc-cray-mpich", os.getenv("hpc_cray_mpich_ver") or "8.1.25"))
prepend_path("MODULEPATH","/lustre/desc1/scratch/epicufsrt/contrib/modulefiles_extra")
prepend_path("MODULEPATH", "/glade/work/epicufsrt/contrib/spack-stack/derecho/spack-stack-1.5.0/envs/unified-env/install/modulefiles/Core")

load(pathJoin("ncarcompilers", os.getenv("ncarcompilers_ver") or "1.0.0"))
load(pathJoin("mkl", os.getenv("mkl_ver") or "2023.0.0"))
load(pathJoin("stack-intel", os.getenv("stack_intel_ver") or "2021.10.0"))
load(pathJoin("stack-cray-mpich", os.getenv("stack_cray_mpich_ver") or "8.1.25"))
load(pathJoin("cmake", os.getenv("cmake_ver") or "3.26.3"))

load("srw_common")

setenv("CC","cc")
setenv("FC","ftn")
setenv("CXX","CC")

setenv("CMAKE_C_COMPILER","cc")
setenv("CMAKE_CXX_COMPILER","CC")
setenv("CMAKE_Fortran_COMPILER","ftn")
setenv("CMAKE_Platform","derecho.intel")

Loading
Loading