From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-02-21 02:02:18
> I'm trying to determine if boost build has support for or is
> knowledgeable about things such as
> I didn't find any information in the documentation so that's why I ask.
Essentially, you ask if Boost.Build supports MPI. I think nobody ever tried,
so we can't claim such support. However:
> 1) compiling for MPI using the compiler wrapper scripts (mpicc, mpiCC)
If the question in replacing 'gcc' with 'mpicc' in command lines? Well, you
can specify a custom compiler name in 'gcc' invocation, or you can inherit
new "mpicc" toolset from gcc.jam and change it as needed.
> 2) honoring the requested <toolset> by loading the appropriate module(s)
I don't understand what you mean here, sorry.
> 3) running parallel unit-test applications with mpirun
It's possible to specify a command that's used to run unit tests, so the
command will be:
> 4) support for submitting unit-tests to a queueing system like, for
> example, PBS
Again, you can specify "lancher" for unit tests, like this:
unit-test whatever : whatever.cpp : <testing.launcher>PBS ;
and the command line will be:
I guess most of required machinery is needed, but since you're the one with
domain knowledge you'd need to try some things and then say what works and
what not and what should be fixed. I'd be happy if Boost.Build gets support
for MPI programs.
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk