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<br><br><div class="gmail_quote"><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="blue" lang="EN-US">
<div>
<p><font color="maroon" face="Courier New" size="2"><span style="font-size: 10pt; 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></p>
<p><font color="maroon" face="Courier New" size="2"><span style="font-size: 10pt; color: maroon;"> </span></font></p>
<p><font color="maroon" face="Courier New" size="2"><span style="font-size: 10pt; color: maroon;">-Ken</span></font></p>
<p><font color="maroon" face="Courier New" size="2"><span style="font-size: 10pt; color: maroon;"> </span></font></p>
<div style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; border-width: medium medium medium 1.5pt; padding: 0in 0in 0in 4pt;">
<div>
<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">
<hr align="center" size="2" width="100%">
</span></font></div>
<p><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; 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><div><div></div><div class="Wj3C7c"><br>
<b><span style="font-weight: bold;">Subject:</span></b> Re: [Paraview] Client
server problems in running 3.2.1 on SVA</div></div></span></font></p>
</div><div><div></div><div class="Wj3C7c">
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">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></span></font></p>
<div>
<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><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</span></font></p>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">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</span></font></p>
<div>
<div>
<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><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>
> ><br>
<br>
</span></font></p>
</div>
</div>
</div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
</div></div></div>
</div>
</div>
</blockquote></div><br>