<br><font size=2 face="sans-serif">I'm using Paraview 2.6, and here are
the configuration options for compilers and mpi. &nbsp;If you want to see
more of my configuration, let me know. &nbsp;I spent quite awhile messing
around with these, especially to get distcc workking (our cluster contains
lots of 7 year old nodes... only together do they actually have notable
computing power, and compiling on one node would've taken forever). One
important thing was that this did NOT compile correctly with the new gcc
that we have (gcc-4.2 I believe) so we used the older one.</font>
<br>
<br><font size=2 face="sans-serif">//C compiler.</font>
<br><font size=2 face="sans-serif">CMAKE_C_COMPILER:FILEPATH=/usr/lib/distcc/bin/gcc-3.4</font>
<br><font size=2 face="sans-serif">[ which is linked to the normal distcc,
with the &quot;gcc-3.4&quot; binary in our PATH ]</font>
<br>
<br><font size=2 face="sans-serif">//CXX compiler.</font>
<br><font size=2 face="sans-serif">CMAKE_CXX_COMPILER:FILEPATH=/usr/lib/distcc/bin/g++-3.4</font>
<br><font size=2 face="sans-serif">[ which is linked to the normal distcc,
with the &quot;g++-3.4&quot; binary in our PATH ]</font>
<br>
<br><font size=2 face="sans-serif">//If a second mpi library is necessary,
specify it here.</font>
<br><font size=2 face="sans-serif">MPI_EXTRA_LIBRARY:FILEPATH=/usr/lib/libmpi++.so</font>
<br><font size=2 face="sans-serif">//Path to a file.</font>
<br><font size=2 face="sans-serif">MPI_INCLUDE_PATH:PATH=/usr/local/mpich/1.2.5.2/gnu/include</font>
<br><font size=2 face="sans-serif">//Path to a library.</font>
<br><font size=2 face="sans-serif">MPI_LIBRARY:FILEPATH=/usr/lib/libmpi.so</font>
<br><font size=2 face="sans-serif">[ CMake figured these out on its own.
We compiled and installed our own mpich, not (mpich-)mpd. ]</font>
<br>
<br><font size=2 face="sans-serif">Hope this helps,</font>
<br><font size=2 face="sans-serif">~Kyle</font>
<br><font size=2><tt><br>
&gt; Message: 3<br>
&gt; Date: Fri, 22 Jun 2007 12:31:01 -0400<br>
&gt; From: &quot;Robert Maynard&quot; &lt;thorin.hax@gmail.com&gt;<br>
&gt; Subject: Re: [Paraview] Lam mpi + paraview<br>
&gt; To: paraview@paraview.org<br>
&gt; Message-ID:<br>
&gt; &nbsp; &nbsp;&lt;b45d6a1e0706220931n2ab240cdh1ccfa63a92ecb5e9@mail.gmail.com&gt;<br>
&gt; Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
&gt; <br>
&gt; My first attempt at getting MPI working with paraview was by using
the<br>
&gt; default compiler and setting the MPI_INCLUDE_PATH and MPI_LIBRARY
paths. The<br>
&gt; problem I was running into was that I was getting underfined references
when<br>
&gt; linking the mpi libraries. The solution that Lam recommended was to
use<br>
&gt; their compiler to solve the library problems. If somebody could send
me<br>
&gt; their MPI_INCLUDE_PATH and MPI_LIBRARY configurations it would help
me out<br>
&gt; alot.<br>
&gt; <br>
&gt; On 6/22/07, David E DeMarle &lt;dave.demarle@kitware.com&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt; That is odd.<br>
&gt; &gt;<br>
&gt; &gt; I have a feeling that lam's mpicc brings in or leaves out something<br>
&gt; &gt; important in the compilation and linking, especially when it
compiles the<br>
&gt; &gt; non parallel paraview app. When compiling against MPICH for example
we don't<br>
&gt; &gt; use MPICH's mpicc. But instead use normal cc and link in the
extra<br>
&gt; &gt; libraries. Instead of setting the compiler directly, have you
tried just<br>
&gt; &gt; turning on PARAVIEW_USE_MPI and then setting the MPI_INCLUDE_PATH
and<br>
&gt; &gt; MPI_LIBRARY instead?<br>
&gt; &gt;<br>
&gt; &gt; cheers<br>
&gt; &gt; Dave<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; On 6/22/07, Robert Maynard &lt;thorin.hax@gmail.com&gt; wrote:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; the backtrace seems really short to me, I did compile paraview
with the<br>
&gt; &gt; &gt; Debug flag.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Program received signal SIGFPE, Arithmetic exception.<br>
&gt; &gt; &gt; 0x03d79ac6 in ?? ()<br>
&gt; &gt; &gt; (gdb) backtrace<br>
&gt; &gt; &gt; #0 &nbsp;0x03d79ac6 in ?? ()<br>
&gt; &gt; &gt; #1 &nbsp;0x00000000 in ?? ()<br>
&gt; &gt; &gt; (gdb)<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; On 6/22/07, David E DeMarle &lt; dave.demarle@kitware.com&gt;
wrote:<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; I was thinking of a stack dump not a system call trace.
In gdb after<br>
&gt; &gt; &gt; &gt; the crash type backtrace and send that output to the
list.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Thanks Robert.<br>
&gt; &gt; &gt; &gt; Dave<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; On 6/22/07, Robert Maynard &lt;thorin.hax@gmail.com&gt;
wrote:<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; Sure I have attached the strace output<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; On 6/22/07, David E DeMarle &lt; dave.demarle@kitware.com&gt;
wrote:<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; Can you send a stack trace for the floating
point exception?<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; On 6/22/07, Robert Maynard &lt;thorin.hax@gmail.com
&gt; wrote:<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; Yes i understand I have to link to the
server in MPI now, but as<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; my first email stated, by I trying running
the client <br>
&gt; now that I compiled<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; mpi support in, I get a runtime floating
point exception<br>
&gt; before paraview<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; launches.<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; On 6/22/07, David E DeMarle &lt;dave.demarle@kitware.com
&gt; wrote:<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; In 3.0 the paraview executable
is not MPI parallel, only the<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; server executables are.<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; That is, you can no longer run
&quot;mpirun -np N paraview&quot; but<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; instead have to do something like
&quot;mpirun -np N <br>
&gt; pvserver&amp;; paraview&quot; and<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; then use File-&gt;Choose Server
to connect to the parallel server.<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; cheers<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; Dave DeMarle<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; On 6/22/07, Robert Maynard &lt;
thorin.hax@gmail.com&gt; wrote:<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; I have compiled paraview with
mpi support using lam. I<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; changed the standard c and
c++ compilers for <br>
&gt; paraview too mpicc and mpic++<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; so that all the<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; mpi references where aviable.
The build was correctly<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; compiled, the problem comes
when trying to launch <br>
&gt; the standalone version of<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; paraview.<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; When launching /bin/paraview
the error i get is &quot;Floating<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; point exception&quot;, using
gdb to trace the error I get<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &nbsp; New process 16350]<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &nbsp;Program received signal
SIGFPE, Arithmetic exception.<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &nbsp;0x05761ac6 in ?? ()<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; Now if I try to run /bin/paraview
with mpirun -np 1, it<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; tells me that paraview &nbsp;did
not invoke MPI_INIT <br>
&gt; before quitting. The problem<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; seems to only<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; happen with standalone version,
as /bin/pvserver runs<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; perfectly fine with mpirun<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; ParaView mailing list<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; ParaView@paraview.org<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; http://www.paraview.org/mailman/listinfo/paraview<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; ParaView mailing list<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; ParaView@paraview.org<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; http://www.paraview.org/mailman/listinfo/paraview<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; &gt; &gt; ParaView mailing list<br>
&gt; &gt; &gt; &gt; &gt; ParaView@paraview.org<br>
&gt; &gt; &gt; &gt; &gt; http://www.paraview.org/mailman/listinfo/paraview<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; ParaView mailing list<br>
&gt; &gt; &gt; ParaView@paraview.org<br>
&gt; &gt; &gt; http://www.paraview.org/mailman/listinfo/paraview<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; -------------- next part --------------<br>
&gt; An HTML attachment was scrubbed...<br>
&gt; URL: http://public.kitware.<br>
&gt; com/pipermail/paraview/attachments/20070622/4eed4dc3/attachment.html<br>
&gt; <br>
&gt; ------------------------------<br>
&gt; <br>
&gt; _______________________________________________<br>
&gt; ParaView mailing list<br>
&gt; ParaView@paraview.org<br>
&gt; http://www.paraview.org/mailman/listinfo/paraview<br>
&gt; <br>
&gt; <br>
&gt; End of ParaView Digest, Vol 38, Issue 52<br>
&gt; ****************************************<br>
</tt></font>
<P>The server  made the following annotations                           <br/>
---------------------------------------------------------------------------------<br/>
This message contains information that may be privileged or confidential and is the property of Beckman Coulter, Inc.  It is intended only for the person to whom it is addressed.  If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute or use this message or any part thereof.  If you receive this message in error, please notify the sender immediately and delete all copies of this message.

---------------------------------------------------------------------------------<br/>
</P>