From 61aa29ede4c5dadfc126c3a0eacfc4091983f4c4 Mon Sep 17 00:00:00 2001 From: bangerth Date: Mon, 22 Jul 2013 15:28:27 +0000 Subject: [PATCH] Set optimization flags for ICC to -O1 in accordance with the findings here: http://code.google.com/p/dealii/issues/detail?id=30 . We may revisit the issue at a later time, but for the moment this is the safe approach. git-svn-id: https://svn.dealii.org/trunk@30097 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/cmake/setup_compiler_flags_intel.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deal.II/cmake/setup_compiler_flags_intel.cmake b/deal.II/cmake/setup_compiler_flags_intel.cmake index caebaad1dc..e08b7a382a 100644 --- a/deal.II/cmake/setup_compiler_flags_intel.cmake +++ b/deal.II/cmake/setup_compiler_flags_intel.cmake @@ -104,7 +104,7 @@ IF (CMAKE_BUILD_TYPE MATCHES "Release") # # General optimization flags: # - ADD_FLAGS(DEAL_II_CXX_FLAGS_RELEASE "-O2") + ADD_FLAGS(DEAL_II_CXX_FLAGS_RELEASE "-O1") ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS_RELEASE "-ip") ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS_RELEASE "-funroll-loops") -- 2.39.5