CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   "libsimpleFunctionObjects.so: cannot open shared object file" (https://www.cfd-online.com/Forums/openfoam-solving/148231-libsimplefunctionobjects-so-cannot-open-shared-object-file.html)

nsreddysrsit February 6, 2015 19:15

"libsimpleFunctionObjects.so: cannot open shared object file"
 
After running icofoam i am getting the following error,
anybody please what is the reason
Code:

/OpenFOAM/shreenica-2.3.1/run/tutorials/incompressible/icoFoam/vortex_shedding/c1$ icoFoam
/*---------------------------------------------------------------------------*\
| =========                |                                                |
| \\      /  F ield        | OpenFOAM: The Open Source CFD Toolbox          |
|  \\    /  O peration    | Version:  2.3.1                                |
|  \\  /    A nd          | Web:      www.OpenFOAM.org                      |
|    \\/    M anipulation  |                                                |
\*---------------------------------------------------------------------------*/
Build  : 2.3.1-bcfaaa7b8660
Exec  : icoFoam
Date  : Feb 07 2015
Time  : 05:41:58
Host  : "shreenica-SVF14212SNB"
PID    : 2878
Case  : /home/shreenica/OpenFOAM/shreenica-2.3.1/run/tutorials/incompressible/icoFoam/vortex_shedding/c1
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

--> FOAM Warning :
    From function dlOpen(const fileName&, const bool)
    in file POSIX.C at line 1179
    dlopen error : libsimpleSwakFunctionObjects.so: cannot open shared object file: No such file or directory
--> FOAM Warning :
    From function dlLibraryTable::open(const fileName&, const bool)
    in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 99
    could not load "libsimpleSwakFunctionObjects.so"
--> FOAM Warning :
    From function dlOpen(const fileName&, const bool)
    in file POSIX.C at line 1179
    dlopen error : libswakFunctionObjects.so: cannot open shared object file: No such file or directory
--> FOAM Warning :
    From function dlLibraryTable::open(const fileName&, const bool)
    in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 99
    could not load "libswakFunctionObjects.so"
--> FOAM Warning :
    From function dlOpen(const fileName&, const bool)
    in file POSIX.C at line 1179
    dlopen error : libgroovyBC.so: cannot open shared object file: No such file or directory
--> FOAM Warning :
    From function dlLibraryTable::open(const fileName&, const bool)
    in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 99
    could not load "libgroovyBC.so"
Create mesh for time = 0

Reading transportProperties

Reading field p

Reading field U

Reading/calculating face flux field phi


Starting time loop

--> FOAM Warning :
    From function dlOpen(const fileName&, const bool)
    in file POSIX.C at line 1179
    dlopen error : libsimpleFunctionObjects.so: cannot open shared object file: No such file or directory
--> FOAM Warning :
    From function dlLibraryTable::open(const fileName&, const bool)
    in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 99
    could not load "libsimpleFunctionObjects.so"
--> FOAM Warning :
    From function dlLibraryTable::open(const dictionary&, const word&, const TablePtr&)
    in file lnInclude/dlLibraryTableTemplates.C at line 67
    Could not open library "libsimpleFunctionObjects.so"



--> FOAM FATAL ERROR:
Unknown function type patchMassFlow

Valid functions are :

4
(
patchProbes
probes
sets
surfaces
)



    From function functionObject::New(const word& name, const Time&, const dictionary&)
    in file db/functionObjects/functionObject/functionObject.C at line 92.

FOAM exiting


wyldckat February 7, 2015 06:51

Quick answer:
  1. You need to install swak4Foam in order to be able to use all of those libraries that the solver says it's unable to find.
  2. Please use the "[CODE]" marker for posting code and application output, as explained here: Posting code and output with [CODE] - post #6

shrawasti sahare May 30, 2016 14:12

hi nsreddy,

did you solve your problem.

if yes plz let me know the solution.

Thanks


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