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

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

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 27, 2015, 00: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: 3
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, 03:01
Default
  #2
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Delft, Netherlands
Posts: 1,163
Rep Power: 20
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.
*Join the OpenFOAM stackexchange Q&A site: http://area51.stackexchange.com/prop...oHPxcPqde7HtA2
akidess is offline   Reply With Quote

Old   November 27, 2015, 11:40
Default
  #3
New Member
 
Alex Portalatin
Join Date: Oct 2015
Posts: 8
Rep Power: 3
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, 12:15
Default
  #4
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,436
Rep Power: 25
alexeym will become famous soon enoughalexeym will become famous soon enough
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
alexeym is offline   Reply With Quote

Old   December 1, 2015, 18:28
Default
  #5
New Member
 
Alex Portalatin
Join Date: Oct 2015
Posts: 8
Rep Power: 3
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, 03:22
Default
  #6
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,436
Rep Power: 25
alexeym will become famous soon enoughalexeym will become famous soon enough
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 5, 2016, 00:36
Default
  #7
New Member
 
Jade Chantrell
Join Date: Dec 2015
Location: Newcastle, Australia
Posts: 12
Rep Power: 2
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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Thermophysical Properties wsmith02 OpenFOAM 3 July 27, 2015 05:37
SparceImage v1.7.x Issue on MAC OS X rcarmi OpenFOAM Installation on Windows, Mac and other Unsupported Platforms 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 120 December 2, 2009 11: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 18:19.