CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] OS Error in libPVblockMeshReader_SM.so with undefined symbol

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 15, 2021, 01:21
Default OS Error in libPVblockMeshReader_SM.so with undefined symbol
  #1
Member
 
Sunag R A
Join Date: Jul 2019
Location: Bangalore, India
Posts: 82
Rep Power: 6
sunagra27 is on a distinguished road
Dear all,


I am working with OpenFOAM v5 and I am trying to automate the simulations based on input request provided to flask.


For this purpose, I have created a python file for flask and have provided the OpenFOAM function which needs to run by using pvpython. Manually, only with python it will run perfectly without any error.


But, with flask when I run the python file, I am getting this below error:
Code:
OSError: /opt/openfoam5/platforms/linux64GccDPInt32Opt/lib/paraview-5.4/libPVblockMeshReader_SM.so: undefined symbol: _ZN12pqRenderView16staticMetaObjectE
I tried looking at similar post where the solution was mentioned as to work with LD_Preload as:
Code:
LD_PRELOAD=/opt/OpenFOAM/paraviewopenfoam54/lib/paraview-5.4/libvtkpqCore-pv5.4.1.so.1 /opt/OpenFOAM/paraviewopenfoam54/bin/pvpython
But it gives the following error from LD_Preload:
Code:
ERROR: ld.so: object '/opt/paraviewopenfoam54/lib/paraview-5.4/libvtkpqCore-pv5.4.1.so.1' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
How to overcome this error.?




Regards,
Sunag R A.
sunagra27 is offline   Reply With Quote

Reply

Tags
code, openfoam, paraview, pvpython, vtk


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


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


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