From a28429fbd068da5b85194d1d3da8ee2afbcde63e Mon Sep 17 00:00:00 2001 From: George Gayno Date: Wed, 10 Jul 2024 15:41:10 +0000 Subject: [PATCH] Revert to original compiler options. Fixes #71. --- src/gaussian_sfcanl.fd/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gaussian_sfcanl.fd/CMakeLists.txt b/src/gaussian_sfcanl.fd/CMakeLists.txt index 933c2730..9c72d68a 100644 --- a/src/gaussian_sfcanl.fd/CMakeLists.txt +++ b/src/gaussian_sfcanl.fd/CMakeLists.txt @@ -3,7 +3,7 @@ list(APPEND fortran_src ) if(CMAKE_Fortran_COMPILER_ID MATCHES "^(Intel)$") - set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -O0 -r8 -i4 -g -traceback -ftrapuv") + set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -r8 -i4 -g -fp-model precise") elseif(CMAKE_Fortran_COMPILER_ID MATCHES "^(GNU)$") set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fdefault-real-8") endif()