CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

Error message with runTimePostProcessing

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By jherb

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 3, 2018, 04:49
Default Error message with runTimePostProcessing
  #1
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Breda, Netherlands
Posts: 634
Rep Power: 32
tomf will become famous soon enoughtomf will become famous soon enough
Send a message via MSN to tomf Send a message via Skype™ to tomf
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
--------------------------------------------------------------------------
So, the solver finished properly, the results are also as expected, I just get an error message which I would rather fix, but I would not know how to do this. Hoping that someone out here has an idea.

Regards,
Tom
tomf is online now   Reply With Quote

Old   August 28, 2018, 17:14
Default
  #2
Senior Member
 
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 21
jherb is on a distinguished road
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
jherb is offline   Reply With Quote

Old   August 29, 2018, 04:10
Default
  #3
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Breda, Netherlands
Posts: 634
Rep Power: 32
tomf will become famous soon enoughtomf will become famous soon enough
Send a message via MSN to tomf Send a message via Skype™ to tomf
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
tomf is online now   Reply With Quote

Old   August 29, 2018, 09:48
Default
  #4
Senior Member
 
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 21
jherb is on a distinguished road
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
tomf likes this.
jherb is offline   Reply With Quote

Old   August 29, 2018, 11:04
Default
  #5
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Breda, Netherlands
Posts: 634
Rep Power: 32
tomf will become famous soon enoughtomf will become famous soon enough
Send a message via MSN to tomf Send a message via Skype™ to tomf
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 know that I had to install additional libraries to get it working in the first place, but do not recall the exact steps right now.

I may dive into this later.
Regards,
Tom
tomf is online now   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 04:12.