We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a8dd22 commit 76d20c0Copy full SHA for 76d20c0
2 files changed
CMEPS/CMEPS
CMakeLists.txt
@@ -52,7 +52,7 @@ if(CMAKE_Fortran_COMPILER_ID MATCHES "GNU")
52
set(CMAKE_Fortran_FLAGS_DEBUG "-g -Wall -Og -ffpe-trap=zero,overflow -fcheck=bounds")
53
elseif(CMAKE_Fortran_COMPILER_ID MATCHES "Intel")
54
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -qno-opt-dynamic-align -convert big_endian -assume byterecl -ftz -traceback -assume realloc_lhs -fp-model precise -g -grecord-gcc-switches")
55
- set(CMAKE_Fortran_FLAGS_RELEASE "-O2")
+ set(CMAKE_Fortran_FLAGS_RELEASE "-O2 -warn unused")
56
set(CMAKE_Fortran_FLAGS_DEBUG "-O0 -check all") #-fpe0 - see https://github.com/ACCESS-NRI/MOM6/issues/39
57
else()
58
message(WARNING "Fortran compiler with ID ${CMAKE_Fortran_COMPILER_ID} will be used with CMake default options")
0 commit comments