|June 1, 2012, 11:07||
GCC compiler optimization flags (Advanced)
Join Date: Jul 2009
Location: Amherst, MA USA - San Diego, CA USA
Posts: 285Rep Power: 9
I was wondering if anyone has had any experience in other GCC compiler optimization flags other than the typical -O3. I'm considering a recompile with some architecture specific flags. One option I'm planning on using is '-march=native'. This is supposed to look at your CPU and identify any special vector processors onboard such as SSE or AVX units. I don't believe that you would be able to share binaries with people/machines using different chips however since it becomes more specific than the usual x86 instruction set.
Really just wondering if anyone is familiar with this stuff or has perhaps tried it out. I did a quick timing on an icoFoam run with -O3. I'll let you guys know if I see any speed up from the advanced optimization.
|June 1, 2012, 13:33||
Join Date: Mar 2009
Location: Lisbon, Portugal
Blog Entries: 34Rep Power: 86
Start reading here: OpenFoam and OpenMPI post #8
By the way, Intel has similar optimization flag lists for each processor of their own.
|Thread||Thread Starter||Forum||Replies||Last Post|
|CFX11 + Fortran compiler ?||Mohan||CFX||20||March 30, 2011 18:56|
|OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found||piprus||OpenFOAM Installation||22||February 25, 2010 14:43|
|Question on specify gcc compiler for OpenFOAM 15||peterlai||OpenFOAM Installation||2||October 2, 2008 07:20|
|Gerris software installation||mer||Main CFD Forum||2||November 12, 2005 09:50|
|Fluent 6.2 and gcc compiler in Sun Blade 2500||Nitu Gupta||FLUENT||8||April 29, 2005 13:58|