|
[Sponsors] |
November 13, 2009, 08:49 |
List of glitches found on OpenFOAM 1.6
|
#1 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Dear OpenFOAM developers,
This is more of a sum up of glitches, rather than a bug list (but this still looked to be the best place for this list), that were found while cross-compiling OpenFOAM using mingw32 and mingw-w64:
Now, this is more of a request for the OpenFOAM 1.6.x: it is possible to build OpenFOAM successfully with gcc-4.4.? and gcc-4.5.0, just by using the info in the posts here and here. I used the following preprocessors, in the patches for mingw32 and mingw-w64, to insert the proper code corresponding to the targeted gcc version: Code:
#if defined( __GNUC__ ) && defined( __GNUC_MINOR__ ) #if (__GNUC__ == 4) && (__GNUC_MINOR__ >= 4) //... code for gcc-4.4.? and 4.5.0 #else //code for gcc-4.3.? and below #endif #endif I hope this helps, or at the very least can be a future reference for others that may encounter the same glitches. Best Regards, Bruno Last edited by wyldckat; November 15, 2009 at 11:25. Reason: Reporting items now fixed in 1.6.x git version |
|
November 15, 2009, 04:46 |
|
#2 | |||
Member
Michael Wild
Join Date: Mar 2009
Location: Bern, Switzerland
Posts: 79
Rep Power: 17 |
Although I'm not an official OpenFOAM developer, here my thoughts:
Quote:
Quote:
The names of the files are usually hard-coded in the createFields.H files and cannot be configured. changeDictionary allows you to change a dictionary's content, e.g. to change a boundary condition. Quote:
Michael |
||||
November 15, 2009, 11:20 |
Great learning opportunity!
|
#3 | ||||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hello Michael,
Thank you very much for your reply! Quote:
Quote:
Quote:
Quote:
In the last few hours, I git pulled the latest version, and built the full Linux x86_64 version, to figure out if 1.6.x already had these fixed. Due to your comment, I felt that I might have missed the fixes in 1.6.x, and that I might have made false accusations. I'm happy to report that all of OpenFOAM built nice and clean with gcc-4.4.2. And after analyzing the 1.6.x git tree with gitk, I saw that the issues about intptr_t and gcc-4.4.? and gcc-4.5.0 were already fixed, on the same day of my post, in a highly elegant coding fashion, that brings me to the self-awareness that I'm nothing more than still a young coding grass-hopper. Once again, thank you Michael! And I'm glad that I could help, even with my limited knowledge and experience. Best regards, Bruno |
|||||
November 15, 2009, 14:04 |
|
#4 |
Member
Michael Wild
Join Date: Mar 2009
Location: Bern, Switzerland
Posts: 79
Rep Power: 17 |
I didn't want to give the impression that I'm an experienced OpenFOAM-developer; I'm certainly not... I just saw your post with many good points (such as the missing files to build ccmio) and thought I'd point out some issues that popped to my mind.
Michael |
|
November 17, 2009, 08:29 |
|
#5 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
I've pushed the 'fixes' to make 1.6.x compile with gcc 4.4 series.
Thanks for reporting, Mattijs |
|
November 17, 2009, 08:51 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Thank you and you're welcome!
I already tested it on Sunday, with gcc-4.4.2 (Ubuntu 9.04 x86_64), and everything compiled with no problems. Haven't tested these with gcc-4.5.0, but I believe that it should work well with it too, because the fixes indicated in the other thread worked well with 4.5.0. Best Regards, Bruno |
|
Tags |
chtmultiregionfoam, gcc-4.4.?, gcc-4.5.0, libccmio, mingw |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problems in compiling paraview in Suse 10.3 platform | chiven | OpenFOAM Installation | 3 | December 1, 2009 08:21 |
Problems Installing OF 1.6 32 bit | bucksfan | OpenFOAM Installation | 19 | August 4, 2009 02:36 |
OpenFOAM15 installables are incomplete problem with paraFoam | tryingof | OpenFOAM Bugs | 17 | December 7, 2008 05:41 |
Regarding FoamX running Kindly help out | hariya03 | OpenFOAM Pre-Processing | 0 | April 18, 2008 05:26 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |