Boost logo

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"

> 2009/12/15 troy <troy_at_[hidden]>
>> alt.boost.cmake uses cmake's standard detection of MPI... our docs are
>> very terse:
>> 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]

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


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

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:

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?



Powered by

Visit other Kitware open-source projects at

Please keep messages on-topic and check the ParaView Wiki at:

Follow this link to subscribe/unsubscribe:

Boost-cmake list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at