[Paraview] build with openmpi?
Orion Poplawski
orion at cora.nwra.com
Fri May 12 12:33:56 EDT 2006
W. Bryan Smith wrote:
> hi,
>
> for those scoring at home...
>
> apparently i am an idiot, and cannot read very well. :) i had to add the
> openmpi library path to my LD_LIBRARY_PATH (as clearly stated in the
> openmpi
> faq on running mpi-compiled binaries), then i recompiled with
>
> cmake -DVTK_USE_MPI:BOOL=ON \
> -DMPI_INCLUDE_PATH:PATH=/local2/openmpi1.0.2/include/ \
> -DVTK_MPIRUN_EXE:FILEPATH=/local2/openmpi1.0.2/bin/mpirun \
> -DMPI_LIBRARY::STRING="-L/local2/openmpi1.0.2/lib -lmpi_cxx -lmpi -lorte
> -lopal" \
> /local2/paraview-2.4.3/
>
> and now it works beautifully.
>
> again, don't know if this is necessary, but for completeness i will state
> that i modified CMakeLists.txt in the ParaView source directory to contain:
>
> SET(CMAKE_C_COMPILER mpicc)
> SET(CMAKE_CXX_COMPILER mpicxx)
>
> as suggested by the openmpi documentation.
>
> thanks, orion, for your help.
> bryan
The -DMPI_INCLUDE_PATH and -DMPI_LIBRARY should be unnecessary when
using mpicc and mpicxx.
--
Orion Poplawski
System Administrator 303-415-9701 x222
Colorado Research Associates/NWRA FAX: 303-415-9702
3380 Mitchell Lane, Boulder CO 80301 http://www.co-ra.com
More information about the ParaView
mailing list