You shouldn&#39;t be tweaking the Cache! :-P It should work with openmpi, mpich2, msmpi intel mpi etc.<br><br><div class="gmail_quote">On Tue, Oct 25, 2011 at 9:04 PM, Cook, Rich <span dir="ltr">&lt;<a href="mailto:cook47@llnl.gov">cook47@llnl.gov</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Ah, thanks,<br>
perhaps this only works with OpenMPI... I&#39;ll investigate whether I can use that.<br>
Paraview is hard as hell to build.<br>
<font color="#888888">-- Rich<br>
</font><div><div></div><div class="h5"><br>
On Oct 25, 2011, at 5:59 PM, Scott, W Alan wrote:<br>
<br>
&gt; Works for me! Â Here is a snippet from our python script.<br>
&gt;<br>
&gt; Alan<br>
&gt;<br>
&gt; Â  Â  Â  Â mpiDir = &#39;/apps/x86_64/mpi/openmpi/intel-11.1-f064-c064/openmpi-1.4.2_oobpr<br>
&gt;<br>
&gt; Â  Â  Â cMakeVars = cMakeVars +\<br>
&gt; Â  Â  Â  Â &#39;-DMPI_LIBRARY:FILEPATH=&quot;&#39;+mpiDir+&#39;/lib/libmpi.so;&#39;+\<br>
&gt; Â  Â  Â  Â  Â  mpiDir+&#39;/lib/libopen-rte.so;&#39;+\<br>
&gt; Â  Â  Â  Â  Â  mpiDir+&#39;/lib/libopen-pal.so;&#39;+\<br>
&gt; Â  Â  Â  Â  Â  mpiDir+&#39;/lib/libmpi_cxx.so&quot; &#39;+\<br>
&gt; Â  Â  Â  Â &#39;-DCMAKE_EXE_LINKER_FLAGS:STRING=-Bdynamic &#39;<br>
&gt;<br>
&gt; Â  Â cMakeVars = cMakeVars +\<br>
&gt; Â  Â  Â  Â &#39;-DVTK_USE_MPI:BOOL=ON &#39;+\<br>
&gt; Â  Â  Â  Â &#39;-DPARAVIEW_USE_MPI:BOOL=ON &#39;+\<br>
&gt; Â  Â  Â  Â &#39;-DMPI_INCLUDE_PATH:PATH=&#39;+mpiDir+&#39;/include/ &#39;+\<br>
&gt; Â  Â  Â  Â &#39;-DCMAKE_C_FLAGS:STRING=&quot;-w -fPIC -I&#39;+mpiDir+&#39;/include/openmpi&quot; &#39;+\<br>
&gt; Â  Â  Â  Â &#39;-DCMAKE_CXX_FLAGS:STRING=&quot;-w -fPIC -I&#39;+mpiDir+&#39;/include/openmpi&quot; &#39;+\<br>
&gt; Â  Â  Â  Â &#39;-DCMAKE_CXX_FLAGS_RELEASE:STRING=&quot;-O2 -fPIC&quot; &#39;+\<br>
&gt; Â  Â  Â  Â &#39;-DCMAKE_C_FLAGS_RELEASE:STRING=&quot;-O2 -fPIC&quot; &#39;+\<br>
&gt; Â  Â  Â  Â &#39;-DPARAVIEW_PLUS_BUILD:BOOL=OFF &#39;<br>
&gt;<br>
&gt; Â cMakeVars = cMakeVars +\<br>
&gt; Â  Â  Â  Â  Â  Â &#39;-DPARAVIEW_USE_MPI_SSEND:BOOL=ON &#39;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; -----Original Message-----<br>
&gt; From: <a href="mailto:paraview-bounces@paraview.org">paraview-bounces@paraview.org</a> [mailto:<a href="mailto:paraview-bounces@paraview.org">paraview-bounces@paraview.org</a>] On Behalf Of Cook, Rich<br>
&gt; Sent: Tuesday, October 25, 2011 6:44 PM<br>
&gt; To: <a href="mailto:paraview@paraview.org">paraview@paraview.org</a><br>
&gt; Subject: [Paraview] Paraview will not build<br>
&gt;<br>
&gt; Help?<br>
&gt;<br>
&gt; [ 44%] Building C object Utilities/IceT/src/communication/CMakeFiles/IceTMPI.dir/mpi.c.o<br>
&gt; cd /nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2-build/Utilities/IceT/src/communication &amp;&amp; /usr/local/bin/mpicc Â -DIceTMPI_EXPORTS -DVTK_PYTHON_BUILD -I/usr/global/tools/Kitware/Paraview/3.11/chaos_4_x86_64_ib/include -I/usr/gapps/visit/mili/1.10.0/linux-x86_64_gcc-4.1/include -I/usr/gapps/visit/hdf5/1.8.4/linux-x86_64_gcc-4.1/include -g -fPIC -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2-build -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2-build/VTK/Utilities -I/usr/local/include/python2.6 -I/usr/local/tools/mvapich-gnu/include -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/Utilities/IceT/src/include -I/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2-build/Utilities/IceT/src/include Â  -ansi -Wall -Wno-long-long -Wcast-align -Wextra -Wformat-security -Wshadow -Wunused -Wreturn-type -Wpointer-arith -Wdeclaration-after-statement -o CMakeFiles/IceTMPI.dir/mpi.c.o Â  -c /nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/Utilities/IceT/src/communication/mpi.c<br>


