<div dir="ltr">Hello,<div><br></div><div>I set both the variables in cmake to  &quot;/home/hp120242/k00603/softwares/openmpi/include/&quot;, the folder in which the mpi.h file is located. But still I am getting the same error:</div>


<div><br></div><div><div>[ 22%] Building CXX object VTK/Parallel/MPI/CMakeFiles/vtkParallelMPI.dir/vtkMPICommunicator.cxx.o</div><div>In file included from /home/hp120242/k00603/softwares/ParaView/VTK/Parallel/MPI/vtkMPICommunicator.cxx:26:</div>


<div>/home/hp120242/k00603/softwares/ParaView/VTK/Parallel/MPI/vtkMPI.h:22:18: error: mpi.h: No such file or directory</div><div>/home/hp120242/k00603/softwares/ParaView/VTK/Parallel/MPI/vtkMPI.h:33: error: expected `)&#39; before &#39;*&#39; token</div>


<div>/home/hp120242/k00603/softwares/ParaView/VTK/Parallel/MPI/vtkMPI.h:35: error: ISO C++ forbids declaration of &#39;MPI_Comm&#39; with no type</div><div>/home/hp120242/k00603/softwares/ParaView/VTK/Parallel/MPI/vtkMPI.h:35: error: expected &#39;;&#39; before &#39;*&#39; token</div>


<div>/home/hp120242/k00603/softwares/ParaView/VTK/Parallel/MPI/vtkMPI.h:41: error: ISO C++ forbids declaration of &#39;MPI_Comm&#39; with no type</div><div>/home/hp120242/k00603/softwares/ParaView/VTK/Parallel/MPI/vtkMPI.h:41: error: expected &#39;;&#39; before &#39;*&#39; token</div>


<div>/home/hp120242/k00603/softwares/ParaView/VTK/Parallel/MPI/vtkMPI.h:51: error: &#39;MPI_Datatype&#39; does not name a type</div><div>/home/hp120242/k00603/softwares/ParaView/VTK/Parallel/MPI/vtkMPI.h:52: error: &#39;MPI_Status&#39; does not name a type</div>


<div>/home/hp120242/k00603/softwares/ParaView/VTK/Parallel/MPI/vtkMPI.h:53: error: ISO C++ forbids declaration of &#39;MPI_Comm&#39; with no type</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">

2013/1/29 Utkarsh Ayachit <span dir="ltr">&lt;<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Ensure MPI_CXX_INCLUDE_PATH and MPI_C_INCLUDE_PATH cmake variable are<br>
set correctly to point to this location of mpi.h include file.<br>
<br>
On Tue, Jan 29, 2013 at 1:43 AM, Pradeep Jha<br>
<div class="HOEnZb"><div class="h5">&lt;<a href="mailto:pradeep@ccs.engg.nagoya-u.ac.jp">pradeep@ccs.engg.nagoya-u.ac.jp</a>&gt; wrote:<br>
&gt; Hello,<br>
&gt;<br>
&gt; I installed MPI locally on my account. After that I managed to do the ccmake<br>
&gt; and generate a makefile. But when I do &quot;make&quot;, after 21% completion, I get<br>
&gt; the following error:<br>
&gt;<br>
&gt; -------------------------------------------------------------------------------<br>
&gt; [ 21%] Building CXX object<br>
&gt; ParaViewCore/VTKExtensions/Core/CMakeFiles/vtkPVVTKExtensionsCorePython.dir/vtkPVVTKExtensionsCorePythonInit.cxx.o<br>
&gt; Linking CXX shared module ../../../lib/vtkPVVTKExtensionsCorePython.so<br>
&gt; [ 21%] Built target vtkPVVTKExtensionsCorePython<br>
&gt; Scanning dependencies of target vtkParallelMPI<br>
&gt; [ 21%] Building CXX object<br>
&gt; VTK/Parallel/MPI/CMakeFiles/vtkParallelMPI.dir/vtkMPICommunicator.cxx.o<br>
&gt; In file included from<br>
&gt; /home/hp120242/k00603/softwares/ParaView/VTK/Parallel/MPI/vtkMPICommunicator.cxx:26:<br>
&gt; /home/hp120242/k00603/softwares/ParaView/VTK/Parallel/MPI/vtkMPI.h:22:18:<br>
&gt; error: mpi.h: No such file or directory<br>
&gt; /home/hp120242/k00603/softwares/ParaView/VTK/Parallel/MPI/vtkMPI.h:33:<br>
&gt; error: expected `)&#39; before &#39;*&#39; token<br>
&gt; /home/hp120242/k00603/softwares/ParaView/VTK/Parallel/MPI/vtkMPI.h:35:<br>
&gt; error: ISO C++ forbids declaration of &#39;MPI_Comm&#39; with no type<br>
&gt; -------------------------------------------------------------<br>
&gt;<br>
&gt; I have all the MPI files declared in my PATH so that my mpirun and mpiexec<br>
&gt; are working now. What is causing this error?<br>
&gt;<br>
&gt; Thank you,<br>
&gt; Pradeep<br>
&gt;<br>
&gt;<br>
&gt; 2013/1/25 Utkarsh Ayachit &lt;<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt; You need to point the MPIEXEC variable to the mpiexec or mpirun<br>
&gt;&gt; executables. If they are not present/don&#39;t work, you are better off<br>
&gt;&gt; not building ParaView with MPI support enabled.<br>
&gt;&gt;<br>
&gt;&gt; Utkarsh<br>
&gt;&gt;<br>
&gt;&gt; On Fri, Jan 25, 2013 at 3:44 AM, Pradeep Jha<br>
&gt;&gt; &lt;<a href="mailto:pradeep@ccs.engg.nagoya-u.ac.jp">pradeep@ccs.engg.nagoya-u.ac.jp</a>&gt; wrote:<br>
&gt;&gt; &gt; Hello,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I am trying to install ParaView 3,98 rom source on a Linux machine. I<br>
&gt;&gt; &gt; dont<br>
&gt;&gt; &gt; have the root passwords. I have locally installed the cmake and qt<br>
&gt;&gt; &gt; 4.8.4.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I want to install Python with MPI support.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; After pulling the source code using git, when I am running the ccmake<br>
&gt;&gt; &gt; command, it is giving me the following error during configuration:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; ---------------------------------------------------------------------------------------------------<br>
&gt;&gt; &gt;  CMake Error at VTK/Parallel/MPI/CMakeLists.txt:37 (message):<br>
&gt;&gt; &gt;    MPIEXEC was empty.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; ---------------------------------------------------------------------------------------------------<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I dont know if the following information is useful:<br>
&gt;&gt; &gt; I do have mpi installed on this system as the mpi compilers for fortran<br>
&gt;&gt; &gt; and<br>
&gt;&gt; &gt; C are available. But I dont have the mpirun or mpiexec command working.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Any ideas what is going wrong?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Thanks,<br>
&gt;&gt; &gt; Pradeep<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Visit other Kitware open-source projects at<br>
&gt;&gt; &gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Please keep messages on-topic and check the ParaView Wiki at:<br>
&gt;&gt; &gt; <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt; &gt; <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
&gt;&gt; &gt;<br>
&gt;<br>
&gt;<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></div>