File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,12 @@ elseif(COMPILER STREQUAL "Intel" OR COMPILER STREQUAL "IntelLLVM")
35
35
set (CMAKE_C_FLAGS_DEBUG "-O0 -g" )
36
36
set (CMAKE_C_FLAGS_RELEASE "-O2 -debug minimal" )
37
37
set (CMAKE_Fortran_FLAGS "-free -qno-opt-dynamic-align -ftz -traceback -convert big_endian -assume byterecl -assume realloc_lhs -fp-model source -qopenmp" )
38
- set (CMAKE_Fortran_FLAGS_DEBUG "-O0 -g -fpe0" ) #-check all
38
+ if (USE_PDAF )
39
+ # PDAF does not pass all checks from "-check all"
40
+ set (CMAKE_Fortran_FLAGS_DEBUG "-O0 -g -fpe0" ) #-check all
41
+ else ()
42
+ set (CMAKE_Fortran_FLAGS_DEBUG "-O0 -g -fpe0 -check all" )
43
+ endif ()
39
44
set (CMAKE_Fortran_FLAGS_RELEASE "-O2 -debug minimal" )
40
45
else ()
41
46
message (FATAL_ERROR "COMPILER='${COMPILER} ' is not supported." )
You can’t perform that action at this time.
0 commit comments