Hi,<div><br></div><div>I have seen this problem before you need to fix the <span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">MPI_INCLUDE_PATH to only point to the directory that has mpi.h not both of those directories. If this fixes the problem you should open a bug on </span><a href="http://paraview.org/Bug/my_view_page.php">http://paraview.org/Bug</a></div>

<div><br><div class="gmail_quote">On Fri, Aug 5, 2011 at 10:50 AM, Paul Melis <span dir="ltr">&lt;<a href="mailto:paul.melis@sara.nl">paul.melis@sara.nl</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hi,<br>
<br>
I just noticed my cmake is 2.8.2, would trying the latest version help here?<br>
<font color="#888888"><br>
Paul<br>
</font><div><div></div><div class="h5"><br>
On 08/05/2011 04:47 PM, Paul Melis wrote:<br>
&gt; Hi David,<br>
&gt;<br>
&gt; On 08/05/2011 02:55 PM, David Partyka wrote:<br>
&gt;&gt; Have you turned MPI On then Off and then back On again? I&#39;ve seen it get<br>
&gt;&gt; confused when this happens.<br>
&gt;<br>
&gt; Tried that, doesn&#39;t help, unfortunately<br>
&gt;<br>
&gt;&gt; Can you try a fresh (delete your build tree)<br>
&gt;&gt; build of 3.10.1 and turn everything on at once?<br>
&gt;<br>
&gt; A fresh build in a clean build directory (together with the cmake line<br>
&gt; below) doesn&#39;t solve the problem. Note that I&#39;m not setting the openmpi<br>
&gt; header/library locations directly, but let CMake detect them. I assume<br>
&gt; that&#39;s not a problem?<br>
&gt;<br>
&gt; Regards,<br>
&gt; Paul<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Fri, Aug 5, 2011 at 8:15 AM, Paul Melis &lt;<a href="mailto:paul.melis@sara.nl">paul.melis@sara.nl</a><br>
&gt;&gt; &lt;mailto:<a href="mailto:paul.melis@sara.nl">paul.melis@sara.nl</a>&gt;&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;     Hi,<br>
&gt;&gt;<br>
&gt;&gt;     I&#39;m building PV 3.8.1 and PV 3.10.1 on exactly the same Debian 6.0<br>
&gt;&gt;     system (64-bit) system using the exact same CMAKE configuration lines:<br>
&gt;&gt;<br>
&gt;&gt;     #!/bin/sh<br>
&gt;&gt;     cmake \<br>
&gt;&gt;        -DCMAKE_BUILD_TYPE=Release \<br>
&gt;&gt;        -DMANTA_BUILD=$HOME/c/manta-2439-build \<br>
&gt;&gt;        -DMANTA_SOURCE=$HOME/c/manta-2439 \<br>
&gt;&gt;        -DPARAVIEW_BUILD_PLUGIN_Manta=ON \<br>
&gt;&gt;        -DPARAVIEW_ENABLE_PYTHON=ON \<br>
&gt;&gt;        -DPARAVIEW_USE_MPI=ON \<br>
&gt;&gt;        &lt;source-dir&gt;<br>
&gt;&gt;<br>
&gt;&gt;     The 3.8.1 build succeeds, but the 3.10.1 buid fails because mpi.h is not<br>
&gt;&gt;     being found:<br>
&gt;&gt;<br>
&gt;&gt;     [  4%] Built target ProcessShader<br>
&gt;&gt;     [  4%] Built target vtkMaterialLibraryConfiguredFiles<br>
&gt;&gt;     [  5%] Built target vtkproj4<br>
&gt;&gt;     [  5%] Built target lproj<br>
&gt;&gt;     [  5%] Building CXX object<br>
&gt;&gt;     VTK/Utilities/mrmpi/src/CMakeFiles/MapReduceMPI.dir/mapreduce.cpp.o<br>
&gt;&gt;     /home/opti/c/ParaView-3.10.1/VTK/Utilities/mrmpi/src/mapreduce.cpp:14:17:<br>
&gt;&gt;     error:<br>
&gt;&gt;     mpi.h: No such file or directory<br>
&gt;&gt;     In file included from<br>
&gt;&gt;     /home/opti/c/ParaView-3.10.1/VTK/Utilities/mrmpi/src/mapreduce.cpp:22:<br>
&gt;&gt;     /home/opti/c/ParaView-3.10.1/VTK/Utilities/mrmpi/src/mapreduce.h:38:<br>
&gt;&gt;     error: field ‘MPI_Comm’ has incomplete type<br>
&gt;&gt;     /home/opti/c/ParaView-3.10.1/VTK/Utilities/mrmpi/src/mapreduce.h:81:<br>
&gt;&gt;     error: ‘MPI_Comm’ does not name a type<br>
&gt;&gt;     /home/opti/c/ParaView-3.10.1/VTK/Utilities/mrmpi/src/mapreduce.h:93:<br>
&gt;&gt;     error: ‘MPI_Comm’ does not name a type<br>
&gt;&gt;     In file included from<br>
&gt;&gt;     /home/opti/c/ParaView-3.10.1/VTK/Utilities/mrmpi/src/mapreduce.cpp:23:<br>
&gt;&gt;     /home/opti/c/ParaView-3.10.1/VTK/Utilities/mrmpi/src/keyvalue.h:36:<br>
&gt;&gt;     error: field ‘MPI_Comm’ has incomplete type<br>
&gt;&gt;<br>
&gt;&gt;     The relevant CMAKE MPI variables seem to be set correctly:<br>
&gt;&gt;<br>
&gt;&gt;     opti@optihd0:~/c/paraview-3101-release$ grep ^MPI_ CMakeCache.txt<br>
&gt;&gt;     MPI_COMPILER:FILEPATH=/usr/bin/mpic++<br>
&gt;&gt;     MPI_COMPILE_FLAGS:STRING=<br>
&gt;&gt;     MPI_EXTRA_LIBRARY:STRING=/usr/lib/openmpi/lib/libmpi.so;/usr/lib/openmpi/lib/libopen-rte.so;/usr/lib/openmpi/lib/libopen-pal.so;/usr/lib/libdl.so;/usr/lib/libnsl.so;/usr/lib/libutil.so;/usr/lib/libm.so;/usr/lib/libdl.so<br>


