Hello. I’m trying to run project, using paraview catalyst on remote machine without X-server. I’ve build catalyst from sources, but when program calls python-script in function create_render_view(), I get an error:
( 29.111s) [pvbatch.1 ] :0 FATL| Signal: SIGABRT
( 14.956s) [pvbatch.0 ]vtkXOpenGLRenderWindow.:464 ERR| vtkXOpenGLRenderWindow (0x3049040): bad X server connection. DISPLAY=
What should I do? Is there any possibility to run program without using X-server? I tried to download ParaView Server for Headless Machines, but when i do cmake, I get an error:
CMake Error at CMakeLists.txt:80 (find_package):
Could not find a package configuration file provided by "catalyst" with any
of the following names:
catalystConfig.cmake
catalyst-config.cmake
When you build ParaView you’ll have to use one of the headless options: OSMesa (if you don’t have an nvidia card) or EGL (if you do).
OSMesa uses software rendering so it is going to be slower.
See the following link to see what options you need for this.
I’ve installed OSmesa, but when i build paraview after ccmake … i can’t see options VTK_USE_X, VTK_OPENGL_HAS_OSMESA
If i do cmake .. -DVTK_USE_X=OFF -DVTK_OPENGL_HAS_OSMESA=ON -DOSMESA_INCLUDE_DIR=/include/ -DOSMESA_LIBRARY=/lib64
I have an error:
Linking C shared library ../../../../lib64/libvtkglew-pv5.10.so
/lib64: file not recognized:This is a directory
collect2: error: ld execution ended with return code 1
make[2]: *** [VTK/ThirdParty/glew/vtkglew/CMakeFiles/glew.dir/build.make:98: lib64/libvtkglew-pv5.10.so.5.10] Error 1
make[1]: *** [CMakeFiles/Makefile2:17869: VTK/ThirdParty/glew/vtkglew/CMakeFiles/glew.dir/all] Ошибка 2
make: *** [Makefile:146: all] Errror 2
Thanks. That helped. Could you tell me where I can find the documentation for the new catalyst, I found only guide to catalyst with paraview 4.3.1, i’m using 5.10
If you use an older Catalyst instrumentation - the part that is done in the simulation - that documentation is still valid.
I assume you refer to the documentation linked here https://www.paraview.org/in-situ/