[Paraview] openmpi compilation

Michele Vascellari michele.vascellari at gmail.com
Mon Nov 19 12:30:31 EST 2007


Thanks Kevin!

I've successfully compiled paraview with openmpi support, using your
advices.
The only difference with respect to your indications is the different
include path of openmpi  /usr/include/openmpi/ompi instead of
/usr/include/openmpi/openmpi, when I set the Cmake initial path.

CMAKE_C_FLAGS:STRING=-I/usr/include/openmpi/ompi/
CMAKE_CXX_FLAGS:STRING=-I/usr/include/openmpi/ompi/

Michele




2007/11/19, Kevin H. Hobbs <hobbsk at ohiou.edu>:
>
> On Mon, 2007-11-19 at 11:47 +0100, Michele Vascellari wrote:
> > Dear paraview user and developers!
> >
> > I'd like to compile the 3.2 version of paraview with the support for
> > parallel processing using openmpi libraries:
> >
> > Since my distro (debian testing) has a newer version of qt4 libraries,
> > I have compiled the 4.2 version of Qt, installing them in the default
> > path /usr/local/Trolltech/Qt-4.2.3.
>
> I build ParaView nightly with the same non system Qt, and OpenMPI. I set
> a few variables in my ~/.bash_profile that help CMake find QT:
>
>         QT423=/opt/qt-4.2.3
>         PATH=$QT423/bin:$PATH
>         export PATH
>         CMAKE_LIBRARY_PATH=$QT423/lib:$CMAKE_LIBRARY_PATH
>         export CMAKE_LIBRARY_PATH
>         CMAKE_INCLUDE_PATH=$QT423/include:$CMAKE_INCLUDE_PATH
>         export CMAKE_INCLUDE_PATH
>
> I also set the CMake initial path with:
>         CMAKE_C_FLAGS:STRING=-I/usr/include/openmpi/openmpi/
>         CMAKE_CXX_FLAGS:STRING=-I/usr/include/openmpi/openmpi/
>         PARAVIEW_USE_MPI:BOOL=ON
>         MPI_INCLUDE_PATH:PATH=/usr/include/openmpi
>         MPI_LIBRARY:FILEPATH=/usr/lib64/openmpi/libmpi_cxx.so;/usr/lib64/openmpi/libmpi.so
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/paraview/attachments/20071119/03a9a652/attachment.htm


More information about the ParaView mailing list