<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi,<br>
<br>
I'm still trying to build paraview 5.3 with Qt4.8. As paraview
superbuild was failing on my desktop (centos 6.9, Nvidia GPU), I
build paraview by hand and it is running now with and without
pvserver connection<br>
.<br>
The problem went back with building same paraview version on the
cluster frontend: CentOS 6.7, no GPU. The compilation is successfull
but launching paraview I get some errors with OpenGL:<br>
<br>
<tt>ER</tt><tt>ROR: In
/kareline/data/begou/PARAVIEW5/paraview/VTK/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx,
line 825</tt><tt><br>
</tt><tt>vtkXOpenGLRenderWindow (0x2280fb0): 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.</tt><tt><br>
</tt><tt><br>
</tt><tt>ERROR: In
/kareline/data/begou/PARAVIEW5/paraview/VTK/Rendering/OpenGL2/vtkXOpenGLRenderWindow.cxx,
line 812</tt><tt><br>
</tt><tt>vtkXOpenGLRenderWindow (0x2280fb0): failed to create
offscreen window</tt><tt><br>
</tt><tt><br>
</tt><tt>ERROR: In
/kareline/data/begou/PARAVIEW5/paraview/VTK/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx,
line 813</tt><tt><br>
</tt><tt>vtkXOpenGLRenderWindow (0x2280fb0): GLEW could not be
initialized.</tt><br>
<br>
I've built and installed mesa from mesa-17.0.4.tar.gz using:<br>
<tt>./configure \</tt><tt><br>
</tt><tt>PKG_CONFIG_PATH=/share/apps/paraview-5.3.0/lib/pkgconfig \</tt><tt><br>
</tt><tt>--prefix=/share/apps/paraview-5.3.0 \</tt><tt><br>
</tt><tt>--disable-osmesa --enable-gallium-osmesa
--enable-gallium-llvm \</tt><tt><br>
</tt><tt>--with-llvm-prefix=/share/apps/paraview-5.3.0</tt> <br>
<br>
With several requested libraries:<br>
libxshmfence-1.2.tar.gz<br>
libxcb-1.12.tar.gz<br>
libXau-1.0.8.tar.gz<br>
pthread-stubs-0.3.tar.gz<br>
xcb-proto-1.12.tar.gz<br>
libdrm-2.4.70.tar.gz<br>
llvm-4.0.0.src.tar.xz<br>
all under <tt>/share/apps/paraview-5.3.0/ </tt><br>
<br>
I've checked with strace that paraview was loading libGL in
/share/apps/paraview-5.3.0/lib and not the system one, requested by
other application (frontend is in production and I cannont break
these libraries used by other softwares).<br>
<br>
<tt><br>
</tt>I must confess I'm not familiar at all with these libraries and
environments, mesa or osmesa, GPU or not GPU, of screen rendering...
all documentation deeping in obscure details while I'm searching to
understand these concepts. <br>
it is clear for me that on the nodes (without GPU) I will use OSMesa
and no GUI, but on the frontend where I need GUI ???<br>
<br>
Thanks for your advices and sorry if this is a very basic <span
class="gt-baf-word-clickable">lack of understanding from myself.</span><br>
<br>
Patrick<br>
<br>
<br>
Paraview cmake is:<br>
<tt>ccmake -DBUILD_SHARED_LIBS=ON \</tt><tt><br>
</tt><tt> -DPARAVIEW_USE_MPI=ON \</tt><tt><br>
</tt><tt> -DCMAKE_BUILD_TYPE=Release \</tt><tt><br>
</tt><tt> -DPARAVIEW_BUILD_QT_GUI=ON \</tt><tt><br>
</tt><tt> -DPARAVIEW_QT_VERSION=4 \</tt><tt><br>
</tt><tt>
-DQT_QMAKE_EXECUTABLE=/share/apps/paraview-5.3.0/qt4.8.6/bin/qmake
\</tt><tt><br>
</tt><tt> -DPARAVIEW_ENABLE_FFMPEG=ON \</tt><tt><br>
</tt><tt> -DPARAVIEW_ENABLE_PYTHON=ON \</tt><tt><br>
</tt><tt>
-DPYTHON_INCLUDE_DIR=/share/apps/python279/include/python2.7 \</tt><tt><br>
</tt><tt>
-DPYTHON_LIBRARY=/share/apps/python279/lib/libpython2.7.so \</tt><tt><br>
</tt><tt>
-DPYTHON_LIBRARY_DEBUG=/share/apps/python279/lib/libpython2.7.so \</tt><tt><br>
</tt><tt> -DCMAKE_INSTALL_PREFIX=/share/apps/paraview-5.3.0 \</tt><tt><br>
</tt><tt> -DCMAKE_VERBOSE_MAKEFILE=ON \</tt><tt><br>
</tt><tt> -DCMAKE_CXX_COMPILER=/share/apps/GCC485/bin/g++ \</tt><tt><br>
</tt><tt> -DCMAKE_C_COMPILER=/share/apps/GCC485/bin/gcc \</tt><tt><br>
</tt><tt> -DCMAKE_Fortran_COMPILER=/share/apps/GCC485/bin/gfortran
\</tt><tt><br>
</tt><tt> -DFFMPEG_ROOT=/share/apps/paraview-5.3.0 \</tt><tt><br>
</tt><tt> -DOPENGL_INCLUDE_DIR=/share/apps/paraview-5.3.0/include
\</tt><tt><br>
</tt><tt>
-DOPENGL_gl_LIBRARY=/share/apps/paraview-5.3.0/lib/libGL.so \</tt><tt><br>
</tt><tt> ../paraview</tt><br>
<br>
<br>
<pre class="moz-signature" cols="80">--
===================================================================
| Equipe M.O.S.T. | |
| Patrick BEGOU | <a class="moz-txt-link-freetext" href="mailto:Patrick.Begou@grenoble-inp.fr">mailto:Patrick.Begou@grenoble-inp.fr</a> |
| LEGI | |
| BP 53 X | Tel 04 76 82 51 35 |
| 38041 GRENOBLE CEDEX | Fax 04 76 82 52 71 |
===================================================================
</pre>
</body>
</html>