forked from ufs-community/ufs-weather-model
-
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.
Combined PR: hpc-stack locations, Disable Fused Multiply Add, and Ena…
…ble usage of shared pio (ufs-community#1645) * Gaea system: change in hpc-stack location, miniconda3 (EPIC-managed) * move DISABLE_FMA to one if at the end * only disable fma on wcoss if FASTER=ON * Update CMakeModules to develop; remove STATIC requirement from PIO find. Co-authored-by: Natalie Perlin <[email protected]> Co-authored-by: ulmononian <[email protected]>
- Loading branch information
1 parent
b388eb9
commit 495c5fd
Showing
31 changed files
with
5,111 additions
and
5,224 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
Submodule CMakeModules
updated
6 files
+180 −0 | Modules/FindGPTL.cmake | |
+25 −4 | Modules/FindNetCDF.cmake | |
+10 −2 | Modules/FindPIO.cmake | |
+174 −0 | Modules/FindPnetCDF.cmake | |
+32 −0 | Modules/FindSphinx.cmake | |
+47 −0 | Modules/Findudunits.cmake |
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,3 +1,7 @@ | ||
set(PARALLEL_NETCDF ON CACHE BOOL "Enable parallel NetCDF" FORCE) | ||
set(DEBUG_LINKMPI OFF CACHE BOOL "Enable linkmpi option when DEBUG mode is on" FORCE) | ||
set(AVX2 OFF CACHE BOOL "Enable AVX2 instruction set" FORCE) | ||
|
||
if(FASTER) | ||
set(DISABLE_FMA ON CACHE BOOL "Disable Fused Multiply-Add instructions (workaround needed for AMD EPYC)" FORCE) | ||
endif() |
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,3 +1,7 @@ | ||
set(PARALLEL_NETCDF ON CACHE BOOL "Enable parallel NetCDF" FORCE) | ||
set(DEBUG_LINKMPI OFF CACHE BOOL "Enable linkmpi option when DEBUG mode is on" FORCE) | ||
set(AVX2 OFF CACHE BOOL "Enable AVX2 instruction set" FORCE) | ||
|
||
if(FASTER) | ||
set(DISABLE_FMA ON CACHE BOOL "Disable Fused Multiply-Add instructions (workaround needed for AMD EPYC)" FORCE) | ||
endif() |
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,35 @@ | ||
help([[ | ||
This module loads libraries required for building and running UFS Weather Model | ||
on the NOAA RDHPC machine Gaea using Intel-2022.1.2 | ||
]]) | ||
|
||
whatis([===[Loads libraries needed for building the UFS Weather Model on Gaea ]===]) | ||
|
||
prepend_path("MODULEPATH", "/lustre/f2/dev/role.epic/contrib/modulefiles") | ||
load(pathJoin("miniconda3",os.getenv("miniconda_ver") or "4.12.0")) | ||
|
||
load(pathJoin("cmake", os.getenv("cmake_ver") or "3.20.1")) | ||
|
||
prepend_path("MODULEPATH","/lustre/f2/dev/role.epic/contrib/hpc-stack/intel-2021.3.0_noarch/modulefiles/stack") | ||
load(pathJoin("hpc", os.getenv("hpc_ver") or "1.2.0")) | ||
load(pathJoin("intel", os.getenv("intel_ver") or "2021.3.0")) | ||
load(pathJoin("hpc-intel", os.getenv("hpc_intel_ver") or "2021.3.0")) | ||
load(pathJoin("hpc-cray-mpich", os.getenv("hpc_cray_mpich_ver") or "7.7.11")) | ||
load(pathJoin("gcc", os.getenv("gcc_ver") or "8.3.0")) | ||
load(pathJoin("libpng", os.getenv("libpng_ver") or "1.6.37")) | ||
|
||
-- needed for WW3 build | ||
load(pathJoin("gcc", os.getenv("gcc_ver") or "8.3.0")) | ||
-- Needed at runtime: | ||
load("alps") | ||
load("rocoto") | ||
|
||
load("ufs_common") | ||
|
||
setenv("CC","cc") | ||
setenv("FC","ftn") | ||
setenv("CXX","CC") | ||
setenv("CMAKE_C_COMPILER","cc") | ||
setenv("CMAKE_CXX_COMPILER","CC") | ||
setenv("CMAKE_Fortran_COMPILER","ftn") | ||
setenv("CMAKE_Platform","gaea.intel") |
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,35 @@ | ||
help([[ | ||
This module loads libraries required for building and running UFS Weather Model | ||
on the NOAA RDHPC machine Gaea using Intel-2022.1.2 | ||
]]) | ||
|
||
whatis([===[Loads libraries needed for building the UFS Weather Model and debug on Gaea ]===]) | ||
|
||
prepend_path("MODULEPATH", "/lustre/f2/dev/role.epic/contrib/modulefiles") | ||
load(pathJoin("miniconda3",os.getenv("miniconda_ver") or "4.12.0")) | ||
|
||
load(pathJoin("cmake", os.getenv("cmake_ver") or "3.20.1")) | ||
|
||
prepend_path("MODULEPATH","/lustre/f2/dev/role.epic/contrib/hpc-stack/intel-2021.3.0_noarch/modulefiles/stack") | ||
load(pathJoin("hpc", os.getenv("hpc_ver") or "1.2.0")) | ||
load(pathJoin("intel", os.getenv("intel_ver") or "2021.3.0")) | ||
load(pathJoin("hpc-intel", os.getenv("hpc_intel_ver") or "2021.3.0")) | ||
load(pathJoin("hpc-cray-mpich", os.getenv("hpc_cray_mpich_ver") or "7.7.11")) | ||
load(pathJoin("gcc", os.getenv("gcc_ver") or "8.3.0")) | ||
load(pathJoin("libpng", os.getenv("libpng_ver") or "1.6.37")) | ||
|
||
-- needed for WW3 build | ||
load(pathJoin("gcc", os.getenv("gcc_ver") or "8.3.0")) | ||
-- Needed at runtime: | ||
load("alps") | ||
load("rocoto") | ||
|
||
load("ufs_common_debug") | ||
|
||
setenv("CC","cc") | ||
setenv("FC","ftn") | ||
setenv("CXX","CC") | ||
setenv("CMAKE_C_COMPILER","cc") | ||
setenv("CMAKE_CXX_COMPILER","CC") | ||
setenv("CMAKE_Fortran_COMPILER","ftn") | ||
setenv("CMAKE_Platform","gaea.intel") |
Oops, something went wrong.