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

OpenFOAM 2.0.x compilation with gcc 4.7.2 possible?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 9, 2013, 16:19
Default OpenFOAM 2.0.x compilation with gcc 4.7.2 possible?
  #1
Senior Member
 
Bernhard Linseisen
Join Date: May 2010
Location: Magdeburg/Geneva
Posts: 143
Blog Entries: 1
Rep Power: 6
Linse is on a distinguished road
Dear all,
did anybody of you try - and succeed - in compiling the 2.0.x release with gcc 4.7.2?
If so, what special settings did you have to make?
Or does anybody at least have an idea what might trouble compilation with that compiler?
I have no specific error messages available at the moment, but if I remember correctly, they were about the linkers not finding the necessary libraries...
Linse is offline   Reply With Quote

Old   March 9, 2013, 17:53
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 7,202
Blog Entries: 32
Rep Power: 71
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
Hi Bernhard,

I haven't tested building OpenFOAM 2.0.x with Gcc 4.7.y, but I do know that (some of) the changes that 2.1.x needed to be compatible with it are shown in the following commits:
Do let us know if these changes also work with 2.0.x! But keep in mind that thorough testing is advised!

Also for reference, the following wiki page is being maintained for keeping a record of these details on version compatibilities: http://openfoamwiki.net/index.php/In...ibility_Matrix

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   March 10, 2013, 06:53
Default
  #3
Senior Member
 
Bernhard Linseisen
Join Date: May 2010
Location: Magdeburg/Geneva
Posts: 143
Blog Entries: 1
Rep Power: 6
Linse is on a distinguished road
Hi Bruno,

and Thanks a lot for the links/hints!

I guess I will check that during the next few days, and of course I will keep you posted in this thread!

Concerning the testing: Would you have some specific hints on that? Of course, the standard foamInstallationTest would be standard, but I never saw anything like a test-script or something similar for the official release.
And I guess just testing the "runnability" of all of the tutorials would not be sufficient verification that the differently compiled version does what it should...

Anyhow: Thanks by now already!

Cheers,
Bernhard
Linse is offline   Reply With Quote

Old   March 10, 2013, 07:17
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 7,202
Blog Entries: 32
Rep Power: 71
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
Hi Bernhard,

In the tutorials folder you will find a script named Alltest. It takes a while to run all tutorials, because it does all of them for a few iterations, but I think it's a good enough test for at least checking for rough edges.

The last time I know of, when something went wrong with a particular build with a specific compiler, was reported here: OpenFOAM 1.6.x, 1.7.0 and 1.7.x are not fully prepared to work with gcc-4.5.x

Best regards,
Bruno
wyldckat 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
OpenFOAM 2.0.x libscotch issues gfilip OpenFOAM Installation 4 July 11, 2011 11:23
OpenFOAM vs Ubuntu 10.10 64 bit (and gcc 4.4.5) vkrastev OpenFOAM Bugs 0 February 17, 2011 06:27
OpenFOAM 1.7 - openSUSE 11.3 - gcc 4.5.0 alberto OpenFOAM 12 July 28, 2010 11:59
OpenFOAM compilation fails on applicationsutilitiesmesh geoffjay OpenFOAM Installation 12 April 29, 2008 15:26
OpenFOAM Debian packaging current status problems and TODOs oseen OpenFOAM Installation 9 August 26, 2007 13:50


All times are GMT -4. The time now is 18:25.