diff --git a/CMakeLists.txt b/CMakeLists.txt index aa4fdda..643a228 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -26,7 +26,7 @@ elseif("${CMAKE_Fortran_COMPILER_ID}" MATCHES "Intel") # Reason: some dynamically allocated arrays are replicated when OpenMP is used with the neptuneClass. # The (small) stack is used for the replication of the arrays. The flag moves arrays from the stack to the heap. #set (CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -heap-arrays 32768") - set (CMAKE_Fortran_FLAGS_DEBUG "${CMAKE_Fortran_FLAGS_DEBUG} -O0 -fpp -DDBLE -g -fno-omit-frame-pointer -traceback -check bounds -check output-conversion -check format -check pointers -check uninit -ftrapuv -assume realloc_lhs -fstack-protector -assume protect_parens") + set (CMAKE_Fortran_FLAGS_DEBUG "${CMAKE_Fortran_FLAGS_DEBUG} -O0 -fpp -DDBLE -g -fno-omit-frame-pointer -traceback -check bounds -check output-conversion -check format -check pointers -ftrapuv -assume realloc_lhs -fstack-protector -assume protect_parens") set (CMAKE_Fortran_FLAGS_RELEASE "${CMAKE_Fortran_FLAGS_RELEASE} -O3 -fpp -DDBLE") elseif ("${CMAKE_Fortran_COMPILER_ID}" MATCHES "Flang") set (CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -Mpreprocess") @@ -120,4 +120,4 @@ if (BUILD_DOCUMENTATION) else (DOXYGEN_FOUND) message("Doxygen needs to be installed to generate the source code documentation") endif (DOXYGEN_FOUND) -endif (BUILD_DOCUMENTATION) \ No newline at end of file +endif (BUILD_DOCUMENTATION)