|
[Sponsors] |
January 6, 2011, 08:42 |
blockMesh: symbol lookup error
|
#1 |
New Member
Vadims Geza
Join Date: Apr 2010
Location: Latvia
Posts: 9
Rep Power: 16 |
Hello OF users!
I have problem, after new installation of OF 171, blockmesh would not run saying: blockMesh: symbol lookup error: /home/OpenFOAM/OpenFOAM-1.7.1/lib/linuxGccDPOpt/libfiniteVolume.so: undefined symbol: _ZTIN4Foam16regionPropertiesE the same error running splitMeshRegions, maybe for some other applications as well. Does anybody have any idea? Thanks in advance! |
|
November 1, 2013, 01:58 |
|
#2 |
Senior Member
Srivathsan N
Join Date: Jan 2013
Location: India
Posts: 101
Rep Power: 13 |
Hi,
I know this is an old post but I am also getting a similar error. I have just compiled a BC without errors and now when i run blockMesh with that boundary condition in place i get: blockMesh: symbol lookup error: /home/srivathsan/OpenFOAM/srivathsan-2.1.1/platforms/linuxGccDPOpt/lib/libfiniteVolume.so: undefined symbol: _ZTIN4Foam35newDirectionMixedFvPatchVectorFieldE Were you able to correct the error? What is the problem here?
__________________
Regards, Srivaths |
|
November 1, 2013, 20:04 |
|
#3 |
Senior Member
Lieven
Join Date: Dec 2011
Location: Leuven, Belgium
Posts: 299
Rep Power: 22 |
If I'm not mistaking, you get this error when you don't include the library in the controlDict-file. So adding something like:
Code:
libs ( "libnew1.so" "libnew2.so" ); You can find more info at http://www.openfoam.org/docs/user/co...plications.php Cheers, Lieven |
|
November 4, 2013, 01:30 |
|
#4 |
Senior Member
Srivathsan N
Join Date: Jan 2013
Location: India
Posts: 101
Rep Power: 13 |
Hi Lieven,
Thank you. I understand what you've written. I wrote my BC as a derived boundary condition and compiled it in finiteVolume/fields/fvPatchFields/derived/myNewBC (this is in FOAM_USER src directory). I made the necessary additions to the 'Make' folder in the finite volume directory and gave a wmake. Shouldn't this be enough? I've added libfiniteVolume.so to the controlDict of my case file too, but I get the same error. I'm missing some vital point w.r.to linking libraries. Can't figure out what.
__________________
Regards, Srivaths |
|
November 6, 2013, 06:48 |
|
#5 |
Senior Member
Lieven
Join Date: Dec 2011
Location: Leuven, Belgium
Posts: 299
Rep Power: 22 |
Hi Sherlock,
Have you solved the problem. What do you mean exactly by 'finite volume directory'? Could you post your options-file from the Make folder? Cheers, Lieven |
|
November 6, 2013, 07:26 |
|
#6 |
Senior Member
Srivathsan N
Join Date: Jan 2013
Location: India
Posts: 101
Rep Power: 13 |
Hi Lieven,
I've attached my options file. I am not sure what to add in the EXE_INC and EXE_LIBS. The boundary condition is named 'newDirectionMixed' and is present in my solver directory. Can you spot where I've gone wrong? Thanks.
__________________
Regards, Srivaths |
|
September 21, 2018, 11:18 |
blockMesh: symbol lookup error.
|
#7 |
New Member
Sunil
Join Date: Aug 2016
Posts: 7
Rep Power: 10 |
Hi Srivathsan,
This is 5 years back, but I'm facing same issue now. Same is the case with me, I have created my own boundary condition in finite volume directory and compiled it with wmake, when I run any command like blockMesh or icoFoam or any other solver it is showing me same error, is your issue solved back then? Can you please share your experience? Thanks, Sunil. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Caffa 3D code | Waliur Rahman | Main CFD Forum | 0 | May 29, 2018 01:53 |
Mesquite - Adaptive mesh refinement / coarsening? | philippose | OpenFOAM Running, Solving & CFD | 94 | January 27, 2016 10:40 |
OpenFOAM without MPI | kokizzu | OpenFOAM Installation | 4 | May 26, 2014 10:17 |
Errors in UDF | shashank312 | Fluent UDF and Scheme Programming | 6 | May 30, 2013 21:30 |
Compile problem | ivanyao | OpenFOAM Running, Solving & CFD | 1 | October 12, 2012 10:31 |