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

Ubuntu 12.10 64bit: To compile or not?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 13, 2013, 20:45
Question Ubuntu 12.10 64bit: To compile or not?
  #1
New Member
 
The solar system
Join Date: Dec 2012
Posts: 7
Rep Power: 13
CrazyFatDude is on a distinguished road
Hi everyone,
I have put together a new computer with intel core i7 3930K, 32GB Ram, 1TB hdd, nvidia GTX 570. I'll install Ubuntu 12.10 and I would like to install OpenFoam for everything CFD, my questions are:

1. Are there any gains in compiling OpenFoam from source vs. installing from the binary file?
2. If compiling from source is the way to go, which compiler should I go for, will ICC be the obvious choice? Or does the latest version of GCC have the edge?
3. Do I need code vectorization, or use of pragmas to achieve better performance? I'm no expert on these terms but I have seen them mentioned in threads discussing GCC vs ICC.

Thanks.
CrazyFatDude is offline   Reply With Quote

Old   January 14, 2013, 04:10
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings CrazyFatDude,

In quick reply:
  1. Yes. One reported here on the forum indicated an increase of performance of 50%, at least a couple of years ago.
  2. You'll have to try it for yourself. It may depend from case to case. Some reports say that ICC is best and others say that GCC 4.5 and above can be around 5% faster.
    Some hints on this can be found here: http://www.cfd-online.com/Forums/blo...-amd-cpus.html - don't mind the crazy ranting post, but there is good information there, mainly in the comments.
  3. Yes, AFAIK, it's good to use everything your CPU has to offer.
  4. Not asked, but even if your CPU has Hyper-Threading, it's useless to use the threads with OpenFOAM: http://code.google.com/p/bluecfd-sin...SE_12.1_x86_64
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   January 14, 2013, 04:18
Default
  #3
New Member
 
The solar system
Join Date: Dec 2012
Posts: 7
Rep Power: 13
CrazyFatDude is on a distinguished road
Thanks a lot Bruno, sorry if I posted in the wrong forum. I'll keep coming to this thread and report my findings & further questions.

Thanks again.
CrazyFatDude is offline   Reply With Quote

Reply

Tags
compile, core i7, gcc, icc, linux


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
Installing OpenFOAM 2.1.1 and ParaView 3.12.0 on Ubuntu 12.10 wyldckat OpenFOAM Installation 14 February 12, 2013 04:43
Gettings started after installing OpenFOAM 2.1.1 in Ubuntu 12.10 yoddha24 OpenFOAM 7 November 22, 2012 11:46
ThirdParty2.1.1 on Ubuntu 12.10 64bit davide_c OpenFOAM Installation 5 October 25, 2012 02:45
ubuntu 9.10 64bit - wmake missing headers soeren87 OpenFOAM Installation 5 November 11, 2009 10:01
Can someone PLEASE document the development version installation bernd OpenFOAM Installation 76 November 14, 2008 21:51


All times are GMT -4. The time now is 11:03.