|
[Sponsors] |
[OpenFOAM.org] Paraview with flag -python fails to compile |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 31, 2022, 02:37 |
Paraview with flag -python fails to compile
|
#1 |
Member
Ashish Magar
Join Date: Jul 2016
Location: Mumbai, India
Posts: 81
Rep Power: 10 |
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" 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 Code:
./makeParaView -python -mpi -python-lib /usr/lib/x86_64-linux-gnu/libpython3.8.so.1.0 > log.makePV 2>&1 & 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 |
|
|
|
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 |