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 <[email protected]>

> 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
> <[email protected]> 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

Reply via email to