Open MPI logo

Hardware Locality Development Mailing List Archives

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

Subject: Re: [hwloc-devel] [hwloc] #12: support user-defined processor restriction
From: Samuel Thibault (samuel.thibault_at_[hidden])
Date: 2010-02-15 16:32:13


Samuel Thibault, le Mon 15 Feb 2010 22:29:55 +0100, a écrit :
> Brice Goglin, le Mon 15 Feb 2010 22:19:33 +0100, a écrit :
> > hwloc wrote:
> > > - Add a configuration flag to limit the discovery to the current binding
> > > of the process
> > > Do we still want this for 1.0?
> >
> > I think Ashley wanted the first item when he requested lstopo --pid
> > <pid> but I may be wrong.
>
> You mean in addition to the resolution of #21? Maybe indeed.

That being said, as I understand it, one of the target is just to
get the current binding of an existing process. There is no need to
change the way hwloc discovers the hardware for that, the hwloc-bind
could be provided an option to call hwloc_get_proc_cpubind instead of
hwloc_get_cpubind.

Samuel