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