|February 6, 2006, 13:15||
Test done. icoFoam in a cavity
Test done. icoFoam in a cavity example provided beautiful pictures that looks same as on Linux platform and I used blockMesh, icoFoam and foamToVTK applications to get them.
Where was the problem that made us such problems and took so much time to deal with? The bug resides in STD library that comes with gcc in its string class implementation. This is a very exotic bug that emerges only in the case when application uses dll-files and libstdc++ is staticaly linked. New strings that are created with default constructor and that have to be exchanged between dll-files and/or main program have a broken implementation of their optimisation. You can read more about this bug in a GCC Bugzilla and in a Cygwin forum. How to deal with this bug? You have three options---compile a STD library in a shared form (what is not supported for Cygwin), patch implementation in STD library or disable this special string optimisation with a STD library compilation flag --enable-fully-dynamic-string. I used the last way compiling the GCC 4.0.2 with a knowledge, that in GCC 4.1 should be a new implementation of string provided that won't have this problem anymore.
We are at the end, here are all files you will need.
I have mentioned names of Ron W Cresswell and Niklas Nordin with their emails addresses in HOWTO document as their inputs were important to get it to work. I hope their emails in HOWTO document won't be a problem as they are directly accessible in forum here.
I hope core developers can have a look on it and even introduced this stuff to OpenFOAM distribution if it will show itself useable and stable enough.
If any bugs emerges in runtime we should open a new thread for them I guess not to mess this long one.
|April 14, 2008, 09:15||
hi to all --> FOAM Warning :
hi to all
--> FOAM Warning :
From function dlLibraryTable::open(const fileName& functionLibName)
in file db/dlLibraryTable/dlLibraryTable.C at line 79
could not load libLTTRostockExtensions.so: cannot open shared object file: No such file or directory
Create mesh for time = 21.58
Time = 21.58
Reading U or T
what does it mean?
|Thread||Thread Starter||Forum||Replies||Last Post|
|Trouble unpacking files||andrewlindsay||OpenFOAM Installation||5||October 9, 2006 14:43|