[Paraview] Bug 0006714: pvbatch requires X server

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Thu Apr 3 15:06:59 EDT 2008


Kent,

Here's a patch to enable use-offscreen-rendering. Can you verify if that 
helps?

Utkarsh




Moreland, Kenneth wrote:
> Ah.  I didn't realize that pvbatch did not support --use-offscreen-rendering.
> 
> -Ken
> 
>> -----Original Message-----
>> From: Kent Eschenberg [mailto:eschenbe at psc.edu]
>> Sent: Thursday, April 03, 2008 12:45 PM
>> To: Moreland, Kenneth
>> Cc: ParaView
>> Subject: Re: [Paraview] Bug 0006714: pvbatch requires X server
>>
>> Yes, and have verfied what is being used with "ldd pvbatch". Note that the
>> Wiki reference you provide is about setting up a server, not batch.
>>
>> pvbatch does not support the option "--use-offscreen-rendering" and should
>> not need that option when the cmake option "use offscreen rendering" has
>> been set.
>>
>> Thanks!
>> Kent
>>
>> Moreland, Kenneth wrote:
>>> Have you linked to the OSMesa library?  Once you do that, you should no
>> longer need an X server.  See the Wiki.
>>>
>> http://www.paraview.org/Wiki/Setting_up_a_ParaView_Server#OSMesa_support
>>> -Ken
>>>
>>>> -----Original Message-----
>>>> From: paraview-bounces at paraview.org [mailto:paraview-
>> bounces at paraview.org]
>>>> On Behalf Of Kent Eschenberg
>>>> Sent: Thursday, April 03, 2008 9:51 AM
>>>> To: ParaView
>>>> Subject: [Paraview] Bug 0006714: pvbatch requires X server
>>>>
>>>> pvbatch cannot be run on a node unless that node has an X server. This
>>>> makes it impossible to run a batch job on 99.99% of the parallel
>> systems
>>>> because most nodes don't have an X server.
>>>>
>>>> The CVS version updated around 4/1/2008 12:10pm was used. It was linked
>> to
>>>> Mesa 7.0.1 and all of the GL-releated items point to Mesa. Also the
>> "use
>>>> offscreen rendering" option was set. The CMakeCache.txt file has been
>>>> uploaded.
>>>>
>>>> A Python program run by pvbatch works fine on one node, the one on
>> which I
>>>> have logged in to the parallel system, because it has access to an X
>>>> server. However, the program crashes when using more than one node
>> because
>>>> the others don't have an X server.
>>>>
>>>> P.S. I hope I am wrong and that I have merely done something stupid.
>>>> Please let me know if there is a way to make this work.
>>>>
>>>> Kent
>>>> Pittsburgh Supercomputing Center
> 
> 
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: offscreen.patch
Type: text/x-patch
Size: 1035 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20080403/db440e66/attachment.bin>


More information about the ParaView mailing list