forked from ESMCI/ccs_config_cesm
-
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.
Merge branch 'update/derecho_support' into 'ew-develop' (PR ESMCI#5)
Advance EarthWorksOrg external to include changes from the ESMCI/ccs_config_cesm 'ccs_config_cesm0.0.72' tag.
- Loading branch information
Showing
5 changed files
with
152 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
if (COMP_NAME STREQUAL gptl) | ||
string(APPEND CPPDEFS " -DHAVE_NANOTIME -DBIT64 -DHAVE_VPRINTF -DHAVE_BACKTRACE -DHAVE_SLASHPROC -DHAVE_COMM_F2C -DHAVE_TIMES -DHAVE_GETTIMEOFDAY") | ||
endif() | ||
set(NETCDF_PATH "$ENV{NETCDF}") | ||
set(PIO_FILESYSTEM_HINTS "lustre") | ||
set(PNETCDF_PATH "$ENV{PNETCDF}") | ||
# If we want to use cray-libsci instead of mkl uncomment this line as well as the module in config_machines.xml | ||
string(REPLACE "-mkl=cluster" "" SLIBS "${SLIBS}") | ||
#string(REPLACE "-mkl=cluster" "-qmkl=cluster" SLIBS "${SLIBS}") | ||
#string(APPEND CPPDEFS " -DNO_SHR_VMATH ") | ||
string(APPEND CPPDEFS " -DHAVE_GETTID") |
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,11 @@ | ||
set(CONFIG_ARGS "--host=cray") | ||
string(APPEND CFLAGS " -march=core-avx2") | ||
string(APPEND FFLAGS " -march=core-avx2") | ||
if (COMP_NAME STREQUAL gptl) | ||
string(APPEND CPPDEFS " -DHAVE_SLASHPROC") | ||
endif() | ||
if (COMP_NAME STREQUAL mpi-serial) | ||
string(APPEND CFLAGS " -std=c89 ") | ||
endif() | ||
set(SCC icx) | ||
set(SFC ifort) |
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,6 @@ | ||
if (COMP_NAME STREQUAL mpi-serial) | ||
string(APPEND CFLAGS " -std=c89 ") | ||
endif() | ||
if (NOT DEBUG) | ||
string(APPEND FFLAGS " -target=zen3") | ||
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
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