-
Notifications
You must be signed in to change notification settings - Fork 46
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 #195 from jedwards4b/update_default_ww3grid
Changes for compsets, grids and compilers on derecho
- Loading branch information
Showing
8 changed files
with
96 additions
and
3,211 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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 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,63 @@ | ||
string(APPEND CFLAGS " -qno-opt-dynamic-align -fp-model precise -std=gnu99") | ||
if (compile_threaded) | ||
string(APPEND CFLAGS " -qopenmp") | ||
endif() | ||
if (NOT DEBUG) | ||
string(APPEND CFLAGS " -O2 -debug minimal") | ||
endif() | ||
if (DEBUG) | ||
string(APPEND CFLAGS " -O0 -g") | ||
endif() | ||
string(APPEND CFLAGS " -no-fma") | ||
string(APPEND CPPDEFS " -DFORTRANUNDERSCORE -DCPRINTEL") | ||
string(APPEND CXX_LDFLAGS " -cxxlib") | ||
set(CXX_LINKER "FORTRAN") | ||
set(FC_AUTO_R8 "-r8") | ||
string(APPEND FFLAGS " -qno-opt-dynamic-align -convert big_endian -assume byterecl -ftz -traceback -assume realloc_lhs -fp-model source") | ||
if (compile_threaded) | ||
string(APPEND FFLAGS " -qopenmp") | ||
endif() | ||
if (DEBUG) | ||
string(APPEND FFLAGS " -O0 -g -check bounds -check pointers -fpe0 -check noarg_temp_created") | ||
endif() | ||
if (NOT DEBUG) | ||
string(APPEND FFLAGS " -O2 -debug minimal") | ||
endif() | ||
string(APPEND FFLAGS " -no-fma") | ||
set(FFLAGS_NOOPT "-O0") | ||
set(FIXEDFLAGS "-fixed") | ||
set(FREEFLAGS "-free") | ||
if (compile_threaded) | ||
string(APPEND LDFLAGS " -qopenmp") | ||
endif() | ||
set(MPICC "mpicc") | ||
set(MPICXX "mpicxx") | ||
set(MPIFC "mpif90") | ||
set(SCC "icc") | ||
set(SCXX "icpc") | ||
set(SFC "ifort") | ||
if (MPILIB STREQUAL mpich) | ||
string(APPEND SLIBS " -mkl=cluster") | ||
endif() | ||
if (MPILIB STREQUAL mpich2) | ||
string(APPEND SLIBS " -mkl=cluster") | ||
endif() | ||
if (MPILIB STREQUAL mvapich) | ||
string(APPEND SLIBS " -mkl=cluster") | ||
endif() | ||
if (MPILIB STREQUAL mvapich2) | ||
string(APPEND SLIBS " -mkl=cluster") | ||
endif() | ||
if (MPILIB STREQUAL mpt) | ||
string(APPEND SLIBS " -mkl=cluster") | ||
endif() | ||
if (MPILIB STREQUAL openmpi) | ||
string(APPEND SLIBS " -mkl=cluster") | ||
endif() | ||
if (MPILIB STREQUAL impi) | ||
string(APPEND SLIBS " -mkl=cluster") | ||
endif() | ||
if (MPILIB STREQUAL mpi-serial) | ||
string(APPEND SLIBS " -mkl") | ||
endif() | ||
set(SUPPORTS_CXX "TRUE") |
Oops, something went wrong.