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

[SOLVED] Intel Compiler 12.1 + Ubuntu 11.10 (gcc 4.6) + OpenFOAM 2.0.x

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

LinkBack Thread Tools Search this Thread Display Modes
Old   November 4, 2011, 14:52
Talking [SOLVED] Intel Compiler 12.1 + Ubuntu 11.10 (gcc 4.6) + OpenFOAM 2.0.x
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 to all!

I've been experimenting with Icc (although I have an AMD machine ) and I'm stuck with Ubuntu 11.10. Those two combined resulted in a dangerous mix where building OpenFOAM 2.0.x out of the box is impossible... unless you know the trick

Intel's Compiler 12.1 does not support the bleeding edge C++0x features provided with Gcc 4.6, so there are a lot of crazy messages that pop up if one does not add "-U__GXX_EXPERIMENTAL_CXX0X__" to the recipe (source: icpc 12.1.0, Ubuntu 11.10 (oneiric) and g++). Edit these two files and add the expression in bold:
  1. "wmake/rules/linux64Icc/c++"
  2. "wmake/rules/linux64Icc/c"
And there you go, it's ready to cook

Best regards,

PS: Wondering why I wrote Ğalthough I have an AMD machineğ. This is why:
wyldckat is offline   Reply With Quote


11.10, 12.1, icc, intel, ubuntu

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
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
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found piprus OpenFOAM Installation 22 February 25, 2010 13:43
OpenFOAM compiled with Intel C++ Compiler? af631717 OpenFOAM Running, Solving & CFD 4 June 5, 2009 06:41
Question on specify gcc compiler for OpenFOAM 15 peterlai OpenFOAM Installation 2 October 2, 2008 07:20
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07

All times are GMT -4. The time now is 04:31.