|
[Sponsors] |
May 21, 2019, 15:28 |
Cannot find systemCall
|
#1 |
New Member
Join Date: Dec 2016
Posts: 24
Rep Power: 10 |
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, |
|
May 22, 2019, 06:45 |
|
#2 |
New Member
Join Date: Dec 2016
Posts: 24
Rep Power: 10 |
Nevermind, got it
|
|
July 21, 2019, 15:18 |
|
#3 |
Member
Join Date: Sep 2018
Posts: 53
Rep Power: 8 |
I'm getting a similar error, would you mind sharing your solution?
|
|
February 5, 2022, 10:31 |
|
#4 |
Senior Member
TWB
Join Date: Mar 2009
Posts: 414
Rep Power: 19 |
For those who need help, pls go to the tutorial at:
$FOAM_TUTORIALS/IO/systemCall/ to see the example |
|
Tags |
systemcall |
|
|
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 |