Skip to content

Commit

Permalink
Merge pull request NOAA-GFDL#14 from GEOS-ESM/feature/mathomp4/disabl…
Browse files Browse the repository at this point in the history
…e-heap-arrays

Fix Intel 19+MOM issue with debug
  • Loading branch information
sanAkel authored Aug 18, 2020
2 parents f275bb0 + e7de7db commit 29aa9f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ if (CMAKE_Fortran_COMPILER_ID MATCHES "GNU")
endif ()
if (CMAKE_Fortran_COMPILER_ID MATCHES "Intel")
target_compile_options (${lib} PRIVATE $<$<COMPILE_LANGUAGE:Fortran>:-diag-disable 6843,7712>) # warnings about dummy args
target_compile_options (${lib} PRIVATE $<$<COMPILE_LANGUAGE:Fortran>:-no-heap-arrays>) # mom issue with Intel 19
endif ()
if (CMAKE_Fortran_COMPILER_ID MATCHES "PGI")
target_compile_definitions (${lib} PRIVATE NO_QUAD_PRECISION)
Expand Down

0 comments on commit 29aa9f4

Please sign in to comment.