|
[Sponsors] |
August 16, 2019, 11:58 |
Compilation - undefined symbol
|
#1 |
Member
Robin Kamenicky
Join Date: Mar 2016
Posts: 74
Rep Power: 11 |
Hello everyone,
I wonder whether somebody would be able to give me a hint. I use OpenFOAM-dev updated about a year ago compiled from Openfoam.org. OS is Ubuntu 16.04 LTS. I developed a new wall boiling model boundary condition (BC), the compilation went well. The solver with the new BC runs also fine but when I want to decompose it, use Paraview or checkMesh I am getting undefined symbol: Code:
case1:decomposePar -allRegions -force -dict system /*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: dev \\/ M anipulation | \*---------------------------------------------------------------------------*/ Build : dev-674bff4031d4 Exec : decomposePar -allRegions -force -dict system Date : Aug 16 2019 Time : 16:45:39 Host : "MAE-ROW-RK" PID : 7111 I/O : uncollated Case : /home/robin/Desktop/UniOfStrathclyde/PhD/Modelling/OpenFOAM-dev/solverValidation/nie/case1 nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10) allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time --> FOAM Warning : From function void* Foam::dlOpen(const Foam::fileName&, bool) in file POSIX.C at line 1251 dlopen error : /home/robin/OpenFOAM/robin-dev/platforms/linux64GccDPInt32Opt/lib/libreactingEulerianDevelopmentFvPatchFields.so: undefined symbol: _ZTIN4Foam12compressible58alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarFieldE --> FOAM Warning : From function bool Foam::dlLibraryTable::open(const Foam::fileName&, bool) in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 105 could not load "libreactingEulerianDevelopmentFvPatchFields.so" Removing 6 existing processor directories Code:
case1:decomposePar -allRegions -force -dict system /*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: dev \\/ M anipulation | \*---------------------------------------------------------------------------*/ Build : dev-674bff4031d4 Exec : decomposePar -allRegions -force -dict system Date : Aug 16 2019 Time : 15:44:26 Host : "MAE-ROW-RK" PID : 20352 I/O : uncollated Case : /home/robin/Desktop/UniOfStrathclyde/PhD/Modelling/OpenFOAM-dev/solverValidation/nie/case1 nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10) allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time --> FOAM Warning : From function void* Foam::dlOpen(const Foam::fileName&, bool) in file POSIX.C at line 1251 dlopen error : /home/robin/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/lib/libreactingPhaseSystem.so: undefined symbol: _ZN4Foam15TurbulenceModelINS_14GeometricFieldIdNS_12fvPatchFieldENS_7volMeshEEES4_NS_27compressibleTurbulenceModelENS_10phaseModelEE30dictionaryConstructorTablePtr_E --> FOAM Warning : From function bool Foam::dlLibraryTable::open(const Foam::fileName&, bool) in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 105 could not load "libreactingEulerianDevelopmentFvPatchFields.so" Segmentation fault (core dumped) Code:
nm /home/robin/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/lib/* | grep _ZN4Foam15TurbulenceModelINS_14GeometricFieldIdNS_12fvPatchFieldENS_7volMeshEEES4_NS_27compressibleTurbulenceModelENS_10phaseModelEE30dictionaryConstructorTablePtr_E Code:
U _ZN4Foam15TurbulenceModelINS_14GeometricFieldIdNS_12fvPatchFieldENS_7volMeshEEES4_NS_27compressibleTurbulenceModelENS_10phaseModelEE30dictionaryConstructorTablePtr_E 000000000033d3c0 B _ZN4Foam15TurbulenceModelINS_14GeometricFieldIdNS_12fvPatchFieldENS_7volMeshEEES4_NS_27compressibleTurbulenceModelENS_10phaseModelEE30dictionaryConstructorTablePtr_E 0000000000465220 B _ZN4Foam15TurbulenceModelINS_14GeometricFieldIdNS_12fvPatchFieldENS_7volMeshEEES4_NS_27compressibleTurbulenceModelENS_10phaseModelEE30dictionaryConstructorTablePtr_E U _ZN4Foam15TurbulenceModelINS_14GeometricFieldIdNS_12fvPatchFieldENS_7volMeshEEES4_NS_27compressibleTurbulenceModelENS_10phaseModelEE30dictionaryConstructorTablePtr_E 000000000046d2e0 B _ZN4Foam15TurbulenceModelINS_14GeometricFieldIdNS_12fvPatchFieldENS_7volMeshEEES4_NS_27compressibleTurbulenceModelENS_10phaseModelEE30dictionaryConstructorTablePtr_E There are two ways around.
My question is, why there is no symbol symbolized as "V" and why it does not give symbolic warning/error when I run the solvers but when I run utilities. This would mean that the symbol is not needed for the solver but I am no that sure. Thank you, Robin |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Caffa 3D code | Waliur Rahman | Main CFD Forum | 0 | May 29, 2018 00:53 |
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 | Attesz | OpenFOAM Installation | 45 | January 13, 2012 12:38 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 19:08 |
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug | unoder | OpenFOAM Installation | 11 | January 30, 2008 20:30 |
G95 + CGNS | Bruno | Main CFD Forum | 1 | January 30, 2007 00:34 |