Skip to content

Commit 76d20c0

Browse files
committed
try reprosum
1 parent 5a8dd22 commit 76d20c0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

CMEPS/CMEPS

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ if(CMAKE_Fortran_COMPILER_ID MATCHES "GNU")
5252
set(CMAKE_Fortran_FLAGS_DEBUG "-g -Wall -Og -ffpe-trap=zero,overflow -fcheck=bounds")
5353
elseif(CMAKE_Fortran_COMPILER_ID MATCHES "Intel")
5454
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")
55+
set(CMAKE_Fortran_FLAGS_RELEASE "-O2 -warn unused")
5656
set(CMAKE_Fortran_FLAGS_DEBUG "-O0 -check all") #-fpe0 - see https://github.com/ACCESS-NRI/MOM6/issues/39
5757
else()
5858
message(WARNING "Fortran compiler with ID ${CMAKE_Fortran_COMPILER_ID} will be used with CMake default options")

0 commit comments

Comments
 (0)