|
[Sponsors] |
Is march%3dopteron switch necessary for intel |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 1, 2008, 15:39 |
Hi,
I am compiling the -dev
|
#1 |
Senior Member
Mirko Vukovic
Join Date: Mar 2009
Posts: 159
Rep Power: 17 |
Hi,
I am compiling the -dev branch of OF (as of today, it's been a week, but I am pretty sure that I am getting somewhere -- famous last words). I am doing this on a 64-bit RHEL with two dual core intel processors. Does the -march=opteron flag that I see invoked hurt, help, or not matter? Thank you, Mirko |
|
November 10, 2008, 13:06 |
OpenFOAM-1.5.x also has the -m
|
#2 |
Member
Dennis Kingsley
Join Date: Mar 2009
Location: USA
Posts: 45
Rep Power: 17 |
OpenFOAM-1.5.x also has the -march=opteron as the default setting and I have been researching the effects of this setting on Xeon emt64 processors for the last few days.
Today I came acrross this article: http://software.intel.com/en-us/articles/effects-of-architecture-selection-switc hes which seems to indicate that Intel users are lossing ~17% with the default setting. The next time I merge the 1.5.x sources I am going to try -march=nocona. Has anyone used the switch -mfpmath=sse with OpenFOAM? |
|
November 10, 2008, 14:13 |
We've tried various and differ
|
#3 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
We've tried various and differences are negligible. The only one that really matters is -ffast-math which we don't put on by default since it disables floating point error trapping (sigfpe).
There is no option on gcc (as far as I know) to enable floating point reordering but still enable floating point error trapping. If you have different findings let us know. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Possible to march backwards in time ? | Dr. Who | CFX | 2 | September 3, 2007 19:14 |
switch 81 | isidro | Siemens | 1 | February 19, 2004 16:24 |
switch n.1 | roadracer | Siemens | 11 | July 8, 2003 07:07 |
switch | Moon | Siemens | 4 | February 25, 2003 03:23 |
ICFD Conference 26-29 March 2001 | Bette Byrne | Main CFD Forum | 0 | October 30, 2000 05:16 |