mirror of
https://github.com/JHUAPL/kaiju.git
synced 2026-01-09 15:17:56 -05:00
Compiler flag to automatically identify and upgrade 32-bit floating point constants to 64-bit when they are being assigned to a 64-bit floating point variable. No more tracing down and manually changing the constant
This commit is contained in:
@@ -81,7 +81,7 @@ set(CMAKE_Fortran_FLAGS_RELWITHDEBINFO "${CMAKE_DEFOPT} -g")
|
||||
if(CMAKE_Fortran_COMPILER_ID MATCHES Intel)
|
||||
set(dialect "-free -implicitnone")
|
||||
#Base
|
||||
string(APPEND CMAKE_Fortran_FLAGS " -fPIC")
|
||||
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")
|
||||
|
||||
Reference in New Issue
Block a user