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

Minor compilation problem with Gcc42

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 9, 2007, 12:39
Default OpenFOAM-1.4 on 32 bit Intel
  #1
Member
 
David P. Schmidt
Join Date: Mar 2009
Posts: 70
Rep Power: 8
schmidt_d is on a distinguished road
OpenFOAM-1.4 on 32 bit Intel

Not sure if this really counts as a bug, but it might be worth fixing anyway.

If you set "$WM_COMPILER" = "Gcc42" (and I am using gcc4.2) and this is a 32 bit build, then wmake doesn't have a corresponding rules directory in the

OpenFOAM/OpenFOAM-1.4/wmake/rules

It looks like you can just copy the rules from linuxGcc4 to linuxGcc42.

Are there special rules for GCC4.2 that are not backwardly compatible with GCC4.0 ? Just curious.
schmidt_d is offline   Reply With Quote

Old   May 9, 2007, 13:11
Default Yes what you have done is corr
  #2
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 13
henry is on a distinguished road
Yes what you have done is correct. The reason we are not officially supporting gcc-4.2.0 is that it hasn't officially been released. I am now compiling and running with gcc version 4.2.0 20070317 (prerelease) and have not encountered any problems and the next version of OpenFOAM will be released compiled with gcc-4.2.?, whichever is the latest stable version at the time of release.

Henry
henry 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
!!! UDF - Compilation problem !!! Everest FLUENT 1 January 12, 2009 18:56
Minor buoyancy problem in Phoen2007 patti Phoenics 3 December 1, 2007 19:43
Minor wmake problem for x86_64 when compiling everything using existing gcc WM_COMPILER%3dbb hoogland OpenFOAM Installation 0 August 13, 2007 08:58
udf compilation problem co2 FLUENT 4 April 16, 2004 17:34
Gambit Meshing export to fluent minor problem John c. FLUENT 2 February 6, 2002 17:52


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