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

undefined symbol in postProcessing utilities

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 8, 2016, 15:33
Default undefined symbol in postProcessing utilities
  #1
Senior Member
 
Mahdi Hosseinali
Join Date: Apr 2009
Location: NB, Canada
Posts: 268
Rep Power: 10
anishtain4 is on a distinguished road
I have developed a boundary condition that compiles without any error and runs well. But when I want to run any postProcessing utility there's always some form of warning for an undefined symbol. Something like
Code:
--> FOAM Warning :
    From function void* Foam::dlOpen(const Foam::fileName&, bool)
    in file POSIX.C at line 1173
    dlopen error : /home/mahdih/OpenFOAM/mahdih-v3.0+/platforms/linux64GccDPInt32Opt/lib/libMyBC.so: undefined symbol: _ZNK4Foam8IOstream5checkEPKc
--> FOAM Warning :
    From function bool Foam::dlLibraryTable::open(const Foam::fileName&, bool)
    in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 96
    could not load "libMyBC.so"
However the undefined symbol is different for every utility. I know it shouldn't be coming from my boundary condition because it happens if you just copy a derived boundary condition, rename it and compile it too.

I saw in another (http://www.cfd-online.com/Forums/ope...tml#post246243) forum that Daivd suggested to add OpenFOAM.so in controlDict. It removed some of the warnings, but not all of them.

Even though this is just a warning, but I use scripts to handle the outputs and these warnings throw everything off. So I would appreciate if anyone can help me with them.
anishtain4 is offline   Reply With Quote

Old   August 11, 2016, 11:57
Default
  #2
Senior Member
 
Mahdi Hosseinali
Join Date: Apr 2009
Location: NB, Canada
Posts: 268
Rep Power: 10
anishtain4 is on a distinguished road
I just realised that I have posted this in the wrong section. Admin can you please move this topic? I'm not sure who is the admin to send a PV
anishtain4 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
LEMOS InflowGenerator r_gordon OpenFOAM Running, Solving & CFD 90 July 5, 2016 02:54
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 Attesz OpenFOAM Installation 45 January 13, 2012 13:38
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20:08
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 21:30
G95 + CGNS Bruno Main CFD Forum 1 January 30, 2007 01:34


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