Rolling back floating point compiler options to previous ones pending further testing

This commit is contained in:
Jeffrey Garretson
2024-04-12 14:04:20 -06:00
parent dcab7d0a87
commit 73cdc3f6d7

View File

@@ -83,13 +83,9 @@ if(CMAKE_Fortran_COMPILER_ID MATCHES Intel)
#Base
string(APPEND CMAKE_Fortran_FLAGS " -fPIC -fpconstant")
#Production
if(NOT FAST_YOLO)
set(PROD "-align array64byte -align rec32byte -fimf-use-svml=true -fp-model=source")
else()
set(PROD "-align array64byte -align rec32byte -fimf-use-svml=true -fp-model=fast")
endif()
set(PROD "-align array64byte -align rec32byte -no-prec-div -fast-transcendentals")
#Production with Debug Info
set(PRODWITHDEBUGINFO "-traceback -debug all -align array64byte -align rec32byte -fimf-use-svml=true -fp-model=source")
set(PRODWITHDEBUGINFO "-traceback -debug all -align array64byte -align rec32byte -no-prec-div -fast-transcendentals")
#Debug
if(NOT DISABLE_DEBUG_BOUNDS_CHECKS)
set(DEBUG "-traceback -check bounds -check uninit -debug all -gen-interfaces -warn interfaces -fp-stack-check")