forked from NOAA-EMC/UPP
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update UPP modulefile on S4 with spack-stack 1.5.0 (NOAA-EMC#828)
* Rename s4 to s4.lua, update to use spack-stack on s4 * Update modulefiles for s4 to make it uniform with other platform --------- Co-authored-by: Innocent Souopgui <[email protected]>
- Loading branch information
Showing
2 changed files
with
24 additions
and
33 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,24 @@ | ||
-- --------------------------------------------------------------------------- | ||
-- David Huber 06/2021, Set up config. with the hpc-stack NCEPLIBS. | ||
-- Innocent Souopgui 11/2023, Update to use spack-stack | ||
-- --------------------------------------------------------------------------- | ||
|
||
|
||
prepend_path("MODULEPATH", "/data/prod/jedi/spack-stack/spack-stack-1.5.0/envs/unified-env/install/modulefiles/Core") | ||
|
||
local stack_intel_ver=os.getenv("stack_intel_ver") or "2021.5.0" | ||
local stack_impi_ver=os.getenv("stack_impi_ver") or "2021.5.0" | ||
local cmake_ver=os.getenv("cmake_ver") or "3.23.1" | ||
|
||
load(pathJoin("stack-intel", stack_intel_ver)) | ||
load(pathJoin("stack-intel-oneapi-mpi", stack_impi_ver)) | ||
load(pathJoin("cmake", cmake_ver)) | ||
|
||
load("upp_common") | ||
|
||
setenv("CC","mpiicc") | ||
setenv("CXX","mpiicpc") | ||
setenv("FC","mpiifort") | ||
|
||
whatis("Description: UPP build environment") | ||
|