|
[Sponsors] |
May 3, 2018, 04:49 |
Error message with runTimePostProcessing
|
#1 |
Senior Member
|
Hi all,
As part of a larger project I was looking into the runTimePostProcessing functionObject for OpenFOAM v1712. I managed to get this working by downloading the latest VTK source files and building them in the thirdparty folder. Furthermore, a small test case resulted in correct images, but the simulation ended with an error message from the runTimePostProcessing library, which is unfortunate since I would like to run the solver as part of an automatic script and I need to check if the various steps end as they should. The error message is: Code:
$> tail -25 buoyantBoussinesqSimpleFoam.log Generating image: "$FOAM_CASE/processor0/../postProcessing/postPro1/5000/image.0000.png" End --> FOAM Warning : From function Foam::dlLibraryTable::~dlLibraryTable() in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 70 Failed closing "librunTimePostProcessing.so" with handle 29794176 Finalising parallel run buoyantBoussinesqSimpleFoam: symbol lookup error: /home/tom/OpenFOAM/ThirdParty-v1712/platforms/linux64Gcc/VTK-8.1.0/lib/libvtkCommonDataModel-8.1.so.1: undefined symbol: _ZN49vtkInformationQuadratureSchemeDefinitionVectorKeyD1Ev buoyantBoussinesqSimpleFoam: symbol lookup error: /home/tom/OpenFOAM/ThirdParty-v1712/platforms/linux64Gcc/VTK-8.1.0/lib/libvtkCommonDataModel-8.1.so.1: undefined symbol: _ZN49vtkInformationQuadratureSchemeDefinitionVectorKeyD1Ev buoyantBoussinesqSimpleFoam: symbol lookup error: /home/tom/OpenFOAM/ThirdParty-v1712/platforms/linux64Gcc/VTK-8.1.0/lib/libvtkCommonDataModel-8.1.so.1: undefined symbol: _ZN49vtkInformationQuadratureSchemeDefinitionVectorKeyD1Ev buoyantBoussinesqSimpleFoam: symbol lookup error: /home/tom/OpenFOAM/ThirdParty-v1712/platforms/linux64Gcc/VTK-8.1.0/lib/libvtkCommonDataModel-8.1.so.1: undefined symbol: _ZN49vtkInformationQuadratureSchemeDefinitionVectorKeyD1Ev buoyantBoussinesqSimpleFoam: symbol lookup error: /home/tom/OpenFOAM/ThirdParty-v1712/platforms/linux64Gcc/VTK-8.1.0/lib/libvtkCommonExecutionModel-8.1.so.1: undefined symbol: _ZN33vtkFilteringInformationKeyManager13ClassFinalizeEv ------------------------------------------------------- Primary job terminated normally, but 1 process returned a non-zero exit code.. Per user-direction, the job has been aborted. ------------------------------------------------------- -------------------------------------------------------------------------- mpirun detected that one or more processes exited with non-zero status, thus causing the job to be terminated. The first process to do so was: Process name: [[21017,1],4] Exit code: 127 -------------------------------------------------------------------------- Regards, Tom |
|
August 28, 2018, 17:14 |
|
#2 |
Senior Member
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 21 |
Did you solve your problem? I see a similar error:
Code:
hej@manni:~/OpenFOAM/hej-6/run/rs1562> foamListTimes -case test 21 --> FOAM Warning : From function Foam::dlLibraryTable::~dlLibraryTable() in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 70 Failed closing "libliquidPropertiesFvPatchFields.so" with handle 7755536 foamListTimes: symbol lookup error: /home/hej/OpenFOAM/OpenFOAM-6/platforms/linux64IccDPInt32Opt/lib/libreactionThermophysicalModels.so: undefined symbol: _ZN4Foam11fluidThermo30destroyfvMeshConstructorTablesEv |
|
August 29, 2018, 04:10 |
|
#3 |
Senior Member
|
Hi,
Unfortunately I did not as we decided to take the project in a different direction and this issue was not bothering the workflow anymore. I did not investigate any further. Regards, Tom |
|
August 29, 2018, 09:48 |
|
#4 |
Senior Member
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 21 |
I found the problem:
In system/controlDict I loaded a special libary (libliquidPropertiesFvPatchFields.so). And this was linked with references to other and actutally unneded libraries (in this case libreactionThermophysicalModels.so) set in Make/options. But that libary would require references to yet other libraries, not included in Make/options. By removing the reference to libreactionThermophysicalModels, the error went away. So I guess, in your case, the same reasoning applies to the libray librunTimePostProcessing.so. It references libvtkCommonDataModel-8.1.so.1 but the latter one requires other references, which would needed to be add to the Make/options file of librunTimePostProcessing |
|
August 29, 2018, 11:04 |
|
#5 |
Senior Member
|
Hi,
I am happy to read you have solved your issue and thanks for reporting the solution. Unfortunately the librunTimePostProcessing.so does not have a Make/options file: Code:
~/OpenFOAM/OpenFOAM-v1712> find src/functionObjects/ -iname options src/functionObjects/lagrangian/Make/options src/functionObjects/solvers/Make/options src/functionObjects/utilities/Make/options src/functionObjects/field/Make/options src/functionObjects/sixDoFRigidBodyState/Make/options src/functionObjects/forces/Make/options I may dive into this later. Regards, Tom |
|
|
|