Hello, experts and more experienced users.
I aim to get a server-client Paraview setup to work on our cluster, which has GPU nodes, so that the server makes use of GPUs in the nodes. The GPU nodes do not have a desktop environment, and no Qt, so I wish to enable offscreen rendering, with EGL. I have been following https://kitware.github.io/paraview-docs/latest/cxx/Offscreen.html to do so, but I keep running across several issues about which your input would be appreciated.
- Following the website’s direction, I tried to configure with cmake:
cmake VTK_USE_X=OFF VTK_OPENGL_HAS_EGL=ON Python3_LIBRARY=/trinity/opt/apps/software/python/Python-3.7.2/libpython3.7m.a Python3_INCLUDE_DIR=/trinity/opt/apps/software/python/Python-3.7.2/Include …/paraview
But somehow the Python variables or their values are not recognized:
– Could NOT find Python3 (missing: Python3_LIBRARY Python3_INCLUDE_DIR Development) (Required is at least version “3.2”)
From what happens in VTK/CMake/patches/3.13/FindPython3.cmake I do not really understand what header files and libraries it is looking for.
- I have also tried configuring with ccmake, and turned off all the Qt options, into:
BUILD_TESTING OFF
CMAKE_BUILD_TYPE Debug
CMAKE_INSTALL_PREFIX /trinity/opt/apps/gtecton/paraviewEGL/paraview
PARAVIEW_BUILD_EXAMPLES ON
PARAVIEW_BUILD_QT_GUI OFF
PARAVIEW_BUILD_SHARED_LIBS ON
PARAVIEW_ENABLE_CATALYST ON
PARAVIEW_ENABLE_COMMANDLINE_TO ON
PARAVIEW_ENABLE_FFMPEG OFF
PARAVIEW_ENABLE_NVPIPE OFF
PARAVIEW_ENABLE_OPENTURNS OFF
PARAVIEW_ENABLE_PYTHON ON
PARAVIEW_ENABLE_QT_SUPPORT OFF
PARAVIEW_ENABLE_VISITBRIDGE OFF
PARAVIEW_ENABLE_XDMF3 OFF
PARAVIEW_PLUGIN_ENABLE_Acceler ON
PARAVIEW_PLUGIN_ENABLE_AdiosRe OFF
PARAVIEW_PLUGIN_ENABLE_AdiosRe OFF
PARAVIEW_PLUGIN_ENABLE_Analyze OFF
PARAVIEW_PLUGIN_ENABLE_ArrowGl ON
PARAVIEW_PLUGIN_ENABLE_CDIRead ON
PARAVIEW_PLUGIN_ENABLE_Digital ON
PARAVIEW_PLUGIN_ENABLE_Embossi ON
PARAVIEW_PLUGIN_ENABLE_EyeDome ON
PARAVIEW_PLUGIN_ENABLE_GmshRea OFF
PARAVIEW_PLUGIN_ENABLE_InSituE OFF
PARAVIEW_PLUGIN_ENABLE_Moments ON
PARAVIEW_PLUGIN_ENABLE_MooseXf ON
PARAVIEW_PLUGIN_ENABLE_NetCDFT ON
PARAVIEW_PLUGIN_ENABLE_NonOrth ON
PARAVIEW_PLUGIN_ENABLE_Panoram ON
PARAVIEW_PLUGIN_ENABLE_SLACToo ON
PARAVIEW_PLUGIN_ENABLE_StreamL ON
PARAVIEW_PLUGIN_ENABLE_Streami ON
PARAVIEW_PLUGIN_ENABLE_Surface ON
PARAVIEW_PLUGIN_ENABLE_Thicken ON
PARAVIEW_PLUGIN_ENABLE_VDFRead OFF
PARAVIEW_PLUGIN_ENABLE_pvNVIDI ON
PARAVIEW_PYTHON_VERSION 3
PARAVIEW_USE_MPI ON
PARAVIEW_USE_OSPRAY OFF
PARAVIEW_USE_VTKM OFF
VTK_GROUP_ENABLE_ParaViewCore YES
VTK_GROUP_ENABLE_ParaViewQt NO
VTK_GROUP_ENABLE_ParaViewRende YES
VTK_GROUP_ENABLE_Qt NO
VTK_PYTHON_VERSION 3
VTK_SMP_IMPLEMENTATION_TYPE OpenMP
But configuring with these options gives:
CMake Error at VTK/CMake/vtkModule.cmake:811 (message):
The ParaView::pqApplicationComponents module requires the disabled module
ParaView::pqComponents.
Call Stack (most recent call first):
CMakeLists.txt:519 (vtk_module_scan)
And I see no module pqComponents or anything looking like it in the ccmake list.
Moreover, CMakeLists.txt , line 282, says:
if (PARAVIEW_BUILD_QT_GUI)
list(APPEND paraview_requested_modules
ParaView::Common
ParaView::ServerManagerApplication
ParaView::ServerManagerCore
ParaView::ServerManagerDefault
ParaView::pqApplicationComponents
ParaView::pqComponents
ParaView::pqCore)
So it seems that the option PARAVIEW_BUILD_QT_GUI that I set to ‘OFF’ is not interpreted as such…
What I am doing wrong?
Thank you very much for your help!
Lukas