<div dir="ltr">Hi Ken. Thanks for reply again.<div>I have tried this command, but the error is still the same: <span style="border-collapse:collapse">"DISPLAY is not accessible on the server side".</span></div><div>
<span class="Apple-style-span" style="border-collapse: collapse;">In the wiki, there are three things to do with X Connections:</span></div><div><span class="Apple-style-span" style="border-collapse: collapse;"><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px; "><ol style="line-height: 1.5em; margin-top: 0.3em; margin-right: 0px; margin-bottom: 0px; margin-left: 3.2em; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; list-style-image: none; ">
<li style="margin-bottom: 0.1em; ">Have xdm run on each cluster node at startup. Although xdm is almost always run at startup on workstation installations, it is not as commonplace to be run on cluster nodes. Talk to your system administrators for help in setting this up.</li>
<li style="margin-bottom: 0.1em; ">Disable all security on the X server. That is, allow any process to open a window on the x server without having to log in. Again, talk to your system administrators for help.</li><li style="margin-bottom: 0.1em; ">
Make sure each process is run with the <tt>DISPLAY</tt> environment variable set to <tt>localhost:0</tt> (or just <tt>:0</tt>).</li></ol>I have talked to system administrator about the first two things. The guy said that both are ok on the cluster, but he isn't 100 percent sure about the second thing. I try to run the glxgeasr program but it doesn't work. The error I got is "couldn't open display '(null)' "</span></span></div>
<div><span class="Apple-style-span" style="border-collapse: collapse;"><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px; ">Could the problem result from the first two configurations? What do you think?</span></span></div>
<div><span class="Apple-style-span" style="font-family: -webkit-sans-serif; line-height: 19px;"><br></span></div><div><span class="Apple-style-span" style="border-collapse: collapse;"><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px; ">Thanks,</span></span></div>
<div><span class="Apple-style-span" style="font-family: -webkit-sans-serif; line-height: 19px;"><br></span></div><div><span class="Apple-style-span" style="border-collapse: collapse;"><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px; ">Aaron<br>
</span></span>
<br><div class="gmail_quote">On Wed, Sep 10, 2008 at 1:37 PM, Moreland, Kenneth <span dir="ltr"><<a href="mailto:kmorel@sandia.gov" target="_blank">kmorel@sandia.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
It sounds like you are using the env program wrong. The env program runs a<br>
command, specified on its command line, with a modified environment, but<br>
does not modify the environment of the calling program. To use env, you<br>
need to use it within your mpirun command:<br>
<br>
mpirun -np 4 /usr/bin/env DISPLAY=localhost:0 ./pvserver<br>
<br>
-Ken<br>
<div><div></div><div><br>
<br>
On 9/10/08 11:32 AM, "Biao She" <<a href="mailto:shebiao@gmail.com" target="_blank">shebiao@gmail.com</a>> wrote:<br>
<br>
> Thanks your help again, Ken.<br>
> You figure out my problem. I indeed connect to localhost:10.0. I am a newbie<br>
> of Linux and ssh, I don't know how to connect to localhost:0.0 instead of<br>
> 10.0. After I ssh to the cluster, the DISPLAY automatically set to<br>
> localhost:10.0. I use "/usr/bin/env DISPLAY=localhost:0" command to set it<br>
> back. Then, when I try to connect to the paraview server, I get an error like<br>
> this "DISPLAY is not accessible on the server side".<br>
> I know that if I start pvserver from the cluster directly, the DISPLAY is<br>
> localhost:0, but the cluster doesn't have any keyboard and monitor.<br>
> How can I connect to localhost:0 remotely?<br>
> Thanks!<br>
><br>
> Aaron<br>
><br>
><br>
> On Wed, Sep 10, 2008 at 7:09 AM, Moreland, Kenneth <<a href="mailto:kmorel@sandia.gov" target="_blank">kmorel@sandia.gov</a>> wrote:<br>
>> First, let me just say that you should not expect the parallel rendering of<br>
>> such a small data set to be faster than just rendering it locally. The<br>
>> parallel rendering has a constant overhead involving the readback of pixels,<br>
>> the transfer of data, and the computation of compositing operations.<br>
>><br>
>> That said, based on the error it looks like your DISPLAY environment is set<br>
>> wrong. You should be connecting to localhost:0.0, not localhost:10.0. You<br>
>> are probably forwarding all of your rendering commands back to the desktop<br>
>> you logged in from though ssh forwarding. That, of course, will really slow<br>
>> things down because all the rendering commands are being shoved through the<br>
>> network and all are being processed on a single machine.<br>
>><br>
>> Make sure that you are actually rendering to the local GPU. See the<br>
>> ParaView Wiki for more advice.<br>
>><br>
>> <a href="http://www.paraview.org/Wiki/Setting_up_a_ParaView_Server" target="_blank">http://www.paraview.org/Wiki/Setting_up_a_ParaView_Server</a><br>
>><br>
>> -Ken<br>
>><br>
>><br>
>> On 9/9/08 4:24 PM, "Biao She" <<a href="mailto:shebiao@gmail.com" target="_blank">shebiao@gmail.com</a>> wrote:<br>
>><br>
>>>> Hi there.<br>
>>>> I use the client/server mode of paraview to render a small data(about 4M),<br>
>>>> >> but<br>
>>>> the speed is very slow.<br>
>>>> Below is how I do it:<br>
>>>> I first ssh to the cluster and start the pvserver by this command: mpirun<br>
>>>> >> -np<br>
>>>> 4 ./pvserver. The cluster is SGI Altix 4000. The operating system on the<br>
>>>> cluster is SUSe linux, 64 bits system.<br>
>>>> Then, I launch the paraview client on my local windows computer. After the<br>
>>>> client connected to the server, there are two types of errors:<br>
>>>> 1. Xlib: extension "XFree86-DRI" missing on display "localhost:10.0"<br>
>>>> 2. unaligned access to 0x600000000197a1bc, ip=0x2000000003568e0<br>
>>>> Paraview works regardless of these errors, but the problem is that the<br>
>>>> rendering speed is way too slow.<br>
>>>> I am wondering what could cause the slow down? Maybe the paraview doesn't<br>
>>>> >> use<br>
>>>> GPU on the clusters at all? How could I tell if the paraveiw use GPU or<br>
>>> not?<br>
>>>> Or the unaligned access slow down the speed? These errors keep on repeating<br>
>>>> whenever I change the viewplane.<br>
>>>> I have stalled by this problem for days, any idea would be highly<br>
>>> appreciated.<br>
>>>><br>
>>>> Thanks!<br>
>>>><br>
>>>> Aaron<br>
>>>><br>
>>>><br>
>>>><br>
>><br>
><br>
<br></div></div></blockquote></div><br>
</div></div>