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

[OpenFOAM.org] Paraview with flag -python fails to compile

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 31, 2022, 02:37
Default Paraview with flag -python fails to compile
  #1
Member
 
Ashish Magar
Join Date: Jul 2016
Location: Mumbai, India
Posts: 81
Rep Power: 10
ashishmagar600 is on a distinguished road
OS: Ubuntu 18.04 LTS


OpenFOAMv9 built from source
ThirdPartyv9 built from source




makeParaView:57,58


Code:
PYTHON_LIBRARY="/usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.so"
PYTHON_INCLUDE="/usr/include/python3.8"
error:

Code:
[ 84%] Building CXX object VTK/Wrapping/Python/CMakeFiles/vtkPVServerManagerCorePythonD.dir/vtkPVServerManagerCorePythonInitImpl.cxx.o
[ 84%] Linking CXX shared library ../../../lib/libvtkPVServerManagerCorePython27D-pv5.6.so
[ 84%] Built target vtkPVServerManagerCorePythonD
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2
Command exited with non-zero status 2
13943.12user 2454.73system 36:02.96elapsed 758%CPU (0avgtext+0avgdata 1577832maxresident)k
1090808inputs+3773304outputs (1647major+236016726minor)pagefaults 0swaps
I also tried with this method from OFwiki : https://openfoamwiki.net/index.php/I...u#Ubuntu_18.04


Code:
./makeParaView -python -mpi -python-lib /usr/lib/x86_64-linux-gnu/libpython3.8.so.1.0 > log.makePV 2>&1  &
error:

Code:
[ 89%] Building CXX object VTK/Wrapping/Python/CMakeFiles/vtkPVVTKExtensionsDefaultPythonD.dir/vtkPVVTKExtensionsDefaultPythonInitImpl.cxx.o
[ 89%] Linking CXX static library ../../lib/libvtkPVServerManagerRenderingCS-pv5.6.a
[ 89%] Built target vtkPVServerManagerRenderingCS
[ 89%] Linking CXX shared library ../../../lib/libvtkPVVTKExtensionsDefaultPython27D-pv5.6.so
[ 89%] Built target vtkPVVTKExtensionsDefaultPythonD
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2
Command exited with non-zero status 2
14511.87user 2767.14system 41:07.68elapsed 700%CPU (0avgtext+0avgdata 1580948maxresident)k
1202672inputs+3977952outputs (3789major+250085990minor)pagefaults 0swaps

The errors are not very clear to me if I am missing any additional packages which need to be installed. It seems the VTK needs to be configured or is missing additional libs.




Issue on OF git here https://github.com/OpenFOAM/ThirdParty-9/issues/3
ashishmagar600 is offline   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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM.com] Unable to compile Paraview 5.9.1 for OpenFOAM v2106 (Ubuntu 20.04) keepfit OpenFOAM Installation 8 July 9, 2021 08:43
[OpenFOAM] Paraview from python shell : Glew initialization and VTKcommoncorepython error pradyumnsingh ParaView 0 September 18, 2018 14:40
[OpenFOAM] Paraview python API? me3840 ParaView 0 January 23, 2016 21:17
[OpenFOAM] paraview v4 - building with python - OF2.3.0, PVv4, Python 2.7 aylalisa ParaView 4 June 13, 2014 09:52
Cmake cannot recognize gcc to compile ParaView CAVT OpenFOAM 3 July 27, 2010 21:38


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