forked from ufs-community/ufs-srweather-app
-
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.
spack-stack 1.4.1 integration for gaea-c5 platform
- Loading branch information
Natalie Perlin
authored and
Natalie Perlin
committed
Oct 13, 2023
1 parent
d989d63
commit ea2f6c2
Showing
4 changed files
with
29 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,25 @@ | ||
--[[ | ||
Compiler-specific modules are used for met and metplus libraries | ||
--]] | ||
load(pathJoin("met", os.getenv("met_ver") or "10.1.2")) | ||
load(pathJoin("metplus", os.getenv("metplus_ver") or "4.1.3")) | ||
local met_ver = (os.getenv("met_ver") or "10.1.1") | ||
local metplus_ver = (os.getenv("metplus_ver") or "4.1.1") | ||
if (mode() == "load") then | ||
load(pathJoin("met", met_ver)) | ||
load(pathJoin("metplus",metplus_ver)) | ||
end | ||
local base_met = os.getenv("met_ROOT") or os.getenv("MET_ROOT") | ||
local base_metplus = os.getenv("metplus_ROOT") or os.getenv("METPLUS_ROOT") | ||
|
||
setenv("MET_INSTALL_DIR", base_met) | ||
setenv("MET_BIN_EXEC", pathJoin(base_met,"bin")) | ||
setenv("MET_BASE", pathJoin(base_met,"share/met")) | ||
setenv("MET_VERSION", met_ver) | ||
setenv("METPLUS_VERSION", metplus_ver) | ||
setenv("METPLUS_ROOT", base_metplus) | ||
setenv("METPLUS_PATH", base_metplus) | ||
|
||
if (mode() == "unload") then | ||
unload(pathJoin("met", met_ver)) | ||
unload(pathJoin("metplus",metplus_ver)) | ||
end | ||
load("python_srw") |
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