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

Caseinsensitive unpacking and windowsmacos

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 6, 2006, 12:15
Default Test done. icoFoam in a cavity
  #61
Member
 
Petr Vita
Join Date: Mar 2009
Posts: 59
Rep Power: 17
pvita is on a distinguished road
Send a message via MSN to pvita Send a message via Skype™ to pvita
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.
OpenFOAM-1.2.Cygwin.patch.gz
gccCompile.sh
preInstall.sh
OpenFOAM-Cygwin-HOWTO

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.

Sincerely Yours,

PV
pvita is offline   Reply With Quote

Old   April 14, 2008, 09:15
Default hi to all --> FOAM Warning :
  #62
kanarya
Guest
 
Posts: n/a
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
Gleitkomma-Ausnahme
what does it mean?
Thank You...
  Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble unpacking files andrewlindsay OpenFOAM Installation 5 October 9, 2006 14:43


All times are GMT -4. The time now is 08:21.