|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Join Date: Dec 2016
Posts: 24
Rep Power: 11 ![]() |
Hi Foamers,
(OpenFOAM v6) I want to include the function systemCall in my controlDict file. However, OF produces the following complaint: Code:
--> FOAM Warning :
From function void* Foam::dlOpen(const Foam::fileName&, bool)
in file POSIX.C at line 1234
dlopen error : libsystemCall.so: cannot open shared object file: No such file or directory
--> FOAM Warning :
From function bool Foam::dlLibraryTable::open(const Foam::fileName&, bool)
in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 105
could not load "libsystemCall.so"
--> FOAM Warning :
From function bool Foam::dlLibraryTable::open(const Foam::dictionary&, const Foam::word&, const TablePtr&) [with TablePtr = Foam::HashTable<Foam::autoPtr<Foam::functionObject> (*)(const Foam::word&, const Foam::Time&, const Foam::dictionary&),
Foam::word, Foam::string::hash>*]
in file lnInclude/dlLibraryTableTemplates.C at line 62
Could not open library "libsystemCall.so"
--> FOAM Warning :
From function bool Foam::functionObjectList::read()
in file db/functionObjects/functionObjectList/functionObjectList.C at line 746
Caught FatalError
--> FOAM FATAL ERROR:
Unknown function type systemCall
Valid functions are :
7
(
initSwakFunctionObject
patchProbes
probes
psiReactionThermoMoleFractions
rhoReactionThermoMoleFractions
sets
surfaces
)
Code:
EXE_INC = \ -I$(LIB_SRC)/functionObjects/utilities/lnInclude \ EXE_LIBS = \ -lsystemCall \ Thank in advance, |
|
|
|
|
|
|
|
|
#2 |
|
New Member
Join Date: Dec 2016
Posts: 24
Rep Power: 11 ![]() |
Nevermind, got it
|
|
|
|
|
|
|
|
|
#3 |
|
Member
Join Date: Sep 2018
Posts: 53
Rep Power: 9 ![]() |
I'm getting a similar error, would you mind sharing your solution?
|
|
|
|
|
|
|
|
|
#4 |
|
Senior Member
TWB
Join Date: Mar 2009
Posts: 420
Rep Power: 20 ![]() |
For those who need help, pls go to the tutorial at:
$FOAM_TUTORIALS/IO/systemCall/ to see the example |
|
|
|
|
|
![]() |
| Tags |
| systemcall |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [foam-extend.org] 3.2 Installation in Debian 8.5 | jsm | OpenFOAM Installation | 2 | June 19, 2016 11:53 |
| How to make a code parallel? | Bruno Machado | Fluent UDF and Scheme Programming | 15 | May 27, 2016 10:18 |
| CFX-Pre problem, pls help!!! | cth_yao | CFX | 0 | February 17, 2012 01:52 |
| OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 | Attesz | OpenFOAM Installation | 45 | January 13, 2012 13:38 |
| Problem Building OF on Centos cluster (no admin rights) | CKH | OpenFOAM Installation | 5 | November 13, 2011 07:32 |