Boost logo

Boost-Build :

Subject: [Boost-build] Building projects with multi-threaded (Intel) MPI
From: Matthias Noack (ma.noack.pr_at_[hidden])
Date: 2014-09-30 13:24:00


I'm using Boost.Build for an MPI project and want to link against the
multi-threaded MPI library. At least for Intel MPI, there are two
libraries "" and "", where the second one is

My user-config.jam, contains the following line:

using mpi : /sw/intel/impi/ ;

My Jamroot then uses "<library>/mpi//mpi" for the respective targets.

Regardless of the <threading> property of the project, is used.

I know I could specifiy all libraries manually in the user-config.jam
via <find-shared-library>, but this would mean deciding whether or not I
want threading for all projects and their targets.

So ideally, I want to configure the library per target and use
Boost.Build's built-in-support for MPI.

Is there a solution for my problem, or do I have to do things manually?


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