[Paraview] ParaView 5.5 in headless mode (ParaView superbuild)

Nelson, Tyler (GE Global Research, US) Tyler.Nelson at ge.com
Fri May 4 08:32:45 EDT 2018


Hi,

I am attempting to get ParaView to run in headless mode for a project that I am working on.  After encountering some GL errors  kitware at kitware.com<mailto:kitware at kitware.com> suggested that we start with the ParaViewSuperbuild project here: https://gitlab.kitware.com/paraview/paraview-superbuild; however, we are now getting this error during the Superbuild 5.5 mesa compilation:
/tmp/cct5QMQS.s: Assembler messages:
/tmp/cct5QMQS.s:46: Error: no such instruction: `vinserti128 $1,%xmm0,%ymm0,%ymm1'
/tmp/cct5QMQS.s:47: Error: no such instruction: `vperm2i128 $49,%ymm0,%ymm0,%ymm0'
/tmp/cct5QMQS.s:48: Error: suffix or operands invalid for `vpackusdw'


Any ideas as to what may be causing this?


The details for the previous attempt (before we started trying the Superbuild) are listed below.  Any advice would be much appreciated:

When attempting to run Paraview 5.5 in headless mode using offscreen rendering, I am getting the following error:
ERROR: In /software/paraview/5.5/src/ParaView-v5.5.0/VTK/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx, line 793
vtkOSOpenGLRenderWindow (0x4c35b40): GL version 2.1 with the gpu_shader4 extension is not supported by your graphics driver but is required for the new OpenGL rendering backend. Please update your OpenGL driver. If you are using Mesa please make sure you have version 10.6.5 or later and make sure your driver in Mesa supports OpenGL 3.2.
To try and get around this, I built a custom version of mesa 17.0.2 for RHEL6:
/configure --disable-xvmc --disable-glx --disable-dri --with-dri-drivers= --with-gallium-drivers=swrast --enable-texture-float --disable-egl --enable-gallium-osmesa --enable-gallium-llvm=yes --disable-gbm --prefix=/software/paraview/5.5/mesa
I also built a new version of llvm just to be on the safe side.
>From there I compiled Paraview:
#!/bin/bash
ccmake -G "Unix Makefiles" -DPARAVIEW_USE_MPI:BOOL=ON \
-DCMAKE_INSTALL_PREFIX=/software/paraview/5.5/RHEL_NOGLX/ \
-DMPI_CXX_COMPILER=/software/openmpi/PBS/1.10.4/gcc_49/bin/mpicc \
-DMPI_C_COMPILER=/software/openmpi/PBS/1.10.4/gcc_49/bin/mpicc \
-DCMAKE_C_COMPILER=/software/gcc/4.9.3/bin/gcc \
-DCMAKE_Fortran_COMPILER=/software/gcc/4.9.3/bin/gfortran \
-DOPENGL_INCLUDE_DIR=/usr/include \
-DOPENGL_gl_LIBRARY:STRING=/usr/lib64/libGL.so \
-DOPENGL_glu_LIBRARY:STRING=/usr/lib64/libGLU.so \
-DVTK_VPIC_USE_MPI=OFF \
-DVTK_OPENGL_HAS_OSMESA=ON \
-DPARAVIEW_BUILD_QT_GUI:BOOL=ON \
-DVTK_OPENGL_HAS_OSMESA:BOOL=ON \
-DVTK_USE_X:BOOL=ON \
-DMESA_GL_VERSION_OVERRIDE=3.2 \
-DBUILD_TESTING=OFF \
-DPARAVIEW_USE_MPI=OFF \
-DPARAVIEW_ENABLE_PYTHON=ON \
-DPYTHON_INCLUDE_DIR=/software/python/RHEL6/2.7.3/include/python2.7 \
-DPYTHON_EXECUTABLE=/software/python/RHEL6/2.7.3/bin/python \
-DOSMESA_INCLUDE_DIR=/software/paraview/5.5/mesa/lib/ \
-DOSMESA_LIBRARY=/software/paraview/5.5/mesa/lib/libOSMesa.so \
../ParaView-v5.5.0
Sadly, I still get the same opengl errors when trying to run paraview in headless mode. At this point, im a bit stuck.  My guess is I probably missed an option in my mesa build so im hoping kitware might have some insight



Tyler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/paraview/attachments/20180504/5ba8e8c8/attachment.html>


More information about the ParaView mailing list