CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Installation

Is march%3dopteron switch necessary for intel

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 1, 2008, 14:39
Default Hi, I am compiling the -dev
  #1
Senior Member
 
Mirko Vukovic
Join Date: Mar 2009
Posts: 159
Rep Power: 7
mirko is on a distinguished road
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
mirko is offline   Reply With Quote

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

Old   November 10, 2008, 13:13
Default We've tried various and differ
  #3
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 15
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

Reply

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 CD-adapco 1 February 19, 2004 15:24
switch n.1 roadracer CD-adapco 11 July 8, 2003 06:07
switch Moon CD-adapco 4 February 25, 2003 02:23
ICFD Conference 26-29 March 2001 Bette Byrne Main CFD Forum 0 October 30, 2000 04:16


All times are GMT -4. The time now is 19:55.