Paraview:5.10.0: catalyst building issue
Hi ,
I am using latest release paraview as updated in sourceforge 5.10.0 release.
Build paraview successfully using mesa-llvm and it compiled well.
runTimepostprocessing : compiles well and work well. However catalyst
fail to compile with following error. (Note this issue is not there with Paraview-5.10.RC2)
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Link issues together to show that they're related. Learn more.
Activity
- Pawan Ghildiyal assigned to @mark
assigned to @mark
I am having the same issue across multiple systems (all graphic-less). There seems to be some incompatible requirements here?
VTK requires the IOFFMPEG component, but if you build paraview with FFMPEG, you then get additional issues:
ParaView is configured without I/O support (via the CATALYST_RENDERING edition) which is incompatible with the request for FFmpeg support (via the `PARAVIEW_ENABLE_FFMPEG` configure option)
Pawan, were you able to successfully build with 5.10.RC2?
- Maintainer
Need additional ffmpeg devel header and the following when building paraview:
-DPARAVIEW_ENABLE_FFMPEG=ON \ -DVTK_PYTHON_OPTIONAL_LINK=OFF \
The first one makes obvious sense. The second one is a bit odd, but needed to avoid
undefined symbol: PyExc_ValueError
@kuti - yet more stuff for your notes.
That second flag is something I would have never, ever found myself. I'm able to build paraview and catalyst now, thanks!
However, runTimePostProcessing fails to build, despite running ./makeVtk with the -mpi flag.
Using OpenFOAM = /data/OpenFOAM/OpenFOAM-v2206 Using VTK 9.0.20210922 Install prefix = /data/OpenFOAM/OpenFOAM-v2206/platforms/linux64GccSPDPInt32Opt
CMake Warning at CMakeLists-Project.txt:70 (message): ==== Building without VTK MPI ==== Call Stack (most recent call first): CMakeLists.txt:113 (include)
... CMake Error at /data/OpenFOAM/ThirdParty-v2206/platforms/linux64Gcc/VTK-8.2.0/lib/cmake/vtk-9.0/vtkModule.cmake:1214 (message): Failed to determine the real target for the
VTK::ParallelMPI
module. The module name is not a CMake target. Is there a typo? Is it missing aPackage::
prefix? Is afind_package
missing a required component? Call Stack (most recent call first): /data/OpenFOAM/ThirdParty-v2206/platforms/linux64Gcc/VTK-8.2.0/lib/cmake/vtk-9.0/vtkModule.cmake:3011 (_vtk_module_real_target) CMakeLists-Project.txt:126 (vtk_module_autoinit) CMakeLists.txt:113 (include)Looking at the log, it seems ./makeVtk has used the correct MPI flag (-DVTK_Group_MPI=ON)
Is there a magic flag I am missing, similar to the "VTK_PYTHON_OPTIONAL_LINK=OFF"?
Done
MPI information: home : /usr Found sources: VTK-8.2.0
VTK_DIR=/data/OpenFOAM/ThirdParty-v2206/platforms/linux64Gcc/VTK-8.2.0 VTK_SOURCEDIR=/data/OpenFOAM/ThirdParty-v2206/VTK-8.2.0 VTK_BUILDDIR=/data/OpenFOAM/ThirdParty-v2206/build/linux64Gcc/VTK-8.2.0
Build stages selected
-patch true -config true -make true -install true
Features selected mesa false mpi true
Compiler cxx g++ cxxflags -std=c++11 -m64 -pthread -fPIC
Version information vtk 8.2.0 build Release
no patch found for vtk-8.2.0 Using cmake=/usr/bin/cmake removing old build directory /data/OpenFOAM/ThirdParty-v2206/build/linux64Gcc/VTK-8.2.0
Configuring VTK-8.2.0 MESA support : false Source : /data/OpenFOAM/ThirdParty-v2206/VTK-8.2.0 Build : /data/OpenFOAM/ThirdParty-v2206/build/linux64Gcc/VTK-8.2.0 Target : /data/OpenFOAM/ThirdParty-v2206/platforms/linux64Gcc/VTK-8.2.0 cmake : /usr/bin/cmake Build suffix : none
/usr/bin/cmake -DCMAKE_INSTALL_PREFIX=/data/OpenFOAM/ThirdParty-v2206/platforms/linux64Gcc/VTK-8.2.0 -DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=OFF -DVTK_MODULE_ENABLE_VTK_RenderingParallel=YES -DVTK_MODULE_ENABLE_VTK_RenderingParallelLIC=NO -DVTK_GROUP_ENABLE_Rendering=YES -DPARAVIEW_ENABLE_FFMPEG=ON -DVTK_PYTHON_OPTIONAL_LINK=OFF -DUSE_SYSTEM_FFMPEG=YES -DVTK_MODULE_ENABLE_VTK_IOFFMPEG=YES -DVTK_Group_MPI=ON -DModule_vtkRenderingParallel=ON -DModule_vtkParallelMPI=ON -DVTK_RENDERING_BACKEND=OpenGL2 -DCMAKE_BUILD_TYPE=Release /data/OpenFOAM/ThirdParty-v2206/VTK-8.2.0
Edited by Aaron@mark It turns out the VTK_Group_MPI=ON flag is actually not the correct flag. ./makeVTK -mpi needs to set VTK_USE_MPI=ON
For some reason I cannot fork, but I've attached a fix to this file: https://develop.openfoam.com/Development/ThirdParty-common/-/blob/main/etc/tools/vtkFunctions
Edited by Aaron