CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Installation

Is march%3dopteron switch necessary for intel

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   May 1, 2008, 14:39
Default Hi, I am compiling the -dev
Senior Member
Mirko Vukovic
Join Date: Mar 2009
Posts: 159
Rep Power: 10
mirko is on a distinguished road

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 is offline   Reply With Quote

Old   November 10, 2008, 13:06
Default OpenFOAM-1.5.x also has the -m
Dennis Kingsley
Join Date: Mar 2009
Location: USA
Posts: 45
Rep Power: 10
dkingsley is on a distinguished road
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: 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?
dkingsley is offline   Reply With Quote

Old   November 10, 2008, 14:13
Default We've tried various and differ
Super Moderator
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 18
mattijs is on a distinguished road
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.
mattijs is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Possible to march backwards in time ? Dr. Who CFX 2 September 3, 2007 18:14
switch 81 isidro Siemens 1 February 19, 2004 16:24
switch n.1 roadracer Siemens 11 July 8, 2003 06: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

All times are GMT -4. The time now is 22:25.