<HTML>
<HEAD>
<TITLE>Re: [Paraview] trouble building paraview with mpi</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Rank 0 does just as much work as the other ranks.<BR>
<BR>
A compression algorithm called SQUIRT is used to transmit images to the client. &nbsp;It is a specialized run-length encoding algorithm. &nbsp;It is described in the paper &#8220;Remote Large Data Visualization in the ParaView Framework&#8221; that you can get from this link: <a href="http://www.cs.unm.edu/~kmorel/documents/EGPGV2006Paper.html">http://www.cs.unm.edu/~kmorel/documents/EGPGV2006Paper.html</a><BR>
<BR>
-Ken<BR>
<BR>
<BR>
On 3/4/09 2:42 PM, &quot;Jim Montine&quot; &lt;<a href="jmontine@sgi.com">jmontine@sgi.com</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><SPAN STYLE='font-size:11pt'><FONT FACE="Arial">I forgot to ask the last time:<BR>
</FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"> <BR>
</FONT><FONT FACE="Arial">1. Does rank 0 do just as much work as the other ranks when it comes to computation or<BR>
does rank 0 worry mostly about coordinating things with the client and the other ranks do <BR>
most of the computation.<BR>
</FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"> <BR>
</FONT><FONT FACE="Arial">2. &nbsp;When remote rendering is enabled, what (if any ) compression is used when transmitting<BR>
images to the client.<BR>
</FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"> <BR>
&nbsp;<BR>
</FONT><FONT FACE="Arial">Thanks<BR>
</FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="100%"></FONT><FONT FACE="Tahoma, Verdana, Helvetica, Arial"><B>From:</B> David E DeMarle [<a href="mailto:dave.demarle@kitware.com">mailto:dave.demarle@kitware.com</a>]<BR>
<B>Sent:</B> Wed 3/4/2009 10:46 AM<BR>
<B>To:</B> Jim Montine<BR>
<B>Cc:</B> <a href="paraview@paraview.org">paraview@paraview.org</a><BR>
<B>Subject:</B> Re: [Paraview] trouble building paraview with mpi<BR>
</FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><BR>
I think the specifics of configuring that varies dependent on the mpi library.<BR>
<BR>
With some it is as simple as giving the name of the machines in the<BR>
right order as arguments on the command line to mpirun, with others it<BR>
involves making a hosts file where the first entry in the file is the<BR>
hostname that you want to be the rank 0 node and the rest are the<BR>
others, and I'm sure others make it much more complicated.<BR>
<BR>
You should be able to test it out with a small mpi hello world from<BR>
uname, program, and once you get that working try it out with<BR>
pvserver.<BR>
<BR>
On Wed, Mar 4, 2009 at 1:34 PM, Jim Montine &lt;<a href="jmontine@sgi.com">jmontine@sgi.com</a>&gt; wrote:<BR>
&gt; You were correct, there was a problem with the MPI library setting.<BR>
&gt;<BR>
&gt; I have been able to build (and run) pvserver using both openmpi and SGI's<BR>
&gt; mpt library.<BR>
&gt;<BR>
&gt; From what I have read, the client (which in my case is on a PC) communicates<BR>
&gt; with the rank0<BR>
&gt; process in the mpi group. &nbsp;What I want to do is have the rank0 thread run on<BR>
&gt; the headnode of my<BR>
&gt; cluster and have all the other pvserver ranks run on the other compute nodes<BR>
&gt; of the cluster.<BR>
&gt;<BR>
&gt; Is there a recommended way for doing this?<BR>
&gt;<BR>
&gt;<BR>
&gt; Thanks<BR>
&gt; ________________________________<BR>
&gt; From: David E DeMarle [<a href="mailto:dave.demarle@kitware.com">mailto:dave.demarle@kitware.com</a>]<BR>
&gt; Sent: Tue 3/3/2009 9:04 AM<BR>
&gt; To: Jim Montine<BR>
&gt; Cc: <a href="paraview@paraview.org">paraview@paraview.org</a><BR>
&gt; Subject: Re: [Paraview] trouble building paraview with mpi<BR>
&gt;<BR>
&gt; It sounds like cmake wasn't able to tell where the MPI libraries are.<BR>
&gt; Open up ccmake, turn on the advanced options, and verify that the MPI<BR>
&gt; INCLUDE and LIBRARY and EXTRA_LIBRARY paths are correct.<BR>
&gt;<BR>
&gt; On Tue, Mar 3, 2009 at 11:43 AM, Jim Montine &lt;<a href="jmontine@sgi.com">jmontine@sgi.com</a>&gt; wrote:<BR>
&gt;&gt; I am attemtping to build ParaView-3.4.0. &nbsp;I follow the instructions on the<BR>
&gt;&gt; wiki and I am able to use cmake to configure and generate the makefiles.<BR>
&gt;&gt;<BR>
&gt;&gt; When I run make, things go along fine until I get here:<BR>
&gt;&gt;<BR>
&gt;&gt; Linking CXX executable ../../../../bin/DistributedData<BR>
&gt;&gt;<BR>
&gt;&gt;<BR>
&gt;&gt; Then I get a bunch of undefined MPI errors like:<BR>
&gt;&gt;<BR>
&gt;&gt;<BR>
&gt;&gt; /store/jmontine/projects/ParaView-bin/bin/libvtkParallel.a(vtkMPIController.o):<BR>
&gt;&gt; In function `vtk<BR>
&gt;&gt; MPIController::Finalize(int)':<BR>
&gt;&gt; vtkMPIController.cxx:(.text+0x878): undefined reference to `MPI_Finalize'<BR>
&gt;&gt;<BR>
&gt;&gt; /store/jmontine/projects/ParaView-bin/bin/libvtkParallel.a(vtkMPIController.o):<BR>
&gt;&gt; In function `vtk<BR>
&gt;&gt; MPIController::Initialize(int*, char***, int)':<BR>
&gt;&gt; vtkMPIController.cxx:(.text+0x9fb): undefined reference to `MPI_Init'<BR>
&gt;&gt; vtkMPIController.cxx:(.text+0xa1a): undefined reference to<BR>
&gt;&gt; `MPI_Get_processor_name'<BR>
&gt;&gt;<BR>
&gt;&gt; I have tried both hpmpi and sgi's mpi with the same result. &nbsp;I am using<BR>
&gt;&gt; gcc<BR>
&gt;&gt; for the compiling.<BR>
&gt;&gt;<BR>
&gt;&gt; Thanks<BR>
&gt;&gt;<BR>
&gt;&gt;<BR>
&gt;&gt;<BR>
&gt;&gt; _______________________________________________<BR>
&gt;&gt; Powered by www.kitware.com<BR>
&gt;&gt;<BR>
&gt;&gt; Visit other Kitware open-source projects at<BR>
&gt;&gt; <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><BR>
&gt;&gt;<BR>
&gt;&gt; Please keep messages on-topic and check the ParaView Wiki at:<BR>
&gt;&gt; <a href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a><BR>
&gt;&gt;<BR>
&gt;&gt; Follow this link to subscribe/unsubscribe:<BR>
&gt;&gt; <a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><BR>
&gt;&gt;<BR>
&gt;&gt;<BR>
&gt;<BR>
&gt;<BR>
&gt;<BR>
&gt; --<BR>
&gt; David E DeMarle<BR>
&gt; Kitware, Inc.<BR>
&gt; R&amp;D Engineer<BR>
&gt; 28 Corporate Drive<BR>
&gt; Clifton Park, NY 12065-8662<BR>
&gt; Phone: 518-371-3971 x109<BR>
&gt;<BR>
<BR>
<BR>
<BR>
--<BR>
David E DeMarle<BR>
Kitware, Inc.<BR>
R&amp;D Engineer<BR>
28 Corporate Drive<BR>
Clifton Park, NY 12065-8662<BR>
Phone: 518-371-3971 x109<BR>
<BR>
</FONT></SPAN></BLOCKQUOTE><SPAN STYLE='font-size:11pt'><FONT FACE="Calibri, Verdana, Helvetica, Arial"><BR>
</FONT></SPAN><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'><BR>
&nbsp;&nbsp;&nbsp;**** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Kenneth Moreland<BR>
&nbsp;&nbsp;&nbsp;&nbsp;*** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sandia National Laboratories<BR>
*********** &nbsp;<BR>
*** *** *** &nbsp;email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
** &nbsp;*** &nbsp;** &nbsp;phone: (505) 844-8919<BR>
&nbsp;&nbsp;&nbsp;&nbsp;*** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;web: &nbsp;&nbsp;<a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a><BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT>
</BODY>
</HTML>