From: bangerth Date: Mon, 22 Jul 2013 15:28:27 +0000 (+0000) Subject: Set optimization flags for ICC to -O1 in accordance with the findings X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61aa29ede4c5dadfc126c3a0eacfc4091983f4c4;p=dealii-svn.git 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 --- 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")