[Paraview] Unable to complie ParaView3 with openmpi
Mattijs Janssens
m.janssens at opencfd.co.uk
Fri Aug 3 09:02:45 EDT 2007
OpenMPI seems to pull in C++ bindings include
files.
In my version (1.2.3) mpi.h:1781
#if !defined(OMPI_SKIP_MPICXX) &&
OMPI_WANT_CXX_BINDINGS && !OMPI_BUILDING
#if defined(__cplusplus) || defined(c_plusplus)
#include "openmpi/ompi/mpi/cxx/mpicxx.h"
#endif
#endif
So maybe just define OMPI_SKIP_MPICXX? Or does
Paraview use the C++ bindings?
On Friday 03 August 2007 13:50, Berk Geveci wrote:
> Try setting MPI_INCLUDE_PATH to
> /usr/include/openmpi.
>
> -berk
>
> On 3 Aug 2007 11:50:16 -0000, Raashid Baig
<raashid.b at rediffmail.com> wrote:
> > I am trying to built ParaView3 in parallel. I
> > am using Ubuntu 7.04 and have installed
> > openmpi 1.1-2.3 using synaptic package
> > manager. when I build the sources I get an
> > error:
> >
> > Scanning dependencies of target vtkParallel
> > [ 21%] Building CXX object
> > VTK/Parallel/CMakeFiles/vtkParallel.dir/vtkDu
> >plicatePolyData.o [ 21%] Building CXX object
> > VTK/Parallel/CMakeFiles/vtkParallel.dir/vtkBr
> >anchExtentTranslator.o [ 21%] Building CXX
> > object
> > VTK/Parallel/CMakeFiles/vtkParallel.dir/vtkCl
> >ientSocket.o [ 21%] Building CXX object
> > VTK/Parallel/CMakeFiles/vtkParallel.dir/vtkCo
> >llectGraph.o [ 21%] Building CXX object
> > VTK/Parallel/CMakeFiles/vtkParallel.dir/vtkCo
> >llectPolyData.o [ 21%] Building CXX object
> > VTK/Parallel/CMakeFiles/vtkParallel.dir/vtkCo
> >llectTable.o [ 21%] Building CXX object
> > VTK/Parallel/CMakeFiles/vtkParallel.dir/vtkCo
> >mmunicator.o [ 21%] Building CXX object
> > VTK/Parallel/CMakeFiles/vtkParallel.dir/vtkCo
> >mpositer.o In file included from
> > /home/raashid/src/cvs/ParaView3/VTK/Parallel/
> >vtkCompositer.cxx:25:
> > /usr/include/mpi.h:1757:33: error:
> > ompi/mpi/cxx/mpicxx.h: No such file or
> > directory
> > make[2]: ***
> > [VTK/Parallel/CMakeFiles/vtkParallel.dir/vtkC
> >ompositer.o] Error 1
> > make[1]: ***
> > [VTK/Parallel/CMakeFiles/vtkParallel.dir/all]
> > Error 2 make: *** [all] Error 2
> >
> > I have set the MPI_INCLUDE_PATH to
> > /usr/include/openmpi/ompi/mpi/cxx and
> > /usr/include in both cases I get the same
> > error.
> >
> > I have set the
> > MPI_LIBRARY:FILEPATH=/usr/lib/libmpi.so
> >
> > Please correct me if I am doing something
> > wrong.
> >
> >
> > [image:
> > ebay]<http://adworks.rediff.com/cgi-bin/AdWor
> >ks/click.cgi/www.rediff.com/signature-home.htm
> >/1050715198 at Middle5/1362386_1355934/1361766/1?
> >PARTNER=3&OAS_QUERY=null+target=new+>
> > _____________________________________________
> >__ ParaView mailing list
> > ParaView at paraview.org
> > http://www.paraview.org/mailman/listinfo/para
> >view
--
Mattijs Janssens
OpenCFD Ltd.
9 Albert Road,
Caversham,
Reading RG4 7AN.
Tel: +44 (0)118 9471030
Email: M.Janssens at OpenCFD.co.uk
URL: http://www.OpenCFD.co.uk
More information about the ParaView
mailing list