Re: [hwloc-users] hwloc-bind --get on Solaris for binding to a single core

2013-02-08 Thread Brice Goglin
Le 07/02/2013 18:48, Eugene Loh a écrit : > I'm attaching a patch. Thanks a lot Eugene. I've tested that and it looks OK to me. I am committing it, it will be in v1.7 and v1.6.2. I guess now you want Jeff to include r5295 in OMPI. Brice

Re: [hwloc-users] hwloc-bind --get on Solaris for binding to a single core

2013-02-07 Thread Eugene Loh
On 02/06/13 02:03, Samuel Thibault wrote: Eugene Loh, le Wed 06 Feb 2013 07:50:02 +0100, a écrit : How about adding a check upon entry to hwloc_solaris_get_sth_cpubind(): if processor_bind() shows binding, report this and be done. If not, then continue on with the lgroup logic that's already i

Re: [hwloc-users] hwloc-bind --get on Solaris for binding to a single core

2013-02-06 Thread Samuel Thibault
Eugene Loh, le Wed 06 Feb 2013 07:50:02 +0100, a écrit : > How about adding a check upon entry to hwloc_solaris_get_sth_cpubind(): if > processor_bind() shows binding, report this and be done. If not, then > continue on with the lgroup logic that's already in that function. Yes? If processor_bi

[hwloc-users] hwloc-bind --get on Solaris for binding to a single core

2013-02-06 Thread Eugene Loh
This is on a Solaris 11 system with hwloc 1.6.1: % lstopo-no-graphics Machine (4095MB) + NUMANode L#0 (P#0 4095MB) + Socket L#0 Core L#0 + PU L#0 (P#0) Core L#1 + PU L#1 (P#1) Core L#2 + PU L#2 (P#2) Core L#3 + PU L#3 (P#3) % hwloc-bind socket:0.pu:1 hwloc-bind --get 0x000f I assume