-
Notifications
You must be signed in to change notification settings - Fork 252
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update DISKNM; add preliminary ursa modulefile.
- Loading branch information
1 parent
7de26b6
commit 78c44b5
Showing
3 changed files
with
41 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
help([[ | ||
loads UFS Model prerequisites for Ursa/Intel | ||
]]) | ||
|
||
prepend_path("MODULEPATH", "/contrib/spack-stack/envs/1.8.0/ue-oneapi-ifort-2024.2.1/install/modulefiles/Core") | ||
prepend_path("MODULEPATH", "/contrib/spack-stack/envs/1.8.0/ue-oneapi-ifort-2024.2.1/install/modulefiles/intel-oneapi-mpi/2021.13-eaajhcw/oneapi/2024.2.1") | ||
|
||
stack_intel_ver=os.getenv("stack_intel_ver") or "2024.2.1" | ||
load(pathJoin("stack-oneapi", stack_intel_ver)) | ||
|
||
stack_impi_ver=os.getenv("stack_impi_ver") or "2021.13" | ||
load(pathJoin("stack-intel-oneapi-mpi", stack_impi_ver)) | ||
|
||
cmake_ver=os.getenv("cmake_ver") or "3.27.9" | ||
load(pathJoin("cmake", cmake_ver)) | ||
|
||
load("ufs_common") | ||
|
||
nccmp_ver=os.getenv("nccmp_ver") or "1.9.1.0" | ||
load(pathJoin("nccmp", nccmp_ver)) | ||
|
||
setenv("CC", "mpiicc") | ||
setenv("CXX", "mpiicpc") | ||
setenv("FC", "mpiifort") | ||
setenv("I_MPI_CC", "icx") | ||
setenv("I_MPI_CXX", "icpx") | ||
setenv("I_MPI_F90", "ifort") | ||
|
||
setenv("CMAKE_Platform", "ursa.intel") | ||
|
||
whatis("Description: UFS 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