|
Boost Interest : |
Subject: Re: [Boost-cmake] How to have Boost.MPI use OpenMPI (rather than MPICH2)
From: Michael Jackson (mike.jackson_at_[hidden])
Date: 2009-12-16 12:56:11
On 12/16/09 12:48 PM, in article
8be61fe00912160948n3f016945k1d361be06dc5d47d_at_[hidden], "Denis Arnaud"
wrote:
> 2009/12/15 troy <troy_at_[hidden]>
>
>>
>> alt.boost.cmake uses cmake's standard detection of MPI... our docs are
>> very terse:
>>
>> http://sodium.resophonic.com/boost-cmake/current-docs/externals/mpi.html
>>
>> See the cmake docs for FindMPI. I assume the best way is to tweak some
>> cache variables post-installation.
>>
>
> Thanks Troy.
>
> I'll try to have a look at it sometime. But if, in the meantime, anyone
> (more savvy in CMake than I am) has any idea, he/she'll be welcome :)
>
> D.
> _______________________________________________
> Boost-cmake mailing list
> Boost-cmake_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-cmake
Not sure if you are a subscriber to the ParaView mailing list but this same
question just came up a few days ago, albeit in the opposite direction:
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 configure. CMake should pick all the right MPI
settings.
-berk
On Tue, Dec 15, 2009 at 5:57 PM, David E DeMarle
<dave.demarle_at_[hidden]> wrote:
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
On Tue, Dec 15, 2009 at 5:00 PM, Huan Sun <hsun_at_[hidden]> wrote:
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 staticaly built mpi libraries?
Thanks,
Huan
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview