Open MPI logo

Hardware Locality Users' Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Users mailing list

Subject: Re: [hwloc-users] MPI + threads parallelization
From: Dave Goodell (goodell_at_[hidden])
Date: 2010-10-01 11:46:41

On Oct 1, 2010, at 4:02 AM CDT, Brice Goglin wrote:

> Le 01/10/2010 10:56, Ondrej Marsalek a écrit :
>> Hi again,
>> I have a question regarding parallelization using both MPI and threads
>> in a NUMA setup. I would like to be able to use one MPI process per
>> socket or NUMA node and use threads within each MPI process to use all
>> the cores. Can I use hwloc to put and keep all of these in the right
>> places?
>> Thanks,
>> Ondrej
> It mostly depends on the MPI implementation. Several of them are
> switching to hwloc for binding, so you will likely have a mpiexec option
> to do so.

FWIW, MPICH2 supports this when using the hydra process manager:

Open MPI has similar functionality documented somewhere on their website, but I don't have the link handy.