Re: [hwloc-devel] restricted topology (& topology changes)

2009-09-27 Thread Fawzi Mohamed
On 27-set-09, at 15:34, Samuel Thibault wrote: I've wondered how to implement topology changes indeed. AIX does have a SIGRECONFIG signal for this, I don't know any support from other OSes. Maybe there's a inotify way to get such changes in Linux. There is usually no inotify support for vi

Re: [hwloc-devel] restricted topology (& topology changes)

2009-09-27 Thread Samuel Thibault
Fawzi Mohamed, le Sun 27 Sep 2009 15:26:40 +0200, a écrit : > thanks for the quick answers, so I think that the answer is for now > you can on linux 2.6 if you use cpusets. Yes, cpusets are supported IIRC. > >>>I've wondered how to implement topology changes indeed. AIX does > >>>have a SIGRECO

Re: [hwloc-devel] restricted topology (& topology changes)

2009-09-27 Thread Fawzi Mohamed
On 27-set-09, at 14:37, Samuel Thibault wrote: Brice Goglin, le Sun 27 Sep 2009 14:18:54 +0200, a écrit : Samuel Thibault wrote: but shouldn't it return the restricted topology (or have a method that returns the restricted topology). It should already be the default. To get the whole sys

Re: [hwloc-devel] restricted topology (& topology changes)

2009-09-27 Thread Samuel Thibault
Brice Goglin, le Sun 27 Sep 2009 14:18:54 +0200, a écrit : > Samuel Thibault wrote: > >> but shouldn't it return the restricted topology (or have a method that > >> returns the restricted topology). > >> > > > > It should already be the default. To get the whole system, see lstopo > > --help

Re: [hwloc-devel] restricted topology (& topology changes)

2009-09-27 Thread Brice Goglin
Samuel Thibault wrote: >> but shouldn't it return the restricted topology (or have a method that >> returns the restricted topology). >> > > It should already be the default. To get the whole system, see lstopo > --help: --whole-system > Maybe he's referring to when the process launcher

Re: [hwloc-devel] restricted topology (& topology changes)

2009-09-27 Thread Samuel Thibault
Fawzi Mohamed, le Sun 27 Sep 2009 14:09:59 +0200, a écrit : > the topology load returns the topology of the whole system (I think), Nope, else it's a bug :) > but shouldn't it return the restricted topology (or have a method that > returns the restricted topology). It should already be the d

[hwloc-devel] restricted topology (& topology changes)

2009-09-27 Thread Fawzi Mohamed
I had moved from libplpa to libtopology, and I just became aware of this merge, great! I was wondering if there was any thinking on how to cope with processes that have been restricted to a subset of processes by syste/ launcher/... the topology load returns the topology of the whole syste