|
[Sponsors] |
July 14, 2016, 21:53 |
please help: symbol lookup error?
|
#1 |
Senior Member
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18 |
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 |
|
July 14, 2016, 22:08 |
|
#2 |
Senior Member
Join Date: Aug 2013
Posts: 407
Rep Power: 16 |
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 |
|
July 14, 2016, 22:18 |
|
#3 |
Senior Member
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18 |
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 |
|
November 7, 2016, 23:51 |
|
#4 |
Senior Member
ali
Join Date: Oct 2009
Posts: 318
Rep Power: 18 |
||
June 4, 2018, 07:28 |
|
#5 | |
Member
Kristjan
Join Date: Apr 2017
Location: Slovenia
Posts: 36
Rep Power: 9 |
Quote:
Thank you for this tip! 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 |
||
|
|
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 |