[Paraview] Bug 0006714: pvbatch requires X server
Kent Eschenberg
eschenbe at psc.edu
Mon Apr 7 22:46:27 EDT 2008
Thanks! Is certainly possible I've done something wrong. Maybe one of my options for cmake is incorrect?
Does Qt need to be pointed towards Mesa? I didn't see anything in the Qt build about it.
Kent
Berk Geveci wrote:
> Something is fishy here. We obviously ran examples both on Xt3 and
> BlueGene and generated screenshots without X. So, there is a
> difference between pvbatch compiled for those platforms and the one
> you compiled. I'll discuss this with Pat and Utkarsh tomorrow.
>
> -berk
>
> On Mon, Apr 7, 2008 at 5:35 PM, Kent Eschenberg <eschenbe at psc.edu> wrote:
>> Hi Utkarsh,
>>
>> Sorry its taken so long to try this. Summary: nothing changed - it still
>> fails exactly as before.
>>
>> You might want to take a close look at your environment when you test it.
>> When you log onto a parallel system I think you still provide a way for it
>> to reach an X server. My parallel system also has no X server but it still
>> got back to the X server of my workstation via the ssh connection which sets
>> the environment variable DISPLAY. When I ran the program I would see windows
>> appearing on the screen for a second. However, when I unset the environment
>> variable DISPLAY it crashed.
>>
>> More importantly, I tried to emulate the situation would would have in a
>> true batch environment such as we have on the XT3. There, jobs are submitted
>> with the qsub command. What is submitted is a script. qsub is not used on
>> the Linux cluster where I am testing this but I can emulate it with the "at"
>> command. Example: "at -f cut.job NOW" submits file cut.job for immediate
>> execution. That file is simple:
>>
>> mpiexec -np 2 pvbatch --use-offscreen-rendering cut.py >& cut.log
>>
>> My default environment variables LD_LIBRARY_PATH and PATH select the
>> correct version of pvbatch, i.e., the compiled from CVS with MPI. However,
>> when submitted this way, the environment variable DISPLAY is not set. The
>> above job fails with no output because of the bad X server connection.
>>
>> I've attached one of the Python scripts I've been using for testing. I
>> might not be setting something in it that is needed.
>>
>> Cheers,
>> Kent
More information about the ParaView
mailing list