[Paraview] Bug 0006714: pvbatch requires X server

pat marion pat.marion at kitware.com
Fri Apr 4 13:41:13 EDT 2008


Didn't want to imply that compiling on XT3 requires hacked cmake files.  The
XT3 build works from CVS head without modifications.

My issue was when X11 libs were found by cmake, but I wanted to compile
without them.  This wasn't a problem on XT3 because X11 isn't found at all.

Pat

On Fri, Apr 4, 2008 at 1:10 PM, Kent Eschenberg <eschenbe at psc.edu> wrote:

> Thanks! The only reason I haven't tried it yet is that I have to finish
> this paper for this summer's TeraGrid conference. I'm saying a lot of good
> things about ParaView and mention the upcoming paper on the XT3 port. Maybe
> Monday.
>
> Its great that this has already been resolved on the XT3 since that is the
> destination for this batch script as soon as I get it to run at least once
> on our Linux cluster.
>
> Kent
>
> pat marion wrote:
>
> > Hi Kent,
> >
> > Not sure if this will help, but one area that gave me trouble when
> > trying to compile without X11 was
> > VTK/Rendering/vtkOpenGLExtensionManager.cxx.
> >
> > Check out the file
> > <paraview-build-dir>/VTK/Rendering/vtkOpenGLExtensionManagerConfigure.h, it
> > may reveal some defines related to GLX extension loading.  I had to hack
> > some cmake files to make the ExtensionManager behave without X11.  If this
> > turns out to be the problem, I can tell you specifically what I did.
> >
> > Pat
> >
> > On Thu, Apr 3, 2008 at 5:33 PM, Kent Eschenberg <eschenbe at psc.edu<mailto:
> > eschenbe at psc.edu>> wrote:
> >
> >    Thanks! Sorry it took so long to try. The results are exactly the
> >    same in both the version using MPI (run with mpiexec -np 2 pvbatch)
> >    and the one without (run with pvbatch).
> >
> >    Both display windows. The non-mpi version doesn't crash because it
> >    finds an X server.
> >
> >    I know gdb and my versions have been compiled for debugging. Can you
> >    think of a key location where I could stop it and look at some
> >    variables? If we could convince the non-mpi version to refrain from
> >    looking for an X server we have probably fixed the mpi version too.
> >
> >    Kent
> >
> >
> >    Utkarsh Ayachit wrote:
> >
> >        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
> >                <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>
> >                        [mailto:paraview- <mailto:paraview->
> >
> >                bounces at paraview.org <mailto: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 <mailto:ParaView at paraview.org>
> >    http://www.paraview.org/mailman/listinfo/paraview
> >
> >
> >
> --
> Kent
> Pittsburgh Supercomputing Center
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20080404/797ff102/attachment-0001.htm>


More information about the ParaView mailing list