-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Port to Intel LLVM on Hera, Orion and Hercules (#996)
Also update the Github workflows to Intel LLVM. Retain option to use Intel Classic on those machines. Fixes #879.
- Loading branch information
1 parent
5b2bfa3
commit 122010e
Showing
75 changed files
with
343 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
help([[ | ||
Load environment to compile UFS_UTILS on Hera using Intel | ||
]]) | ||
|
||
hpss_ver=os.getenv("hpss_ver") or "" | ||
load(pathJoin("hpss", hpss_ver)) | ||
|
||
prepend_path("MODULEPATH", "/scratch1/NCEPDEV/nems/role.epic/spack-stack/spack-stack-1.6.0/envs/unified-env-rocky8/install/modulefiles/Core") | ||
|
||
stack_intel_ver=os.getenv("stack_intel_ver") or "2021.5.0" | ||
load(pathJoin("stack-intel", stack_intel_ver)) | ||
|
||
stack_impi_ver=os.getenv("stack_impi_ver") or "2021.5.1" | ||
load(pathJoin("stack-intel-oneapi-mpi", stack_impi_ver)) | ||
|
||
load("gnu") | ||
load("intel/2024.2.1") | ||
|
||
cmake_ver=os.getenv("cmake_ver") or "3.23.1" | ||
load(pathJoin("cmake", cmake_ver)) | ||
|
||
bacio_ver=os.getenv("bacio_ver") or "2.4.1" | ||
load(pathJoin("bacio", bacio_ver)) | ||
|
||
g2_ver=os.getenv("g2_ver") or "3.4.5" | ||
load(pathJoin("g2", g2_ver)) | ||
|
||
ip_ver=os.getenv("ip_ver") or "4.3.0" | ||
load(pathJoin("ip", ip_ver)) | ||
|
||
nemsio_ver=os.getenv("nemsio_ver") or "2.5.4" | ||
load(pathJoin("nemsio", nemsio_ver)) | ||
|
||
sp_ver=os.getenv("sp_ver") or "2.5.0" | ||
load(pathJoin("sp", sp_ver)) | ||
|
||
w3emc_ver=os.getenv("w3emc_ver") or "2.10.0" | ||
load(pathJoin("w3emc", w3emc_ver)) | ||
|
||
-- Uncomment when CHGRES_ALL is ON | ||
--sfcio_ver=os.getenv("sfcio_ver") or "1.4.1" | ||
--load(pathJoin("sfcio", sfcio_ver)) | ||
|
||
sigio_ver=os.getenv("sigio_ver") or "2.3.2" | ||
load(pathJoin("sigio", sigio_ver)) | ||
|
||
zlib_ver=os.getenv("zlib_ver") or "1.2.13" | ||
load(pathJoin("zlib", zlib_ver)) | ||
|
||
png_ver=os.getenv("png_ver") or "1.6.37" | ||
load(pathJoin("libpng", png_ver)) | ||
|
||
netcdf_c_ver=os.getenv("netcdf_c_ver") or "4.9.2" | ||
load(pathJoin("netcdf-c", netcdf_c_ver)) | ||
|
||
netcdf_fortran_ver=os.getenv("netcdf_fortran_ver") or "4.6.1" | ||
load(pathJoin("netcdf-fortran", netcdf_fortran_ver)) | ||
|
||
nccmp_ver=os.getenv("nccmp_ver") or "1.9.0.1" | ||
load(pathJoin("nccmp", nccmp_ver)) | ||
|
||
esmf_ver=os.getenv("esmf_ver") or "8.6.0" | ||
load(pathJoin("esmf", esmf_ver)) | ||
|
||
nco_ver=os.getenv("nco_ver") or "5.0.6" | ||
load(pathJoin("nco", nco_ver)) | ||
|
||
setenv("I_MPI_CC", "icx") | ||
setenv("I_MPI_FC", "ifx") | ||
|
||
setenv("CC", "mpicc") | ||
setenv("FC", "mpifc") | ||
|
||
whatis("Description: UFS_UTILS build environment") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
help([[ | ||
Load environment to compile UFS_UTILS on Hercules using IntelLLVM | ||
]]) | ||
|
||
prepend_path("MODULEPATH", "/work/noaa/epic/role-epic/spack-stack/hercules/spack-stack-1.6.0/envs/unified-env/install/modulefiles/Core") | ||
|
||
stack_intel_ver=os.getenv("stack_intel_ver") or "2021.9.0" | ||
load(pathJoin("stack-intel", stack_intel_ver)) | ||
|
||
stack_impi_ver=os.getenv("stack_impi_ver") or "2021.9.0" | ||
load(pathJoin("stack-intel-oneapi-mpi", stack_impi_ver)) | ||
|
||
cmake_ver=os.getenv("cmake_ver") or "3.23.1" | ||
load(pathJoin("cmake", cmake_ver)) | ||
|
||
bacio_ver=os.getenv("bacio_ver") or "2.4.1" | ||
load(pathJoin("bacio", bacio_ver)) | ||
|
||
g2_ver=os.getenv("g2_ver") or "3.4.5" | ||
load(pathJoin("g2", g2_ver)) | ||
|
||
ip_ver=os.getenv("ip_ver") or "4.3.0" | ||
load(pathJoin("ip", ip_ver)) | ||
|
||
nemsio_ver=os.getenv("nemsio_ver") or "2.5.4" | ||
load(pathJoin("nemsio", nemsio_ver)) | ||
|
||
sp_ver=os.getenv("sp_ver") or "2.5.0" | ||
load(pathJoin("sp", sp_ver)) | ||
|
||
w3emc_ver=os.getenv("w3emc_ver") or "2.10.0" | ||
load(pathJoin("w3emc", w3emc_ver)) | ||
|
||
-- Uncomment when CHGRES_ALL is ON | ||
--sfcio_ver=os.getenv("sfcio_ver") or "1.4.1" | ||
--load(pathJoin("sfcio", sfcio_ver)) | ||
|
||
sigio_ver=os.getenv("sigio_ver") or "2.3.2" | ||
load(pathJoin("sigio", sigio_ver)) | ||
|
||
zlib_ver=os.getenv("zlib_ver") or "1.2.13" | ||
load(pathJoin("zlib", zlib_ver)) | ||
|
||
png_ver=os.getenv("png_ver") or "1.6.37" | ||
load(pathJoin("libpng", png_ver)) | ||
|
||
netcdf_c_ver=os.getenv("netcdf_c_ver") or "4.9.2" | ||
load(pathJoin("netcdf-c", netcdf_c_ver)) | ||
|
||
netcdf_fortran_ver=os.getenv("netcdf_fortran_ver") or "4.6.1" | ||
load(pathJoin("netcdf-fortran", netcdf_fortran_ver)) | ||
|
||
nccmp_ver=os.getenv("nccmp_ver") or "1.9.0.1" | ||
load(pathJoin("nccmp", nccmp_ver)) | ||
|
||
esmf_ver=os.getenv("esmf_ver") or "8.6.0" | ||
load(pathJoin("esmf", esmf_ver)) | ||
|
||
nco_ver=os.getenv("nco_ver") or "5.0.6" | ||
load(pathJoin("nco", nco_ver)) | ||
|
||
setenv("I_MPI_CC", "icx") | ||
setenv("I_MPI_F90", "ifx") | ||
|
||
setenv("CC", "mpiicc") | ||
setenv("FC", "mpiifort") | ||
|
||
whatis("Description: UFS_UTILS build environment") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
help([[ | ||
Load environment to compile UFS_UTILS on Orion using IntelLLVM | ||
]]) | ||
|
||
prepend_path("MODULEPATH", "/work/noaa/epic/role-epic/spack-stack/orion/spack-stack-1.6.0/envs/unified-env-rocky9/install/modulefiles/Core") | ||
|
||
stack_intel_ver=os.getenv("stack_intel_ver") or "2021.9.0" | ||
load(pathJoin("stack-intel", stack_intel_ver)) | ||
|
||
stack_impi_ver=os.getenv("stack_impi_ver") or "2021.9.0" | ||
load(pathJoin("stack-intel-oneapi-mpi", stack_impi_ver)) | ||
|
||
cmake_ver=os.getenv("cmake_ver") or "3.23.1" | ||
load(pathJoin("cmake", cmake_ver)) | ||
|
||
bacio_ver=os.getenv("bacio_ver") or "2.4.1" | ||
load(pathJoin("bacio", bacio_ver)) | ||
|
||
g2_ver=os.getenv("g2_ver") or "3.4.5" | ||
load(pathJoin("g2", g2_ver)) | ||
|
||
ip_ver=os.getenv("ip_ver") or "4.3.0" | ||
load(pathJoin("ip", ip_ver)) | ||
|
||
nemsio_ver=os.getenv("nemsio_ver") or "2.5.4" | ||
load(pathJoin("nemsio", nemsio_ver)) | ||
|
||
sp_ver=os.getenv("sp_ver") or "2.5.0" | ||
load(pathJoin("sp", sp_ver)) | ||
|
||
w3emc_ver=os.getenv("w3emc_ver") or "2.10.0" | ||
load(pathJoin("w3emc", w3emc_ver)) | ||
|
||
-- Uncomment when CHGRES_ALL is ON | ||
--sfcio_ver=os.getenv("sfcio_ver") or "1.4.1" | ||
--load(pathJoin("sfcio", sfcio_ver)) | ||
|
||
sigio_ver=os.getenv("sigio_ver") or "2.3.2" | ||
load(pathJoin("sigio", sigio_ver)) | ||
|
||
zlib_ver=os.getenv("zlib_ver") or "1.2.13" | ||
load(pathJoin("zlib", zlib_ver)) | ||
|
||
png_ver=os.getenv("png_ver") or "1.6.37" | ||
load(pathJoin("libpng", png_ver)) | ||
|
||
netcdf_c_ver=os.getenv("netcdf_c_ver") or "4.9.2" | ||
load(pathJoin("netcdf-c", netcdf_c_ver)) | ||
|
||
netcdf_fortran_ver=os.getenv("netcdf_fortran_ver") or "4.6.1" | ||
load(pathJoin("netcdf-fortran", netcdf_fortran_ver)) | ||
|
||
nccmp_ver=os.getenv("nccmp_ver") or "1.9.0.1" | ||
load(pathJoin("nccmp", nccmp_ver)) | ||
|
||
esmf_ver=os.getenv("esmf_ver") or "8.6.0" | ||
load(pathJoin("esmf", esmf_ver)) | ||
|
||
nco_ver=os.getenv("nco_ver") or "5.0.6" | ||
load(pathJoin("nco", nco_ver)) | ||
|
||
setenv("I_MPI_CC", "icx") | ||
setenv("I_MPI_F90", "ifx") | ||
|
||
setenv("CC", "mpiicc") | ||
setenv("FC", "mpiifort") | ||
|
||
whatis("Description: UFS_UTILS build environment") |
Oops, something went wrong.