Hello,
I was trying to compile paraview against mpich2.
I wonder if I need to specify some extra mpi libraries the cmake
configuration. I don't have a root account so i built the mpich2 under
my own account. So ccmake cannot find it.
Also, can I compile paraview against staticly built mpi librar
You need to link to both the mpi and mpicxx libs. Put one in
MPI_LIBRARIES and the other in MPI_EXTRA_LIBRARIES (or use path
separator.)
I do not think it it matters whether mpich is compiled statically or not.
David E DeMarle
Kitware, Inc.
R&D Engineer
28 Corporate Drive
Clifton Park, NY 12065-8
Here is a very obscure trick. First, delete all CMake variables that
start with MPI_. To do this in ccmake, you have to first switch to
advanced view, file the MPI_ variables and hit 'd' next to each one to
delete them. Next, set the MPI_COMPILER to the mpicxx that is in your
MPI version. Next conf
Hi,
Thanks for the help. Somehow cmake didn't find the correct mpiexec -- it
did find the libmpichcxx.so. I fixed the mpiexec, compiled and
installed.
But when i ran ./pvserver --ldd (results attached below)
It seems that the paraview didn't find libmpichcxx.
I installed mpich2 under my local ac
That's strange. Are you positive that you set LD_LIBRARY_PATH
correctly and you also exported the variable (assuming you are using
bash/ksh/zsh)?
-berk
On Tue, Dec 15, 2009 at 11:52 PM, Huan Sun wrote:
>
> Hi,
>
> Thanks for the help. Somehow cmake didn't find the correct mpiexec -- it
> did fin
It seems like you need to fix two things, just like what berk said, your
LD_LIBRARY_PATH is not set correctly. You need to add the path to the mpi
library to LD_LIBRARY_PATH, for example my LD_LIBRARY_PATH has
/usr/voltaire/mpi/lib
if that still doesn't work, its most likely that the cmake configu
Hi, I just found it's because I switched back and forth between tcsh and
bash and my library path is only defined in bash.
It's working now.
Thanks again for all the help!
best,
Huan
On Wed, 2009-12-16 at 08:18 -0700, Joshua Wu wrote:
> It seems like you need to fix two things, just like what