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

Is march%3dopteron switch necessary for intel

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 1, 2008, 15:39
Default Hi, I am compiling the -dev
  #1
Senior Member
 
Mirko Vukovic
Join Date: Mar 2009
Posts: 159
Rep Power: 17
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, 13:06
Default OpenFOAM-1.5.x also has the -m
  #2
Member
 
Dennis Kingsley
Join Date: Mar 2009
Location: USA
Posts: 45
Rep Power: 17
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, 14:13
Default We've tried various and differ
  #3
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
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


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 Off
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 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


All times are GMT -4. The time now is 21:17.