[Paraview] Installing Paraview with OS Mesa for off screen rendering
Ganesh Vijayakumar
ganesh.iitm at gmail.com
Thu Feb 18 12:20:01 EST 2016
Runs great. Thanks. Not sure if this means that IceT tests can't run with
Mesa. The option I turned off is this one
//Build and run the IceT tests.
ICET_BUILD_TESTING:BOOL=OFF
However, there is this other option that asks which library IceT tests
should use to "open windows"... can this happen with Mesa? Probably a noob
question.
//The name of the library the IceT tests will use to create windows for
OpenGL contexts. Supported values are GLUT and GLFW.
ICET_OPENGL_WINDOW_LIBRARY:STRING=GLUT
ganesh
On Wed, Feb 17, 2016 at 6:02 PM Ganesh Vijayakumar <ganesh.iitm at gmail.com>
wrote:
> Turned off the IceT tests using the boolean option in CMakeCache.txt.
> Seems to go through with the compilation. Not sure if this will affect what
> I use it for though. I do intend to run it in parallel using python
> scripting. Will report back.
>
> ganesh
>
> On Wed, Feb 17, 2016 at 3:31 PM Ganesh Vijayakumar <ganesh.iitm at gmail.com>
> wrote:
>
>> I still get the same problem despite setting that field to empty. The
>> problem occurs here
>>
>> [ 94%] Linking C executable ../../../../bin/icetTests_mpi_opengl
>> /usr/lib64/libGL.so.1: undefined reference to `_glapi_tls_Dispatch'
>> collect2: error: ld returned 1 exit status
>> make[2]: *** [bin/icetTests_mpi_opengl] Error 1
>> make[1]: ***
>> [ThirdParty/IceT/vtkicet/tests/CMakeFiles/icetTests_mpi_opengl.dir/all]
>> Error 2
>> make: *** [all] Error 2
>>
>> I guess the compiler is picking up that library on it's own. Any ideas on
>> what this problem is? The compilation goes all the way to 94% .. in serial
>> mode though!
>>
>> ganesh
>>
>> On Wed, Feb 17, 2016 at 12:34 PM Utkarsh Ayachit <
>> utkarsh.ayachit at kitware.com> wrote:
>>
>>> Just set libGLU to empty. If I am not mistaken, it's optional (only
>>> needed for some testing and GMV reader from VisItBridge which you can
>>> disable).
>>>
>>>
>>>
>>> On Wed, Feb 17, 2016 at 2:26 PM, Ganesh Vijayakumar
>>> <ganesh.iitm at gmail.com> wrote:
>>> > Hello,
>>> >
>>> > I'm trying to install Paraview-v5.0.0 with OS Mesa for off screen
>>> > rendering using cmake. I was following instructions from the wiki. I
>>> > installed the mesa libraries first.
>>> >
>>> > #From Paraview wiki
>>> > ./configure --disable-xvmc --disable-glx --disable-dri
>>> --with-dri-drivers=""
>>> > --with-gallium-drivers="swrast" --enable-texture-float
>>> > --disable-shared-glapi -\
>>> > -disable-egl --with-egl-platforms="" --enable-gallium-osmesa
>>> > --enable-gallium-llvm=yes --with-llvm-shared-libs
>>> >
>>> > I had issues with "-disable-shared-glapi". Then on
>>> > http://comments.gmane.org/gmane.comp.science.paraview.user/26440, I
>>> saw that
>>> > this option was removed. Now it compiles ok.
>>> >
>>> > ./configure --disable-xvmc --disable-glx --disable-dri
>>> --with-dri-drivers=
>>> > --with-gallium-drivers=swrast --enable-texture-float --disable-egl
>>> > --with-egl-plat\
>>> > forms= --enable-gallium-osmesa --enable-gallium-llvm=yes
>>> > --prefix=/storage/home/guv106/Installers/Paraview/mesa-11.1.2 &>
>>> > log.configure
>>> >
>>> > Moving on after installing a new cmake with SSL compatibility that
>>> finds the
>>> > right python etc. , I get this error now when compiling paraview
>>> >
>>> > /usr/lib64/libGL.so.1: undefined reference to `_glapi_tls_Dispatch'
>>> >
>>> > I see that the wiki asks me to use the system libGLU as
>>> > -DOPENGL_glu_LIBRARY={MESA_INSTALL_PREFIX}/lib/libGLU.[so|a] \,
>>> however,
>>> > that library on my system refers to the system libGL instead of the
>>> > libOSMesa.so I just installed. How do I get around this? I'm unable to
>>> > install libGLU from freedesktop myself because it seem to need GL. Any
>>> > ideas? Am I missing some obvious step here? Should I attach my
>>> > CMakeCache.txt?
>>> >
>>> > ganesh
>>> >
>>> > _______________________________________________
>>> > Powered by www.kitware.com
>>> >
>>> > Visit other Kitware open-source projects at
>>> > http://www.kitware.com/opensource/opensource.html
>>> >
>>> > Please keep messages on-topic and check the ParaView Wiki at:
>>> > http://paraview.org/Wiki/ParaView
>>> >
>>> > Search the list archives at: http://markmail.org/search/?q=ParaView
>>> >
>>> > Follow this link to subscribe/unsubscribe:
>>> > http://public.kitware.com/mailman/listinfo/paraview
>>> >
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160218/2dde171c/attachment.html>
More information about the ParaView
mailing list