CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

OpenFOAM compiled with Intel C++ Compiler?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 1, 2009, 12:50
Default OpenFOAM compiled with Intel C++ Compiler?
  #1
New Member
 
Achim
Join Date: May 2009
Posts: 21
Rep Power: 8
af631717 is on a distinguished road
Hi,
has anybody compiled OpenFOAM with the Intel Compiler and has compared the difference of the performance for a specific solver?
Especially with the new Intel Nehalem architecture should be a significant speedup.

Regards
Achim
af631717 is offline   Reply With Quote

Old   June 5, 2009, 05:24
Default
  #2
bjj
New Member
 
Bjarne Jensen
Join Date: Mar 2009
Location: Denmark
Posts: 7
Rep Power: 8
bjj is on a distinguished road
Achim,
As part of a benchmark test series for parallel computing we made a dambreak test case with icoFoam on the Intel Nehalem processor (on up to 32 cores). We tried to compile with both Gcc and Icc. In general we reduced the computational time with about 15% when using Icc.

Regards,
Bjarne
bjj is offline   Reply With Quote

Old   June 5, 2009, 06:19
Thumbs up OpenFOAM compiled with Intel C++ Compiler?
  #3
New Member
 
Achim
Join Date: May 2009
Posts: 21
Rep Power: 8
af631717 is on a distinguished road
Bjarne,

thanks for this information. It is about what I expected and mean, that it is sometimes better to buy a good compiler for 500 Euro than buy a new hardware.

How long did the calculation take for n iterations? Is the orig. tutorial case not to small for 32 cores?

Is it an advantage to use HyperThreading with the Nehalem? And use 64 "theoretical" cores?

Regards
Achim
af631717 is offline   Reply With Quote

Old   June 5, 2009, 06:32
Default OpenFOAM compiled with Intel C++ Compiler?
  #4
New Member
 
Achim
Join Date: May 2009
Posts: 21
Rep Power: 8
af631717 is on a distinguished road
Was it difficult to compile OF with the intel compiler?
Achim
af631717 is offline   Reply With Quote

Old   June 5, 2009, 06:41
Default
  #5
bjj
New Member
 
Bjarne Jensen
Join Date: Mar 2009
Location: Denmark
Posts: 7
Rep Power: 8
bjj is on a distinguished road
With the Nehalem tests we had a run time on 1 core at 3350s while the run time on 32 cores were 170s. So a speed-up at about 19-20 on 32 cores.

The original tutorial case is to small for a test on 32 cores. We used a maximum at 4M computational point.

We did not use HyperThreading in this test so I can't say if this is an advantage here.

Regarding the compilation the switch from Gcc to Icc is fairly straight forward. Edit the compiler settings in your etc/bashrc-file.

Regards,
Bjarne
bjj 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
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 18:56
Intel Fortran Compiler & Tutorial 17 Young CFX 1 March 30, 2011 01:39
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07
Compiler in OpenFoam gulp OpenFOAM Installation 4 October 27, 2007 11:36
Intel compiler for linux x86 marcus CD-adapco 1 November 9, 2006 17:43


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