[Paraview] pvbatch offscreen rendering problems

Carrie E. Spear (Cont, CISD/ARL) carrie.spear at arl.army.mil
Wed Apr 7 08:06:52 EDT 2010


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



More information about the ParaView mailing list