&gt;&gt;     MPI_INCLUDE_PATH:STRING=/usr/lib/openmpi/include;/usr/lib/openmpi/include/openmpi<br>
&gt;&gt;     MPI_LIBRARY:FILEPATH=/usr/lib/openmpi/lib/libmpi_cxx.so<br>
&gt;&gt;     MPI_LINK_FLAGS:STRING=-Wl,--export-dynamic<br>
&gt;&gt;     MPI_COMPILER-ADVANCED:INTERNAL=1<br>
&gt;&gt;     MPI_COMPILE_FLAGS-ADVANCED:INTERNAL=1<br>
&gt;&gt;     MPI_EXTRA_LIBRARY-ADVANCED:INTERNAL=0<br>
&gt;&gt;     MPI_INCLUDE_PATH-ADVANCED:INTERNAL=0<br>
&gt;&gt;     MPI_LIB:INTERNAL=MPI_LIB-NOTFOUND<br>
&gt;&gt;     MPI_LIBRARY-ADVANCED:INTERNAL=0<br>
&gt;&gt;     MPI_LINK_FLAGS-ADVANCED:INTERNAL=1<br>
&gt;&gt;     opti@optihd0:~/c/paraview-3101-release$ find /usr/lib -name mpi.h<br>
&gt;&gt;     /usr/lib/openmpi/include/mpi.h<br>
&gt;&gt;<br>
&gt;&gt;     The MPI related cache variables seem to be almost the same between 3.8<br>
&gt;&gt;     and 3.10, and in the differences I see nothing related to missing<br>
&gt;&gt;     include paths or something like that:<br>
&gt;&gt;<br>
&gt;&gt;     opti@optihd0:~/c/paraview-3101-release$ grep MPI_ CMakeCache.txt &gt;<br>
&gt;&gt;     mpi310.txt<br>
&gt;&gt;     opti@optihd0:~/c/paraview-3101-release$ grep MPI_<br>
&gt;&gt;     ../paraview-381-release/CMakeCache.txt &gt; mpi38.txt<br>
&gt;&gt;     opti@optihd0:~/c/paraview-3101-release$ diff -u mpi38.txt mpi310.txt<br>
&gt;&gt;     --- mpi38.txt   2011-08-05 14:13:28.781521205 +0200<br>
&gt;&gt;     +++ mpi310.txt  2011-08-05 14:13:24.305022071 +0200<br>
&gt;&gt;     @@ -1,3 +1,4 @@<br>
&gt;&gt;     +IceTMPI_LIB_DEPENDS:STATIC=general;m;general;IceTCore;general;/usr/lib/openmpi/lib/libmpi_cxx.so;general;/usr/lib/openmpi/lib/libmpi.so;general;/usr/lib/openmpi/lib/libopen-rte.so;general;/usr/lib/openmpi/lib/libopen-pal.so;general;/usr/lib/libdl.so;general;/usr/lib/libnsl.so;general;/usr/lib/libutil.so;general;/usr/lib/libm.so;general;/usr/lib/libdl.so;<br>


