<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Courier New";
        color:maroon;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=maroon face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:maroon'>What happens
when you run glxgears in an mpi job?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=maroon face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:maroon'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=maroon face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:maroon'>&nbsp; mpirun &#8211;np 2 &#8211;hostlist
&#8220;sva11 sva12&#8221; /bin/env DISPLAY=:0 glxgears<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=maroon face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:maroon'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=maroon face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:maroon'>-Ken<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=maroon face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:maroon'><o:p>&nbsp;</o:p></span></font></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> paraview-bounces+kmorel=sandia.gov@paraview.org
[mailto:paraview-bounces+kmorel=sandia.gov@paraview.org] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Manjunath Sripadarao<br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, January 03, 2008
10:13 PM<br>
<b><span style='font-weight:bold'>To:</span></b> paraview@paraview.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [Paraview] Client
server problems in running 3.2.1 on SVA</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>Hi Ken,<br>
&nbsp;Yeah I am using -np 2, that was a typo. I am using HPMPI, HPs
implementation of MPI. <br>
<br>
Thanks,<br>
Manju<o:p></o:p></span></font></p>

<div>

<blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;
margin-left:4.8pt;margin-right:0in'>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div link=blue vlink=blue>

<div>

<p><font size=2 color=maroon face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New";color:maroon'>Shouldn't you be using &#8211;np 2 instead of
&#8211;n2.&nbsp; I don't see where you specified your MPI implementation, but I have
never used &#8211;n# in liu of &#8211;np #.</span></font><o:p></o:p></p>

<p><font size=2 color=maroon face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New";color:maroon'>&nbsp;</span></font><o:p></o:p></p>

<p><font size=2 color=maroon face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New";color:maroon'>-Ken</span></font><o:p></o:p></p>

<p><font size=2 color=maroon face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New";color:maroon'>&nbsp;</span></font><o:p></o:p></p>

<div style='border:none;border-left:solid windowtext 1.5pt;padding:0in 0in 0in 4.0pt;
border-color:-moz-use-text-color -moz-use-text-color -moz-use-text-color blue'>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center>

</span></font></div>

<p><b><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;
font-weight:bold'>From:</span></font></b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'> paraview-bounces+kmorel=<a
href="mailto:sandia.gov@paraview.org" target="_blank">sandia.gov@paraview.org</a>
[mailto:<a href="mailto:paraview-bounces+kmorel=sandia.gov@paraview.org"
target="_blank">paraview-bounces+kmorel=sandia.gov@paraview.org</a>] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Manjunath Sripadarao <br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, January 03, 2008
8:08 AM<br>
<b><span style='font-weight:bold'>To:</span></b> <a
href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><o:p></o:p></span></font></p>

<div>

<div>

<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'><br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [Paraview] Client
server problems in running 3.2.1 on SVA<o:p></o:p></span></font></p>

</div>

</div>

</div>

<div>

<div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>Hi Ken,<br>
&nbsp;Thanks for the clarification. I think a little more information is needed
as I am<br>
running into some problem that I can't seem to resolve.<br>
<br>
I am using 3 machines of my cluster all three are connected to 3 displays. I
want <br>
use 2 of them as multi-tile display with 2 tiles. I have the Paraview GUI on
the <br>
third machine. All three have X servers running and are MPI enabled. So here<br>
is how I launch the jobs on the machines.<br>
<br>
$ mpirun -n2 -hostlist &quot;sva11 sva12&quot; /bin/env DISPLAY=:0 pvserver
-tdx=2 -tdy=1 <br>
<br>
and I launch the client <br>
<br>
$ paraview<br>
<br>
and then connect to sva11.<br>
<br>
My servers.pvsc looks like<br>
<br>
&lt;Servers&gt;<br>
&nbsp; &lt;Server name=&quot;builtin&quot; resource=&quot;builtin:&quot;&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;ManualStartup/&gt;<br>
&nbsp; &lt;/Server&gt;<br>
&nbsp; &lt;Server name=&quot;fw-sva10&quot;
resource=&quot;cs://sva10:11111&quot;&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;ManualStartup/&gt;<br>
&nbsp; &lt;/Server&gt;<br>
&nbsp; &lt;Server name=&quot;fw-sva11&quot;
resource=&quot;cs://sva11:11111&quot;&gt; <br>
&nbsp;&nbsp;&nbsp; &lt;ManualStartup/&gt;<br>
&nbsp; &lt;/Server&gt;<br>
&nbsp; &lt;Server name=&quot;fw-sva12&quot; resource=&quot;cs://sva12:11111&quot;&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;ManualStartup/&gt;<br>
&nbsp; &lt;/Server&gt;<br>
&lt;Server&gt;<o:p></o:p></span></font></p>

