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 &lt;paraview-build-dir&gt;/VTK/Rendering/vtkOpenGLExtensionManagerConfigure.h, it may reveal some defines related to GLX extension loading.&nbsp; I had to hack some cmake files to make the ExtensionManager behave without X11.&nbsp; If this turns out to be the problem, I can tell you specifically what I did.<br>
<br>Pat<br><br><div class="gmail_quote">On Thu, Apr 3, 2008 at 5:33 PM, Kent Eschenberg &lt;<a href="mailto:eschenbe@psc.edu">eschenbe@psc.edu</a>&gt; 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! 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).<br>
<br>
Both display windows. The non-mpi version doesn&#39;t crash because it finds an X server.<br>
<br>
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.<br>
<font color="#888888">
<br>
Kent</font><div><div></div><div class="Wj3C7c"><br>
<br>
Utkarsh Ayachit wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Kent,<br>
<br>
Here&#39;s a patch to enable use-offscreen-rendering. Can you verify if that helps?<br>
<br>
Utkarsh<br>
<br>
<br>
<br>
<br>
Moreland, Kenneth wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Ah. &nbsp;I didn&#39;t realize that pvbatch did not support --use-offscreen-rendering.<br>
<br>
-Ken<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
-----Original Message-----<br>
From: Kent Eschenberg [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 server<br>
<br>
Yes, and have verfied what is being used with &quot;ldd pvbatch&quot;. Note that the<br>
Wiki reference you provide is about setting up a server, not batch.<br>
<br>
pvbatch does not support the option &quot;--use-offscreen-rendering&quot; and should<br>
not need that option when the cmake option &quot;use offscreen rendering&quot; has<br>
been set.<br>
<br>
Thanks!<br>
Kent<br>
<br>
Moreland, Kenneth wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Have you linked to the OSMesa library? &nbsp;Once you do that, you should no<br>
</blockquote>
longer need an X server. &nbsp;See the Wiki.<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
</blockquote>
<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>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
-Ken<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
-----Original Message-----<br>
From: <a href="mailto:paraview-bounces@paraview.org" target="_blank">paraview-bounces@paraview.org</a> [mailto:<a href="mailto:paraview-" target="_blank">paraview-</a><br>
</blockquote></blockquote>
<a href="mailto:bounces@paraview.org" target="_blank">bounces@paraview.org</a>]<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
On Behalf Of Kent Eschenberg<br>
Sent: Thursday, April 03, 2008 9:51 AM<br>
To: ParaView<br>
Subject: [Paraview] Bug 0006714: pvbatch requires X server<br>
<br>
pvbatch cannot be run on a node unless that node has an X server. This<br>
makes it impossible to run a batch job on 99.99% of the parallel<br>
</blockquote></blockquote>
systems<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
because most nodes don&#39;t have an X server.<br>
<br>
The CVS version updated around 4/1/2008 12:10pm was used. It was linked<br>
</blockquote></blockquote>
to<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Mesa 7.0.1 and all of the GL-releated items point to Mesa. Also the<br>
</blockquote></blockquote>
&quot;use<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
offscreen rendering&quot; option was set. The CMakeCache.txt file has been<br>
uploaded.<br>
<br>
A Python program run by pvbatch works fine on one node, the one on<br>
</blockquote></blockquote>
which I<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
have logged in to the parallel system, because it has access to an X<br>
server. However, the program crashes when using more than one node<br>
</blockquote></blockquote>
because<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
the others don&#39;t have an X server.<br>
<br>
P.S. I hope I am wrong and that I have merely done something stupid.<br>
Please let me know if there is a way to make this work.<br>
<br>
Kent<br>
Pittsburgh Supercomputing Center<br>
</blockquote></blockquote></blockquote></blockquote></blockquote>
_______________________________________________<br>
ParaView mailing list<br>
<a href="mailto:ParaView@paraview.org" target="_blank">ParaView@paraview.org</a><br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</div></div></blockquote></div><br>