<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. It is a specialized run-length encoding algorithm. It is described in the paper “Remote Large Data Visualization in the ParaView Framework” 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, "Jim Montine" <<a href="jmontine@sgi.com">jmontine@sgi.com</a>> 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. 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>
<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 <<a href="jmontine@sgi.com">jmontine@sgi.com</a>> wrote:<BR>
> You were correct, there was a problem with the MPI library setting.<BR>
><BR>
> I have been able to build (and run) pvserver using both openmpi and SGI's<BR>
> mpt library.<BR>
><BR>
> From what I have read, the client (which in my case is on a PC) communicates<BR>
> with the rank0<BR>
> process in the mpi group. What I want to do is have the rank0 thread run on<BR>
> the headnode of my<BR>
> cluster and have all the other pvserver ranks run on the other compute nodes<BR>
> of the cluster.<BR>
><BR>
> Is there a recommended way for doing this?<BR>
><BR>
><BR>
> Thanks<BR>
> ________________________________<BR>
> From: David E DeMarle [<a href="mailto:dave.demarle@kitware.com">mailto:dave.demarle@kitware.com</a>]<BR>
> Sent: Tue 3/3/2009 9:04 AM<BR>
> To: Jim Montine<BR>
> Cc: <a href="paraview@paraview.org">paraview@paraview.org</a><BR>
> Subject: Re: [Paraview] trouble building paraview with mpi<BR>
><BR>
> It sounds like cmake wasn't able to tell where the MPI libraries are.<BR>
> Open up ccmake, turn on the advanced options, and verify that the MPI<BR>
> INCLUDE and LIBRARY and EXTRA_LIBRARY paths are correct.<BR>
><BR>
> On Tue, Mar 3, 2009 at 11:43 AM, Jim Montine <<a href="jmontine@sgi.com">jmontine@sgi.com</a>> wrote:<BR>
>> I am attemtping to build ParaView-3.4.0. I follow the instructions on the<BR>
>> wiki and I am able to use cmake to configure and generate the makefiles.<BR>
>><BR>
>> When I run make, things go along fine until I get here:<BR>
>><BR>
>> Linking CXX executable ../../../../bin/DistributedData<BR>
>><BR>
>><BR>
>> Then I get a bunch of undefined MPI errors like:<BR>
>><BR>
>><BR>
>> /store/jmontine/projects/ParaView-bin/bin/libvtkParallel.a(vtkMPIController.o):<BR>
>> In function `vtk<BR>
>> MPIController::Finalize(int)':<BR>
>> vtkMPIController.cxx:(.text+0x878): undefined reference to `MPI_Finalize'<BR>
>><BR>
>> /store/jmontine/projects/ParaView-bin/bin/libvtkParallel.a(vtkMPIController.o):<BR>
>> In function `vtk<BR>
>> MPIController::Initialize(int*, char***, int)':<BR>
>> vtkMPIController.cxx:(.text+0x9fb): undefined reference to `MPI_Init'<BR>
>> vtkMPIController.cxx:(.text+0xa1a): undefined reference to<BR>
>> `MPI_Get_processor_name'<BR>
>><BR>
>> I have tried both hpmpi and sgi's mpi with the same result. I am using<BR>
>> gcc<BR>
>> for the compiling.<BR>
>><BR>
>> Thanks<BR>
>><BR>
>><BR>
>><BR>
>> _______________________________________________<BR>
>> Powered by www.kitware.com<BR>
>><BR>
>> Visit other Kitware open-source projects at<BR>
>> <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><BR>
>><BR>
>> Please keep messages on-topic and check the ParaView Wiki at:<BR>
>> <a href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a><BR>
>><BR>
>> Follow this link to subscribe/unsubscribe:<BR>
>> <a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><BR>
>><BR>
>><BR>
><BR>
><BR>
><BR>
> --<BR>
> David E DeMarle<BR>
> Kitware, Inc.<BR>
> R&D Engineer<BR>
> 28 Corporate Drive<BR>
> Clifton Park, NY 12065-8662<BR>
> Phone: 518-371-3971 x109<BR>
><BR>
<BR>
<BR>
<BR>
--<BR>
David E DeMarle<BR>
Kitware, Inc.<BR>
R&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>
**** Kenneth Moreland<BR>
*** Sandia National Laboratories<BR>
*********** <BR>
*** *** *** email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
** *** ** phone: (505) 844-8919<BR>
*** web: <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>