<div>

<p style='margin-bottom:12.0pt'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><br>
But the window multi-tile window appears only on sva11 and it doesn't<br>
span the whole screen (which it used to do previously). And it doesn't seem<br>
like sva12 is even doing anything. I suspect this because sva11 flickers <br>
when the client connects, but sva12 remains as it is.<br>
<br>
If I do the reverse and connect the client to sva12, then model window appears<br>
on sva12 and sva11 seems to do nothing.<br>
<br>
Is there anything I am missing ? <br>
I am using Paraview 3.2.1.<br>
<br>
Thanks,<br>
Manju<o:p></o:p></span></font></p>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>What you
are trying to do does not work because ParaView is not supposed<br>
to run like that. When running in client/server mode, ParaView connects<br>
to process 0 of the server, and nothing else. All communication with the <br>
client goes through process 0, and process 0 of the server uses the MPI<br>
interconnect to pass data to and from the other nodes in the server.<br>
<br>
ParaView is implemented in this way for convenience and scalability. It <br>
is not scalable to have every process in the server to connect to the<br>
client because all communication will eventually have to go through the<br>
same network interface on the client side. Also, the MPI interconnect on <br>
the server is almost always faster than the socket communication between<br>
client and server.<br>
<br>
-Ken<o:p></o:p></span></font></p>

<div>

<div>

