Merge branch 'master' into reconnection
This commit is contained in:
commit
a0a9cee281
@ -76,7 +76,8 @@ if(ENABLE_OPENMP)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
option(DISABLE_FMA "Disable FMA operations for slightly slower, but symmetric floating-point arithmetics." OFF)
|
||||
if(CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64")
|
||||
option(DISABLE_FMA "Disable FMA operations for slightly slower, but symmetric floating-point arithmetics." ON)
|
||||
if(DISABLE_FMA)
|
||||
if(CMAKE_Fortran_COMPILER_ID MATCHES "GNU")
|
||||
target_compile_options(amun.x PRIVATE "-mno-fma;-mno-fma4")
|
||||
@ -91,6 +92,7 @@ if(CMAKE_Fortran_COMPILER_ID MATCHES "NVHPC")
|
||||
target_compile_options(amun.x PRIVATE "-Mnofma")
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
option(ENABLE_SIGNALS "Enables signal handler support." ON)
|
||||
if(ENABLE_SIGNALS)
|
||||
|
Loading…
x
Reference in New Issue
Block a user