$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] hybrid parallelism
From: Dave Abrahams (dave_at_[hidden])
Date: 2010-11-03 19:53:47
On Thu, Nov 4, 2010 at 8:16 AM, Brian Budge <brian.budge_at_[hidden]> wrote:
> Hi Hicham -
>
> Yes, you can use MPI (possibly through boost::mpi) to distribute tasks
> to multiple machines, and then use threads on those machines to work
> on finer grained portions of those tasks. From another thread on this
> list, there are constructs in boost::asio that handle task queuing for
> the thread tasks.
If I were you I would start by trying to do this with N processes per
machine, rather than N threads, since you need the MPI communication
anyway.
-- Dave Abrahams BoostPro Computing http://www.boostpro.com