&gt; /nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/Utilities/IceT/src/communication/mpi.c: In function &#39;Gather&#39;:<br>
&gt; /nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/Utilities/IceT/src/communication/mpi.c:327: error: &#39;MPI_IN_PLACE&#39; undeclared (first use in this function)<br>
&gt; /nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/Utilities/IceT/src/communication/mpi.c:327: error: (Each undeclared identifier is reported only once<br>
&gt; /nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/Utilities/IceT/src/communication/mpi.c:327: error: for each function it appears in.)<br>
&gt; /nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/Utilities/IceT/src/communication/mpi.c: In function &#39;Gatherv&#39;:<br>
&gt; /nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/Utilities/IceT/src/communication/mpi.c:348: error: &#39;MPI_IN_PLACE&#39; undeclared (first use in this function)<br>
&gt; /nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/Utilities/IceT/src/communication/mpi.c: In function &#39;Allgather&#39;:<br>
&gt; /nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2/Utilities/IceT/src/communication/mpi.c:366: error: &#39;MPI_IN_PLACE&#39; undeclared (first use in this function)<br>
&gt; make[2]: *** [Utilities/IceT/src/communication/CMakeFiles/IceTMPI.dir/mpi.c.o] Error 1<br>
&gt; make[2]: Leaving directory `/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2-build&#39;<br>
&gt; make[1]: *** [Utilities/IceT/src/communication/CMakeFiles/IceTMPI.dir/all] Error 2<br>
&gt; make[1]: Leaving directory `/nfs/tmp2/rcook/ParaView/3.12/ParaView-3.12.0-RC2-build&#39;<br>
&gt; make: *** [all] Error 2<br>
&gt;<br>
&gt; --<br>
&gt; âœRichard Cook<br>
&gt; âœ‡ Lawrence Livermore National Laboratory<br>
&gt; Bldg-453 Rm-4024, Mail Stop L-557<br>
&gt; 7000 East Avenue, Â Livermore, CA, 94550, USA<br>
&gt; â˜Ž (office) <a href="tel:%28925%29%20423-9605" value="+19254239605">(925) 423-9605</a><br>
&gt; â˜Ž (fax) <a href="tel:%28925%29%20423-6961" value="+19254236961">(925) 423-6961</a><br>
&gt; ---<br>
&gt; Information Management &amp; Graphics Grp., Services &amp; Development Div., Integrated Computing &amp; Communications Dept.<br>
&gt; (opinions expressed herein are mine and not those of LLNL)<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br>
--<br>
✐Richard Cook<br>
✇ Lawrence Livermore National Laboratory<br>
Bldg-453 Rm-4024, Mail Stop L-557<br>
7000 East Avenue, Â Livermore, CA, 94550, USA<br>
☎ (office) <a href="tel:%28925%29%20423-9605" value="+19254239605">(925) 423-9605</a><br>
☎ (fax) <a href="tel:%28925%29%20423-6961" value="+19254236961">(925) 423-6961</a><br>
---<br>
Information Management &amp; Graphics Grp., Services &amp; Development Div., Integrated Computing &amp; Communications Dept.<br>
(opinions expressed herein are mine and not those of LLNL)<br>
<br>
<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</div></div></blockquote></div><br>