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

Which C++ Compiler for Ubuntu OpenFOAM

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 27, 2012, 09:58
Default Which C++ Compiler for Ubuntu OpenFOAM
  #1
Member
 
Alexander A
Join Date: Jun 2012
Posts: 53
Rep Power: 5
A.A. is on a distinguished road
Hi,

is there any freeware C++ compiler which you would recommend for Ubuntu OpenFOAM 2.1.1?
A.A. is offline   Reply With Quote

Old   June 27, 2012, 15:03
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,496
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings Alexander,

That's... a very strange question, specially if you don't detail anything else to indicate why you're asking this question!?

GCC, the default compiler on most Linux distributions, is the standard compiler for OpenFOAM and I quote:
Quote:
Originally Posted by http://www.openfoam.org/download/source.php
In particular your system will need to include a recent version of gcc (check with gcc --version, we recommend gcc-4.4.? but gcc-4.3.? is sufficient). If the installed version is not recent source pack for newer versions are available from http://gcc.gnu.org/.
And GCC is waaaaay beyond freeware: it's open-source!!

So... more specifically, what else or what exactly do you want to know?

Best regards,
Bruno
wyldckat is online now   Reply With Quote

Old   June 28, 2012, 04:07
Default
  #3
Member
 
Alexander A
Join Date: Jun 2012
Posts: 53
Rep Power: 5
A.A. is on a distinguished road
Hallo Wyldckat,

I only want to change the oscillatingrotatingMotion class in OF that it fits to my needs.

I allready downloaded the Qt Creator compiler.
A.A. is offline   Reply With Quote

Old   June 28, 2012, 04:47
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,496
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Alexander,

I haven't used Qt Creator for building OpenFOAM utilities, and I don't know of any tutorials that explain how to use it for OpenFOAM. For Eclipse I know it exists: http://openfoamwiki.net/index.php/Ho...M_with_Eclipse

Anyway, forget Qt Creator for now and follow this tutorial first: http://openfoamwiki.net/index.php/Ho...ure_to_icoFoam

Then use Google or something else to search for more information on what you want to do :
Code:
add boundary condition openfoam
Best regards,
Bruno
wyldckat is online now   Reply With Quote

Old   June 28, 2012, 05:44
Default
  #5
Member
 
Alexander A
Join Date: Jun 2012
Posts: 53
Rep Power: 5
A.A. is on a distinguished road
Hallo Bruno,

Thanks for your advice. I will try that.

Best regards,
Alex
A.A. 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
Error compiling OpenFoam 1.6.x with intel compiler icc mak_04 OpenFOAM Installation 5 October 28, 2011 07:06
OpenFOAM 1.6.x, 1.7.0 and 1.7.x are not fully prepared to work with gcc-4.5.x wyldckat OpenFOAM Bugs 18 October 21, 2010 05:51
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 3 September 8, 2010 06:25
How to Install OpenFOAM on 64 Ubuntu 9.04 hansel OpenFOAM Installation 62 March 19, 2010 15:43
Modified OpenFOAM Forum Structure and New Mailing-List pete Site News & Announcements 0 June 29, 2009 05:56


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