Skip to content

Commit

Permalink
Turn off flags for noah.fd.
Browse files Browse the repository at this point in the history
Fixes #471.
  • Loading branch information
GeorgeGayno-NOAA committed Oct 25, 2023
1 parent 4fb7ee6 commit 8918602
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sorc/lsm_routines.fd/noah.fd/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ if(CMAKE_Fortran_COMPILER_ID MATCHES "^(Intel)$")
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -r8 -convert big_endian")
elseif(CMAKE_Fortran_COMPILER_ID MATCHES "^(GNU)$")
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fdefault-real-8 -fconvert=big-endian")
if(CMAKE_Fortran_COMPILER_VERSION VERSION_GREATER_EQUAL 10)
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fallow-argument-mismatch")
endif()
# if(CMAKE_Fortran_COMPILER_VERSION VERSION_GREATER_EQUAL 10)
# set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fallow-argument-mismatch")
# endif()
endif()

set(lib_name noah_lsm_routines)
Expand Down

0 comments on commit 8918602

Please sign in to comment.