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