forked from ESMCI/ccs_config_cesm
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #43 from mvdebolskiy/update-betzy
Update dependencies and modules for IntelOneApi to work with NorESM/CESM
- Loading branch information
Showing
4 changed files
with
45 additions
and
48 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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
set(PIO_FILESYSTEM_HINTS "lustre") | ||
string(APPEND CFLAGS " -qopt-report -march=core-avx2") | ||
string(APPEND FFLAGS " -qopt-report -march=core-avx2") | ||
set(NETCDF_C_PATH $ENV{EBROOTNETCDF}) | ||
set(NETCDF_FORTRAN_PATH $ENV{EBROOTNETCDFMINFORTRAN}) | ||
set(PNETCDF_PATH $ENV{PNETCDF}) | ||
|
||
if(DEFINED ENV{PIO}) | ||
set(PIO_LIBDIR "$ENV{PIO}/lib") | ||
set(PIO_INCDIR "$ENV{PIO}/include") | ||
endif() | ||
|
||
string(REPLACE "-mkl=cluster" "" SLIBS "${SLIBS}") | ||
string(APPEND CPPDEFS " -DHAVE_GETTID") | ||
|
||
if (COMP_WAV STREQUAL ww3) | ||
if (MPILIB STREQUAL openmpi) | ||
string(APPEND SLIBS " -l:libparmetis.a -lmetis ") | ||
endif() | ||
endif() | ||
|
||
if (MPILIB STREQUAL impi) | ||
set(MPICC "mpiicc") | ||
set(MPICXX "mpiicpc") | ||
set(MPIFC "mpiifort") | ||
endif() | ||
|
||
if (MPILIB STREQUAL openmpi) | ||
set(MPICC "mpicc") | ||
set(MPICXX "mpicpc") | ||
set(MPIFC "mpifort") | ||
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 +1 @@ | ||
set(PFUNIT_PATH "$GITHUB_WORKSPACE/pfunit/build") | ||
set(PFUNIT_PATH "$GITHUB_WORKSPACE/pfunit/build") |