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

Release/public v2 - ufs-WM #304

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
10 changes: 5 additions & 5 deletions Externals.cfg
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[regional_workflow]
protocol = git
repo_url = https://github.com/ufs-community/regional_workflow
repo_url = https://github.com/NOAA-EPIC/regional_workflow
# Specify either a branch name or a hash but not both.
#branch = develop
hash = de82b63
branch = feature/hera-fix
#hash = de82b63
local_path = regional_workflow
required = True

Expand All @@ -20,8 +20,8 @@ required = True
protocol = git
repo_url = https://github.com/ufs-community/ufs-weather-model
# Specify either a branch name or a hash but not both.
#branch = develop
hash = 96dffa1
branch = release-public-v3-SRW
#hash = 96dffa1
local_path = src/ufs-weather-model
required = True

Expand Down
9 changes: 4 additions & 5 deletions devbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ OPTIONS
show this help guide
-p, --platform=PLATFORM
name of machine you are building on
(e.g. cheyenne | hera | jet | orion | wcoss_dell_p3)
(e.g. cheyenne | hera | jet | orion | gaea | noaacloud | macos | linux )
-c, --compiler=COMPILER
compiler to use; default depends on platform
(e.g. intel | gnu | cray | gccgfortran)
Expand Down Expand Up @@ -154,9 +154,8 @@ if [ -z "${COMPILER}" ] ; then
case ${PLATFORM} in
jet|hera|gaea) COMPILER=intel ;;
orion|noaacloud) COMPILER=intel ;;
wcoss_dell_p3) COMPILER=intel ;;
cheyenne) COMPILER=intel ;;
macos,singularity) COMPILER=gnu ;;
cheyenne,linux) COMPILER=intel ;;
macos,linux,singularity) COMPILER=gnu ;;
odin) COMPILER=intel ;;
*)
COMPILER=intel
Expand Down Expand Up @@ -243,7 +242,7 @@ if [ "${VERBOSE}" = true ]; then
fi

# Before we go on load modules, we first need to activate Lmod for some systems
source ${SRC_DIR}/etc/lmod-setup.sh
source ${SRC_DIR}/etc/lmod-setup.sh ${PLATFORM}

# source the module file for this platform/compiler combination, then build the code
printf "... Load MODULE_FILE and create BUILD directory ...\n"
Expand Down
21 changes: 10 additions & 11 deletions modulefiles/build_cheyenne_gnu
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,28 @@

proc ModulesHelp { } {
puts stderr "This module loads libraries for building SRW on"
puts stderr "the CISL Cheyenne machine using GNU"
puts stderr "the CISL Cheyenne machine using GNU compilers"
}

module-whatis "Loads libraries needed for building SRW on Cheyenne"

module purge
module load cmake/3.22.0
module load ncarenv/1.3
module load gnu/10.1.0
module load mpt/2.22
module load ncarcompilers/0.5.0
module load gnu/11.2.0
module load mpt/2.25
module load python/3.7.9
module unload netcdf

module use /glade/p/ral/jntp/GMTB/tools/hpc-stack-v1.2.0/modulefiles/stack
module use /glade/scratch/nperlin/HPC-stack/gnu11.2/install-1.2.0/modulefiles/stack
module load hpc/1.2.0
module load hpc-gnu/10.1.0
module load hpc-mpt/2.22
module load hpc-gnu/11.2.0
module load hpc-mpt/2.25

module load srw_common
module load g2/3.4.3
module load esmf/8_2_0
module load netcdf/4.7.4
module load png/1.6.35
module load esmf/8.3.0b09
module load mapl/2.11.0-esmf-8.3.0b09
module load libpng/1.6.35
module load pio/2.5.2

setenv CMAKE_C_COMPILER mpicc
Expand Down
24 changes: 11 additions & 13 deletions modulefiles/build_cheyenne_intel
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,31 @@

proc ModulesHelp { } {
puts stderr "This module loads libraries for building SRW on"
puts stderr "the CISL Cheyenne machine using Intel-19.1.1"
puts stderr "the CISL Cheyenne machine using Intel-2022.1"
}

module-whatis "Loads libraries needed for building SRW on Cheyenne"

module purge
module load cmake/3.22.0
module load ncarenv/1.3
module load intel/2021.2
module load mpt/2.22
module load ncarcompilers/0.5.0
module load python/3.7.9
module unload netcdf
module load intel/2022.1
module load mpt/2.25

module use /glade/p/ral/jntp/GMTB/tools/hpc-stack-v1.2.0/modulefiles/stack
module use /glade/scratch/nperlin/HPC-stack/intel2022.1/install-1.2.0/modulefiles/stack
module load hpc/1.2.0
module load hpc-intel/2021.2
module load hpc-mpt/2.22
module load hpc-intel/2022.1
module load hpc-mpt/2.25

module load srw_common
module load g2/3.4.3
module load esmf/8_2_0
module load esmf/8.3.0b09
module load mapl/2.11.0-esmf-8.3.0b09
module load netcdf/4.7.4
module load png/1.6.35
module load libpng/1.6.35
module load pio/2.5.2

setenv CMAKE_C_COMPILER mpicc
setenv CMAKE_CXX_COMPILER mpicxx
setenv CMAKE_CXX_COMPILER mpixx
setenv CMAKE_Fortran_COMPILER mpif90
setenv CMAKE_Platform cheyenne.intel

4 changes: 2 additions & 2 deletions modulefiles/srw_common
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ module load hdf5/1.10.6
module load-any netcdf/4.7.4 netcdf-c/4.7.4
module load-any netcdf/4.7.4 netcdf-fortran/4.5.4
module load-any pio/2.5.2 parallelio/2.5.2
module load-any esmf/8_2_0 esmf/8.2.0
module load fms/2021.03
module load esmf/8.3.0b09
module load fms/2021.04

module load bacio/2.4.1
module load crtm/2.3.0
Expand Down
6 changes: 3 additions & 3 deletions modulefiles/wflow_cheyenne
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ proc ModulesHelp { } {

module-whatis "Loads libraries needed for running SRW on Cheyenne"

module load ncarenv
module use -a /glade/p/ral/jntp/UFS_SRW_app/modules/
module load rocoto
module load miniconda3/4.12.0

if { [module-info mode load] } {
puts stderr "Please do the following to activate ncar_pylib:
> ncar_pylib /glade/p/ral/jntp/UFS_SRW_app/ncar_pylib/regional_workflow"
puts stderr "Please do the following to activate regional_workflow:
> conda activate regional_workflow"
}