CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Sudden errors: "cannot open shared object file: No such file or directory"

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By alexeym

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 26, 2015, 23:36
Default Sudden errors: "cannot open shared object file: No such file or directory"
  #1
New Member
 
Alex Portalatin
Join Date: Oct 2015
Posts: 8
Rep Power: 10
AlexPorta is on a distinguished road
I had been simulating a 3d object with simpleFoam on a version of the motorbike tutorial, using OF 2.3.1

After many runs, and a small change to the input geometry, it started throwing this error,

dlopen error : libincompressibleTurbulenceModel.so: cannot open shared object file: No such file or directory

the error persists even after restoring the input with a backup the had just run with no errors.

Has anyone seen this before?
AlexPorta is offline   Reply With Quote

Old   November 27, 2015, 02:01
Default
  #2
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29
akidess will become famous soon enough
This has nothing to do with your case. Your OpenFOAM installation is broken.
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
akidess is offline   Reply With Quote

Old   November 27, 2015, 10:40
Default
  #3
New Member
 
Alex Portalatin
Join Date: Oct 2015
Posts: 8
Rep Power: 10
AlexPorta is on a distinguished road
I uninstalled OF2.3.1, and installed a fresh copy of OF3.0.0.


Same error
AlexPorta is offline   Reply With Quote

Old   November 27, 2015, 11:15
Default
  #4
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

Guess, your case files contain somewhere a line (or similar)

Code:
libs ("libincompressibleTurbulenceModel.so");
In 3.0.x this library was removed:

Code:
$ echo $WM_PROJECT_VERSION 
3.0.x
$ cd $FOAM_LIBBIN
$ ls -1 *Turbulence*
libDPMTurbulenceModels.so
libcompressibleTurbulenceModels.so
libincompressibleTurbulenceModels.so
liblagrangianTurbulence.so
libmultiphaseReactingTurbulenceModels.so
libphaseCompressibleTurbulenceModels.so
libtwoPhaseReactingTurbulenceModels.so
louisgag likes this.
alexeym is offline   Reply With Quote

Old   December 1, 2015, 17:28
Default
  #5
New Member
 
Alex Portalatin
Join Date: Oct 2015
Posts: 8
Rep Power: 10
AlexPorta is on a distinguished road
Problem is, it stated doing it before I swtched to OF3.0.0
AlexPorta is offline   Reply With Quote

Old   December 2, 2015, 02:22
Default
  #6
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Well, then, I guess, someone just deleted the library. And I have checked tutorial controlDict, in 2.3.1 it does contain these lines:

Code:
libs
(
    "libOpenFOAM.so"
    "libincompressibleTurbulenceModel.so"
    "libincompressibleRASModels.so"
);
So there are plenty of possibilities for the error, and there is almost no information for diagnostics.
alexeym is offline   Reply With Quote

Old   February 4, 2016, 23:36
Default
  #7
New Member
 
Jade Chantrell
Join Date: Dec 2015
Location: Newcastle, Australia
Posts: 12
Rep Power: 10
Chanterz is on a distinguished road
I had this problem when I moved from 2.3x to 3.0x.

It is my understanding that 3.0x does not use them, so I commented out those library references in my ControlDict when using 3.0x.

However, the file with these libs left in the ControlDict should work in 2.3 as they did for me. The most possible problem is that they are not in your lib bin in 2.3 when they should be. I think Alexey is right.
Chanterz is offline   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
Custom Thermophysical Properties wsmith02 OpenFOAM 4 June 1, 2023 14:30
SparceImage v1.7.x Issue on MAC OS X rcarmi OpenFOAM Installation 4 August 14, 2014 06:42
friction forces icoFoam ofslcm OpenFOAM 3 April 7, 2012 10:57
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 10:23
Compilation error OF1.5-dev on Suse10.3 darenyang OpenFOAM Installation 0 April 29, 2009 04:55


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