CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

please help: symbol lookup error?

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By alinik
  • 1 Post By krikre

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 14, 2016, 21:53
Default please help: symbol lookup error?
  #1
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18
phsieh2005 is on a distinguished road
Dear OpenFOAMers,

I built a new library. The case called the lib without any problem when running in single CPU. However, when I tried to decompose the case, I got the following error:

decomposePar: symbol lookup error: /home/phsieh/OpenFOAM/phsieh-4.x/platforms/linux64GccDPInt32Opt/lib/libTEDColdSidePowerCurve.so: undefined symbol: _ZN4Foam22temperatureCoupledBaseC2ERKNS_7fvPatchER KNS_10dictionaryE

It will be highly appreciated if someone can give me some guidance on how to resolve this issue. Thanks!

Pei-Ying
phsieh2005 is offline   Reply With Quote

Old   July 14, 2016, 22:08
Default
  #2
Senior Member
 
Join Date: Aug 2013
Posts: 407
Rep Power: 16
Antimony is on a distinguished road
Hi,

I am not sure if I remember correctly, but I think when I had a similar error, I cleaned the library and did a "wmake libso"
Not sure if it applies here, but thought would mention it in case it solves the issue...

Cheers,
Antimony
Antimony is offline   Reply With Quote

Old   July 14, 2016, 22:18
Default
  #3
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18
phsieh2005 is on a distinguished road
Hi, Antimony,

Thanks for the quick reply!

I found out that I missed linking a library in options. Now, the problem went away.

Pei-Ying
phsieh2005 is offline   Reply With Quote

Old   November 7, 2016, 23:51
Default
  #4
Senior Member
 
ali
Join Date: Oct 2009
Posts: 318
Rep Power: 18
alinik is on a distinguished road
Hi,

what library did you include?


Quote:
Originally Posted by phsieh2005 View Post
Hi, Antimony,

Thanks for the quick reply!

I found out that I missed linking a library in options. Now, the problem went away.

Pei-Ying
Tscar likes this.
alinik is offline   Reply With Quote

Old   June 4, 2018, 07:28
Default
  #5
Member
 
Kristjan
Join Date: Apr 2017
Location: Slovenia
Posts: 36
Rep Power: 9
krikre is on a distinguished road
Quote:
Originally Posted by phsieh2005 View Post
Hi, Antimony,

Thanks for the quick reply!

I found out that I missed linking a library in options. Now, the problem went away.

Pei-Ying

Thank you for this tip!



Quote:
Originally Posted by alinik View Post
Hi,

what library did you include?

In my case it was: -lcompressibleTurbulenceModels


I was modifying externalWallHeatFluxTemperature to include pressure dependence.


[Make/options]
Code:
EXE_INC = \
    -I$(LIB_SRC)/TurbulenceModels/compressible/lnInclude \
    -I$(LIB_SRC)/TurbulenceModels/turbulenceModels/lnInclude \
    -I$(LIB_SRC)/transportModels/compressible/lnInclude \
    -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
    -I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
    -I$(LIB_SRC)/thermophysicalModels/solidThermo/lnInclude \
    -I$(LIB_SRC)/thermophysicalModels/solidSpecie/lnInclude \
    -I$(LIB_SRC)/finiteVolume/lnInclude \
    -I$(LIB_SRC)/meshTools/lnInclude

LIB_LIBS = \
    -lcompressibleTurbulenceModels \
    -lcompressibleTransportModels \
    -lfluidThermophysicalModels \
    -lsolidThermo \
    -lsolidSpecie \
    -lturbulenceModels \
    -lspecie \
    -lfiniteVolume \
    -lmeshTools
Mowgli likes this.
krikre is offline   Reply With Quote

Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
DPM udf error haghshenasfard FLUENT 0 April 13, 2016 07:35
Undeclared Identifier Errof UDF SteveGoat Fluent UDF and Scheme Programming 7 October 15, 2014 08:11
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 10:31
How to install CGNS under windows xp? lzgwhy Main CFD Forum 1 January 11, 2011 19:44
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 18:51


All times are GMT -4. The time now is 05:18.