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