[Paraview] build with openmpi?
Orion Poplawski
orion at cora.nwra.com
Thu May 11 16:56:04 EDT 2006
Redirecting to the list. Any chance we could have replies automatically
sent to the list?
W. Bryan Smith wrote:
> so, before receiving your email i modified the -DMPI_LIBRARY bit to read
>
> --DMPI_LIBRARY:FILEPATH=/local2/openmpi1.0.2/lib/lmpi_cxx.la
>
> and i also modified the CMakeLists.txt file in the paraview source
> directory
> with
> SET(CMAKE_C_COMPILER mpicc)
> SET(CMAKE_CXX_COMPILER mpicxx)
>
Be sure these are the right mpicc and mpicxx versions and not another
MPI's. I suspect the .la line is roughly equivalent to what I sent.
> and, voila, the paraview executable compiled successfully and i can run
> it.... only now, there is another problem!! when i try to run in mpi mode,
> it opens 4 paraview windows, not one. here is how i was trying to run in
> mpi
>
> mpiexec -n 4 paraview
>
> (with, of course, both the correct mpiexec and paraview binaries on the top
> of my PATH).
Hmmm, looks like it doesn't think that your paraview is really an MPI
program. OpenMPI's orterun/mpirun/mpiexec (all the same) can launch
non-MPI programs on multiple nodes as well.
However, I've never actually compiled paraview with openmpi (yet), so I
don't have any real experience. I'll have to try it sometime though.
--
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