Update Intel compile flags as suggested by @bhermanmit.

This commit is contained in:
Paul Romano 2014-03-03 18:43:52 -05:00
parent 216be5029e
commit 937db3e475

View file

@ -62,9 +62,9 @@ if(CMAKE_Fortran_COMPILER_ID STREQUAL "GNU")
elseif(CMAKE_Fortran_COMPILER_ID STREQUAL "Intel")
# Intel Fortran compiler options
set(f90flags "-fpp -warn -assume byterecl -traceback")
set(f90flags "-fpp -std08 -assume byterecl -traceback")
if(debug)
set(f90flags "-g -ftrapuv -fp-stack-check -check all -fpe0 ${f90flags}")
set(f90flags "-g -warn -ftrapuv -fp-stack-check -check all -fpe0 ${f90flags}")
set(ldflags "-g")
endif()
if(profile)