[Paraview] pvbatch offscreen rendering problems
Carrie E. Spear (Cont, CISD/ARL)
carrie.spear at arl.army.mil
Wed Apr 7 13:09:20 EDT 2010
Utkarsh,
When I do an ldd pvbatch appears to be using the correct libraries GL
libraries (I am building agains mesa-7.0.4, could it be that my version
of mesa is too old). I ran the following test:
bash-3.2$ echo $DISPLAY
:0.0
bash-3.2$ unset DISPLAY
bash-3.2$ echo $DISPLAY
bash-3.2$ mpirun -np 4 pvbatch --use-offscreen-rendering
testParallelRender.py
: cannot connect to X server
--------------------------------------------------------------------------
mpirun has exited due to process rank 0 with PID 4770 on
node ls08270-l.arl.army.mil exiting without calling "finalize". This may
have caused other processes in the application to be
terminated by signals sent by mpirun (as reported here).
--------------------------------------------------------------------------
When I have DISPLAY set it works perfectly.
Thanks,
Carrie
Utkarsh Ayachit wrote:
> Carrie,
>
> I just tried it with CVS ParaView and I could not reproduce it. Can
> you reproduce this when running on a single node? Try running ldd on
> pvbatch, is it getting the right OpenGL libraries?
>
> Utkarsh
>
> On Wed, Apr 7, 2010 at 9:40 AM, Utkarsh Ayachit
> <utkarsh.ayachit at kitware.com> wrote:
>
>> That sounds fishy, let me take a look. I'll get back to you.
>>
>> Utkarsh
>>
>> On Wed, Apr 7, 2010 at 8:06 AM, Carrie E. Spear (Cont, CISD/ARL)
>> <carrie.spear at arl.army.mil> wrote:
>>
>>> Good Morning,
>>>
>>> I am currently having issues with paraview-3.8.0 and paraview-3.9.0 when
>>> trying to use pvbatch and offscreen rendering. When I run with my DISPLAY
>>> variable set, I don't have any issues, when the DISPLAY variable is not set
>>> it fails with the "cannot connect to X server error". I have built paraview
>>> with the following flags to support the offscreen rendering capabilities:
>>>
>>> OPENGL_INCLUDE_DIR
>>> OPENGL_gl_LIBRARY
>>> OPENGL_glu_LIBRARY
>>> OPENGL_xmesa_INCLUDE_DIR
>>> OSMESA_INCLUDE_DIR
>>> OSMESA_LIBRARY
>>> VTK_OPENGL_HAS_OSMESA=ON
>>> VTK_USE_OFFSCREEN=ON
>>> VTK_USE_DISPLAY=OFF
>>>
>>> I have built paraview-3.6.2 with these flags and the pvbatch offscreen
>>> rendering works perfectly without the DISPLAY variable being set, the same
>>> does not work for 3.8.0 and 3.9.0. Am I missing a new flag for these
>>> packages? The mesa version I am using is 7.0.4.
>>>
>>> The pvbatch command I am running is:
>>> mpirun -np 4 pvbatch --use-offscreen-rendering testParallelRender.py
>>>
>>> Thanks in advance for your help,
>>> Carrie
>>>
>>> --
>>> Carrie Spear
>>> Software Engineer
>>> Lockheed Martin / Army DoD Supercomputing Resource Center
>>> Aberdeen Proving Ground, MD 21005
>>> Phone: 410-278-9976
>>> Email: carrie.spear at us.army.mil
>>>
>>> _______________________________________________
>>> 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
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.paraview.org/mailman/listinfo/paraview
>>>
>>>
--
Carrie Spear
Software Engineer
Lockheed Martin / Army DoD Supercomputing Resource Center
Aberdeen Proving Ground, MD 21005
Phone: 410-278-9976
Email: carrie.spear at us.army.mil
More information about the ParaView
mailing list