<p style='margin-bottom:12.0pt'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><br>
&gt; -----Original Message-----<br>
&gt; From: Manjunath Sripadarao [mailto: <a href="mailto:manjunaths@gmail.com"
target="_blank">manjunaths@gmail.com</a>]<br>
&gt; Sent: Tuesday, December 18, 2007 11:05 PM<br>
&gt; To: Moreland, Kenneth<br>
&gt; Subject: Re: [Paraview] Client server problems in running 3.2.1 on SVA <br>
&gt;<br>
&gt; Hi Kenneth,<br>
&gt; &nbsp;Thanks for the reply.<br>
&gt;<br>
&gt; &gt; Problem 1: Do not use mpirun with the paraview executable. &nbsp;The<br>
ParaView<br>
&gt; &gt; client is a serial application and should not be launched with <br>
mpirun.<br>
&gt;<br>
&gt; Ah...ok. I did launch paraview with using mpirun.<br>
&gt;<br>
&gt; &gt; Problem 2: Only launch the server with one mpirun command. &nbsp;Use
the<br>
-np<br>
&gt; &gt; argument to mpirun to specify how many processes you want the server <br>
to<br>
&gt; &gt; run in (in your case, probably 2). &nbsp;If your MPI environment it
set<br>
up<br>
&gt; &gt; right, mpirun will automatically launch it on n2 and n3. &nbsp;If
not,<br>
either<br>
&gt; &gt; change your MPI configuration or provide a machines file to mpirun <br>
to<br>
&gt; &gt; specify on which hosts to run on. &nbsp;The instructions for doing
that<br>
vary<br>
&gt; &gt; based on MPI implementations and installations. &nbsp;Talk to your
system<br>
&gt; &gt; administrators for more information. <br>
&gt;<br>
&gt; I did this too, I am using a machines file for this (which we call an<br>
app<br>
&gt; file<br>
&gt; but all the same). But how do you get the client to &quot;listen&quot; to
2 or<br>
&gt; more servers ?<br>
&gt; Even though I start 2 or 3 servers, if I can't get the client to <br>
listen<br>
&gt; to multiple servers then it won't connect to all of them. If I use the<br>
&gt; -s option multiple times it only connects to the last one i.e.,<br>
&gt; if I give<br>
&gt; $ paraview -s=n2 -s=n3<br>
&gt; only n3 pvserver gets connected and n2 pvserver quits. <br>
&gt;<br>
&gt; If I write a servers.pvsc file with a list of servers, how do I get<br>
&gt; paraview pick the file automatically and connect to all the servers ?<br>
&gt;<br>
&gt; Thanks in advance,<br>
&gt; Manju<br>
&gt;<br>
&gt; &gt; -Ken<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; -----Original Message-----<br>
&gt; &gt; &gt; From: paraview-bounces+kmorel=<a
href="mailto:sandia.gov@paraview.org" target="_blank">sandia.gov@paraview.org</a><br>
&gt; &gt; [mailto: <a href="mailto:paraview-" target="_blank">paraview-</a><br>
&gt; &gt; &gt; bounces+kmorel=<a href="mailto:sandia.gov@paraview.org"
target="_blank">sandia.gov@paraview.org</a>] On Behalf Of Manjunath<br>
&gt; &gt; Sripadarao <br>
&gt; &gt; &gt; Sent: Monday, December 17, 2007 11:00 PM <br>
&gt; &gt; &gt; To: <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br>
&gt; &gt; &gt; Subject: [Paraview] Client server problems in running 3.2.1 on
SVA<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Hello, <br>
&gt; &gt; &gt; &nbsp;I am trying to run Paraview 3.2.1 in client server mode.
So here<br>
is<br>
&gt; &gt; &gt; my setup, I have a cluster<br>
&gt; &gt; &gt; of workstations n[1-3]. I launch the client on n1 and reverse<br>
connect<br>
&gt; &gt; &gt; to my servers on n2 and n3. <br>
&gt; &gt; &gt; I am running the client like this<br>
&gt; &gt; &gt; $[n1] mpirun &lt;...other MPI options...&gt; paraview -s=n2
-s=n3<br>
&gt; &gt; &gt; and server like this<br>
&gt; &gt; &gt; $[n2] mpirun &lt;...other MPI options...&gt; pvserver -rc <br>
--client-host=n1<br>
&gt; &gt; &gt; -tdx=2 -tdy=1<br>
&gt; &gt; &gt; and<br>
&gt; &gt; &gt; $[n3] mpirun &lt;...other MPI options...&gt; pvserver -rc<br>
--client-host=n1<br>
&gt; &gt; &gt; -tdx=2 -tdy=1<br>
&gt; &gt; &gt; but paraview connects only to n3 but not to n2. <br>
&gt; &gt; &gt; I figured out from the list and corresponding with Weiguang that<br>
by<br>
&gt; &gt; &gt; creating a<br>
&gt; &gt; &gt; servers.pvsc file in .config/ParaView/servers.pvsc and adding<br>
&gt; &gt; &gt; &lt;Servers&gt; <br>
&gt; &gt; &gt; &nbsp; &lt;Server name=&quot;builtin&quot;
resource=&quot;builtin:&quot;&gt;<br>
&gt; &gt; &gt; &nbsp; &nbsp; &lt;ManualStartup/&gt;<br>
&gt; &gt; &gt; &nbsp; &lt;/Server&gt;<br>
&gt; &gt; &gt; &nbsp; &lt;Server name=&quot;n2&quot;
resource=&quot;csrc://n2:11111&quot;&gt; <br>
&gt; &gt; &gt; &nbsp; &nbsp; &lt;ManualStartup/&gt;<br>
&gt; &gt; &gt; &nbsp; &lt;/Server&gt;<br>
&gt; &gt; &gt; &nbsp; &lt;Server name=&quot;n3&quot;
resource=&quot;csrc://n3:11111&quot;&gt;<br>
&gt; &gt; &gt; &nbsp; &nbsp; &lt;ManualStartup/&gt;<br>
&gt; &gt; &gt; &nbsp; &lt;/Server&gt;<br>
&gt; &gt; &gt; &lt;/Servers&gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; I can't get the client to connect, when I remove the<br>
&gt; &gt; &gt; --server=&lt;nodename&gt; line on the client, it does not <br>
&gt; &gt; &gt; read the above file and does not connect. I have to manually say<br>
&gt; &gt; &gt; file-&gt;connect and connect to a selected<br>
&gt; &gt; &gt; server, but once I connect to one of them, it drops the
connection <br>
&gt; &gt; &gt; another server. Has the ability to<br>
&gt; &gt; &gt; connect to multiple servers been disabled in 3.2.1 ?<br>
&gt; &gt; &gt; I want to run one client and multiple servers to have a<br>
multi-tiled<br>
&gt; &gt; &gt; display. <br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Regards,<br>
&gt; &gt; &gt; Manju<br>
&gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; ParaView mailing list<br>
&gt; &gt; &gt; <a href="mailto:ParaView@paraview.org" target="_blank">ParaView@paraview.org</a><br>
&gt; &gt; &gt; <a href="http://www.paraview.org/mailman/listinfo/paraview"
target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<o:p></o:p></span></font></p>

</div>

</div>

</div>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

</div>

</div>

</div>

</div>

</blockquote>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</div>

</body>

</html>