&gt;&gt;      MPI_COMPILER:FILEPATH=/usr/bin/mpic++<br>
&gt;&gt;      MPI_COMPILE_FLAGS:STRING=<br>
&gt;&gt;      MPI_EXTRA_LIBRARY:STRING=/usr/lib/openmpi/lib/libmpi.so;/usr/lib/openmpi/lib/libopen-rte.so;/usr/lib/openmpi/lib/libopen-pal.so;/usr/lib/libdl.so;/usr/lib/libnsl.so;/usr/lib/libutil.so;/usr/lib/libm.so;/usr/lib/libdl.so<br>


&gt;&gt;     @@ -15,12 +16,8 @@<br>
&gt;&gt;      ICET_MPI_MAX_NUMPROCS-ADVANCED:INTERNAL=1<br>
&gt;&gt;      //This is set from VTK_MPI_MAX_NUMPROCS.<br>
&gt;&gt;      ICET_MPI_MAX_NUMPROCS:INTERNAL=2<br>
&gt;&gt;     -//ADVANCED property for variable: ICET_MPI_POSTFLAGS<br>
&gt;&gt;     -ICET_MPI_POSTFLAGS-ADVANCED:INTERNAL=1<br>
&gt;&gt;      //This is set from VTK_MPI_POSTFLAGS.<br>
&gt;&gt;      ICET_MPI_POSTFLAGS:INTERNAL=<br>
&gt;&gt;     -//ADVANCED property for variable: ICET_MPI_PREFLAGS<br>
&gt;&gt;     -ICET_MPI_PREFLAGS-ADVANCED:INTERNAL=1<br>
&gt;&gt;      //This is set from a combination of VTK_MPI_PREFLAGS<br>
&gt;&gt;     VTK_MPI_NUMPROC_FLAG<br>
&gt;&gt;      // VTK_MPI_MAX_NUMPROCS VTK_MPI_PREFLAGS.<br>
&gt;&gt;      ICET_MPI_PREFLAGS:INTERNAL=;-np;2;<br>
&gt;&gt;<br>
&gt;&gt;     Any clues?<br>
&gt;&gt;<br>
&gt;&gt;     Regards,<br>
&gt;&gt;     Paul<br>
&gt;&gt;     _______________________________________________<br>
&gt;&gt;     Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a> &lt;<a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a>&gt;<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" target="_blank">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" target="_blank">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" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
&gt;&gt;<br>
&gt;&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>
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><br clear="all"><br>-- <br>Robert Maynard<br>
</div>