Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 420
    • Issues 420
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Issues
  • #2215
Closed
Open
Issue created Sep 19, 2021 by Sunag R A@rasunag27

OS Error: libPVblockMeshReader_SM.so: undefined symbol

What is the current bug behaviour?

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:

OSError: /opt/openfoam5/platforms/linux64GccDPInt32Opt/lib/paraview-5.4/libPVblockMeshReader_SM.so: undefined symbol: _ZN12pqRenderView16staticMetaObjectE

How to overcome this error.?

Relevant logs and/or images

I tried looking at similar post where the solution was mentioned as to work with LD_Preload as in link provided:

LD_Preload

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:

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.

Environment information

  • OpenFOAM version : v5
  • Operating system : ubuntu 18.04
  • Hardware info :
  • Compiler :
Assignee
Assign to
Time tracking