Skip to content

Commit

Permalink
Merge pull request #24 from GEOS-ESM/feature/mathomp4/fix-ada-debug
Browse files Browse the repository at this point in the history
Fix issue with ADA_Module and Intel debug flags
  • Loading branch information
mathomp4 authored Nov 17, 2022
2 parents f6902c5 + 5b9b1ba commit 522f749
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion NCEP_crtm/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,10 @@ set (SRCS
)

if (CMAKE_Fortran_COMPILER_ID MATCHES Intel)
set (CMAKE_Fortran_FLAGS_RELEASE "-free ${FOPT2} ${LITTLE_ENDIAN} ${BYTERECLEN}")
if (CMAKE_BUILD_TYPE MATCHES Debug)
message(WARNING "Intel Compiler and our debugging flags have issues with ADA_Module.f90. So for now we turn off checking compiling ADA_Module.f90")
set_source_files_properties(ADA_Module.f90 PROPERTIES COMPILE_OPTIONS -nocheck)
endif ()
endif ()


Expand Down

0 comments on commit 522f749

Please sign in to comment.