Skip to content
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
a4ba44c
feature/use_container_stack-stack-1.6.0
weihuang-jedi Apr 9, 2025
1f81497
feature/use_container_stack-stack-1.6.0
weihuang-jedi Apr 9, 2025
4c9bdad
compiled on hera
weihuang-jedi Apr 11, 2025
2d6a4a7
Merge branch 'NOAA-EMC:develop' into feature/use_container_stack-stac…
weihuang-jedi Apr 14, 2025
73e4d7a
compiled on hera
weihuang-jedi May 7, 2025
1c50605
Merge branch 'NOAA-EMC:develop' into feature/use_container_stack-stac…
weihuang-jedi May 14, 2025
6b592d8
Merge branch 'NOAA-EMC:develop' into feature/use_container_stack-stac…
weihuang-jedi May 21, 2025
2217400
remove extra module path, and check SINGULARITY_CONTAINER env. var
weihuang-jedi Jun 13, 2025
da50de0
remove extra module path, and check SINGULARITY_CONTAINER env. var
weihuang-jedi Jun 13, 2025
b6ff899
Merge branch 'NOAA-EMC:develop' into feature/use_container_stack-stac…
weihuang-jedi Jun 13, 2025
27d877b
container use its own package version
weihuang-jedi Jun 13, 2025
7dc93ab
Merge branch 'feature/use_container_stack-stack-1.6.0' of github.com:…
weihuang-jedi Jun 13, 2025
df8fc5d
check /opt/spack-stack, and SINGULARITY_CONTAINER to set MACHINE_ID c…
weihuang-jedi Jun 13, 2025
9662a27
Merge branch 'NOAA-EMC:develop' into feature/use_container_stack-stac…
weihuang-jedi Jun 15, 2025
81e3d16
Merge branch 'NOAA-EMC:develop' into feature/use_container_stack-stac…
weihuang-jedi Jun 20, 2025
516c4bc
re-sync with UPP develop
weihuang-jedi Jun 20, 2025
3b18df8
Merge branch 'NOAA-EMC:develop' into feature/use_container_stack-stac…
weihuang-jedi Jun 23, 2025
262c6d7
Merge branch 'NOAA-EMC:develop' into feature/use_container_stack-stac…
weihuang-jedi Jun 24, 2025
cf23447
Merge branch 'NOAA-EMC:develop' into feature/use_container_stack-stac…
weihuang-jedi Jul 9, 2025
05bdd42
using container spack-stack 1.9.1
weihuang-jedi Jul 23, 2025
b487855
Merge branch 'develop' of ssh://github.com/NOAA-EPIC/UPP-cloud into f…
weihuang-jedi Aug 20, 2025
02d4adc
update to ss192
weihuang-jedi Aug 20, 2025
3e178f8
sync with emc repo, and cleanup
weihuang-jedi Aug 21, 2025
97f144b
Merge branch 'NOAA-EMC:develop' into feature/use_container_spack-stac…
weihuang-jedi Aug 25, 2025
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
44 changes: 14 additions & 30 deletions modulefiles/container_intel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,41 +2,25 @@ help([[
Build environment for UPP in container
]])

prepend_path("MODULEPATH", "/opt/spack-stack/spack-stack-1.6.0/envs/unified-env/install/modulefiles/Core")
prepend_path("MODULEPATH", "/opt/spack-stack/spack-stack-1.9.2/envs/unified-env/install/modulefiles/Core")

local stack_intel_ver=os.getenv("stack_intel_ver") or "2021.10.0"
local stack_impi_ver=os.getenv("stack_impi_ver") or "2021.9.0"
local cmake_ver=os.getenv("cmake_ver") or "3.23.1"
stack_oneapi_ver=os.getenv("stack_oneapi_ver") or "2024.2.0"
stack_impi_ver=os.getenv("stack_impi_ver") or "2021.13"
cmake_ver=os.getenv("cmake_ver") or "3.27.9"

load("gnu")
load(pathJoin("stack-intel", stack_intel_ver))
load(pathJoin("stack-oneapi", stack_oneapi_ver))
load(pathJoin("stack-intel-oneapi-mpi", stack_impi_ver))
unload("gnu")

load(pathJoin("cmake", cmake_ver))

local ufs_modules = {
{["jasper"] = "2.0.32" },
{["libpng"] = "1.6.37" },
{["hdf5"] = "1.14.0" },
{["netcdf-c"] = "4.9.2" },
{["netcdf-fortran"] = "4.6.1" },
{["bacio"] = "2.4.1" },
{["crtm"] = "2.4.0.1"},
{["g2"] = "3.5.1" },
{["g2tmpl"] = "1.13.0" },
{["ip"] = "4.3.0" },
{["w3emc"] = "2.10.0" },
{["nemsio"] = "2.5.4" },
{["sigio"] = "2.3.2" },
{["wrf-io"] = "1.2.0" },
}
load("upp_common")

for i = 1, #ufs_modules do
for name, default_version in pairs(ufs_modules[i]) do
local env_version_name = string.gsub(name, "-", "_") .. "_ver"
load(pathJoin(name, os.getenv(env_version_name) or default_version))
end
end
setenv("CC", "mpiicx")
setenv("CXX", "mpiicpx")
setenv("FC", "mpiifort")
setenv("I_MPI_CC", "icx")
setenv("I_MPI_CXX", "icpx")
setenv("I_MPI_FC", "ifort")
setenv("I_MPI_F77", "ifort")
setenv("I_MPI_F90", "ifort")

whatis("Description: UPP environment in container with Intel Compilers")