]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Set optimization flags for ICC to -O1 in accordance with the findings
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 22 Jul 2013 15:28:27 +0000 (15:28 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 22 Jul 2013 15:28:27 +0000 (15:28 +0000)
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

index caebaad1dcdbda2dab8e97850c56af406a140c88..e08b7a382a9398f0b944535cf867aaee9cfdb2df 100644 (file)
@@ -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")

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.