|
[Sponsors] |
![]() |
![]() |
#1 |
Senior Member
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 17 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Join Date: Aug 2013
Posts: 407
Rep Power: 14 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 17 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
ali
Join Date: Oct 2009
Posts: 318
Rep Power: 16 ![]() |
||
![]() |
![]() |
![]() |
![]() |
#5 | |
Member
Kristjan
Join Date: Apr 2017
Location: Slovenia
Posts: 36
Rep Power: 7 ![]() |
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 |
||
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
DPM udf error | haghshenasfard | FLUENT | 0 | April 13, 2016 06:35 |
Undeclared Identifier Errof UDF | SteveGoat | Fluent UDF and Scheme Programming | 7 | October 15, 2014 07:11 |
Compile problem | ivanyao | OpenFOAM Running, Solving & CFD | 1 | October 12, 2012 09:31 |
How to install CGNS under windows xp? | lzgwhy | Main CFD Forum | 1 | January 11, 2011 18:44 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 17:51 |