Didn't want to imply that compiling on XT3 requires hacked cmake files. The XT3 build works from CVS head without modifications.<br><br>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.<br>
<br>Pat<br><br><div class="gmail_quote">On Fri, Apr 4, 2008 at 1:10 PM, Kent Eschenberg <<a href="mailto:eschenbe@psc.edu">eschenbe@psc.edu</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
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.<br>
<br>
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.<br>
<br>
Kent<br>
<br>
pat marion wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="Ih2E3d">
Hi Kent,<br>
<br>
Not sure if this will help, but one area that gave me trouble when trying to compile without X11 was VTK/Rendering/vtkOpenGLExtensionManager.cxx.<br>
<br>
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.<br>
<br>
Pat<br>
<br></div><div><div></div><div class="Wj3C7c">
On Thu, Apr 3, 2008 at 5:33 PM, Kent Eschenberg <<a href="mailto:eschenbe@psc.edu" target="_blank">eschenbe@psc.edu</a> <mailto:<a href="mailto:eschenbe@psc.edu" target="_blank">eschenbe@psc.edu</a>>> wrote:<br>
<br>
Thanks! Sorry it took so long to try. The results are exactly the<br>
same in both the version using MPI (run with mpiexec -np 2 pvbatch)<br>
and the one without (run with pvbatch).<br>
<br>
Both display windows. The non-mpi version doesn't crash because it<br>
finds an X server.<br>
<br>
I know gdb and my versions have been compiled for debugging. Can you<br>
think of a key location where I could stop it and look at some<br>
variables? If we could convince the non-mpi version to refrain from<br>
looking for an X server we have probably fixed the mpi version too.<br>
<br>
Kent<br>
<br>
<br>
Utkarsh Ayachit wrote:<br>
<br>
Kent,<br>
<br>
Here's a patch to enable use-offscreen-rendering. Can you verify<br>
if that helps?<br>
<br>
Utkarsh<br>
<br>
<br>
<br>
<br>
Moreland, Kenneth wrote:<br>
<br>
Ah. I didn't realize that pvbatch did not support<br>
--use-offscreen-rendering.<br>
<br>
-Ken<br>
<br>
-----Original Message-----<br>
From: Kent Eschenberg [mailto:<a href="mailto:eschenbe@psc.edu" target="_blank">eschenbe@psc.edu</a><br>
<mailto:<a href="mailto:eschenbe@psc.edu" target="_blank">eschenbe@psc.edu</a>>]<br>
Sent: Thursday, April 03, 2008 12:45 PM<br>
To: Moreland, Kenneth<br>
Cc: ParaView<br>
Subject: Re: [Paraview] Bug 0006714: pvbatch requires X<br>
server<br>
<br>
Yes, and have verfied what is being used with "ldd<br>
pvbatch". Note that the<br>
Wiki reference you provide is about setting up a server,<br>
not batch.<br>
<br>
pvbatch does not support the option<br>
"--use-offscreen-rendering" and should<br>
not need that option when the cmake option "use<br>
offscreen rendering" has<br>
been set.<br>
<br>
Thanks!<br>
Kent<br>
<br>
Moreland, Kenneth wrote:<br>
<br>
Have you linked to the OSMesa library? Once you do<br>
that, you should no<br>
<br>
longer need an X server. See the Wiki.<br>
<br>
<br>
<a href="http://www.paraview.org/Wiki/Setting_up_a_ParaView_Server#OSMesa_support" target="_blank">http://www.paraview.org/Wiki/Setting_up_a_ParaView_Server#OSMesa_support</a><br>
<br>
-Ken<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:paraview-bounces@paraview.org" target="_blank">paraview-bounces@paraview.org</a><br>
<mailto:<a href="mailto:paraview-bounces@paraview.org" target="_blank">paraview-bounces@paraview.org</a>><br></div></div><div><div></div><div class="Wj3C7c">
[mailto:<a href="mailto:paraview-" target="_blank">paraview-</a> <mailto:<a href="mailto:paraview-" target="_blank">paraview-</a>><br>
<br>
<a href="mailto:bounces@paraview.org" target="_blank">bounces@paraview.org</a> <mailto:<a href="mailto:bounces@paraview.org" target="_blank">bounces@paraview.org</a>>]<br>
<br>
On Behalf Of Kent Eschenberg<br>
Sent: Thursday, April 03, 2008 9:51 AM<br>
To: ParaView<br>
Subject: [Paraview] Bug 0006714: pvbatch<br>
requires X server<br>
<br>
pvbatch cannot be run on a node unless that node<br>
has an X server. This<br>
makes it impossible to run a batch job on 99.99%<br>
of the parallel<br>
<br>
systems<br>
<br>
because most nodes don't have an X server.<br>
<br>
The CVS version updated around 4/1/2008 12:10pm<br>
was used. It was linked<br>
<br>
to<br>
<br>
Mesa 7.0.1 and all of the GL-releated items<br>
point to Mesa. Also the<br>
<br>
"use<br>
<br>
offscreen rendering" option was set. The<br>
CMakeCache.txt file has been<br>
uploaded.<br>
<br>
A Python program run by pvbatch works fine on<br>
one node, the one on<br>
<br>
which I<br>
<br>
have logged in to the parallel system, because<br>
it has access to an X<br>
server. However, the program crashes when using<br>
more than one node<br>
<br>
because<br>
<br>
the others don't have an X server.<br>
<br>
P.S. I hope I am wrong and that I have merely<br>
done something stupid.<br>
Please let me know if there is a way to make<br>
this work.<br>
<br>
Kent<br>
Pittsburgh Supercomputing Center<br>
<br>
_______________________________________________<br>
ParaView mailing list<br></div></div>
<a href="mailto:ParaView@paraview.org" target="_blank">ParaView@paraview.org</a> <mailto:<a href="mailto:ParaView@paraview.org" target="_blank">ParaView@paraview.org</a>><div class="Ih2E3d"><br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br>
<br>
</div></blockquote><font color="#888888">
<br>
-- <br>
Kent<br>
Pittsburgh Supercomputing Center<br>
</font></blockquote></div><br>