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

[swak4Foam] Problem with triSurface.so and swak4Foam

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 16, 2016, 11:36
Default Problem with triSurface.so and swak4Foam
  #1
New Member
 
Join Date: Nov 2016
Posts: 2
Rep Power: 0
PieterjanR is on a distinguished road
Hi all

I am using OpenFoam extend 3.2. The first time I noted that something was wrong with my OpenFoam installation was this error message from running a test case:

Code:
--> FOAM Warning : 
    From function dlLibraryTable::open(const fileName& functionLibName)
    in file db/dlLibraryTable/dlLibraryTable.C at line 124
    could not load libtriSurface.so: cannot open shared object file: No such file or directory
I traced this back to an error during the installation of swak4Foam:

Code:
...
Swak version is 0.4.0
Bison is version 2.7.12-4996
Flex is version 2.5.35 (Minor version: 35)
OpenFOAM-version: Major 3 Minor 2 Patch 0 (-1 == x / 0) Fork: extend
...
Making dependency list for source file ExpressionResult/DelayedExpressionResult.C
could not open file string.H for source file helpers/exprString.C
...
The files string.H and time.H have apparently moved compared to the previous OpenFoam version? I thought this was related to this thread:

https://sourceforge.net/p/openfoam-e...ndrelease/281/

Even after updating the swak4foam version to 0.4.0, or git static checking to the original commit

https://github.com/Unofficial-Extend...6b8810e1afa4ee,

still no luck. The error persists.
According to

http://www.cfd-online.com/Forums/ope...risurface.html

this is because triSurface.so is moved to meshTools? The solution proposed there, creating a symbolic link in the $FOAM_SRC folder doesn't seem to work for me.

Anyone came across this before and has a solution?

Thanks in advance!
PieterjanR is offline   Reply With Quote

Old   November 20, 2016, 12:51
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,969
Blog Entries: 45
Rep Power: 127
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings PieterjanR,

There is something very strange going on with your installation, because I've re-tested just now with foam-extend 3.2 (the official name and version of this fork) and with swak4Foam 0.4.0 and I had absolutely no problems building it.

Hold on...
Quote:
Originally Posted by PieterjanR View Post
The first time I noted that something was wrong with my OpenFoam installation was this error message from running a test case:

Code:
--> FOAM Warning : 
    From function dlLibraryTable::open(const fileName& functionLibName)
    in file db/dlLibraryTable/dlLibraryTable.C at line 124
    could not load libtriSurface.so: cannot open shared object file: No  such file or directory
I traced this back to an error during the installation of swak4Foam:

Code:
...
Swak version is 0.4.0
Bison is version 2.7.12-4996
Flex is version 2.5.35 (Minor version: 35)
OpenFOAM-version: Major 3 Minor 2 Patch 0 (-1 == x / 0) Fork: extend
...
Making dependency list for source file ExpressionResult/DelayedExpressionResult.C
could not open file string.H for source file helpers/exprString.C
...
No no no... that message "could not open file" when building is explained here: http://openfoamwiki.net/index.php/In...e_or_directory - essentially it can be ignored, since that is not the problem.

The message about not being able to load "libtriSurface.so" is not a problem with swak4Foam, it's because foam-extend 3.2 itself no longer has that library.

The solution is to simply remove "libtriSurface.so" from the "libs" list in "system/controlDict".

Best regards,
Bruno


edit: Moved thread from the installation sub-forum to the run and solving sub-forum.
__________________

Last edited by wyldckat; November 20, 2016 at 13:01. Reason: see "edit:"
wyldckat is offline   Reply With Quote

Old   November 21, 2016, 09:54
Default
  #3
New Member
 
Join Date: Nov 2016
Posts: 2
Rep Power: 0
PieterjanR is on a distinguished road
Hi Bruno

Quote:
Originally Posted by wyldckat View Post
The solution is to simply remove "libtriSurface.so" from the "libs" list in "system/controlDict".
Indeed, this was surprisingly simple

I'll try to run a clean install of swak4foam and see if the error is gone now.
PieterjanR is offline   Reply With Quote

Reply

Tags
openfoam, swak4foam, trisurface

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[swak4Foam] swak4foam >>>> INSTALLATION PROBLEM steven123 OpenFOAM Community Contributions 35 January 11, 2021 16:53
[swak4Foam] Problem to calculate grad(U) using swak4Foam Hugoles OpenFOAM Community Contributions 12 November 24, 2020 10:28
[swak4Foam] [OpenFOAM plus] [v1612+] swak4Foam installation problem in Windows (Allwmake) LThomes OpenFOAM Community Contributions 7 October 6, 2020 13:36
[swak4Foam] Problem with swak4Foam and OpenFOAM 2.3.1 behzad-cfd OpenFOAM Community Contributions 4 March 25, 2017 16:19
[swak4Foam] foam-extend-3.2 installing problem: swak4Foam failed to install due to Bison lxwd OpenFOAM Community Contributions 1 March 20, 2016 16:03


All times are GMT -4. The time now is 02:58.