Re: [hwloc-devel] [hwloc-users] hwloc 1.5, freebsd and linux output on the same hardware

2012-10-13 Thread Brice Goglin
I committed (a better version of) this to trunk today. hwloc v1.6 should work fine in your case. I didn't backport into v1.5.1 because I can't be 100% confident that I am not breaking some cases here. We'll see. Brice Le 11/10/2012 23:14, Brice Goglin a écrit : > I think I would rather do

Re: [hwloc-devel] [hwloc-users] hwloc 1.5, freebsd and linux output on the same hardware

2012-10-11 Thread Brice Goglin
I think I would rather do something like below, to make sure we only modify the cpuset while discovering things. The code builds fine on FreeBSD9 and seems to work, but my testing of changing cpuset doesn't seem to work very well so I'd like a bit more testing. Brice Index:

Re: [hwloc-devel] [hwloc-users] hwloc 1.5, freebsd and linux output on the same hardware

2012-10-11 Thread Sebastian Kuzminsky
The modification of the default cpuset (to exclude CPUs 0-9) is done by our local installation. I assume the vanilla FreeBSD 7.3 that we're based on does not monkey with the default cpuset. I believe modifying your own cpuset is not a privileged operation in FreeBSD. The cpuset executable is

Re: [hwloc-devel] [hwloc-users] hwloc 1.5, freebsd and linux output on the same hardware

2012-10-11 Thread Samuel Thibault
Sebastian Kuzminsky wrote: > Maybe lstopo should expand its cpuset to be fully inclusive at startup? I'll > be happy to test patches if you want. Brice Goglin, le Thu 11 Oct 2012 18:13:53 +0200, a écrit : > Is the cpuset-modification a root-only operation on FreeBSD? If so lstopo > wouldn't be

Re: [hwloc-devel] [hwloc-users] hwloc 1.5, freebsd and linux output on the same hardware

2012-10-11 Thread Brice Goglin
(forwarding your mail to the list, and replying) Good to know that it works, thanks for testing. I released 1.5.1rc1 today, it should work fine as well. You say that the cpuset does not contain 0-9 by default on this hardware. This is something specific to your installation, I guess? Nothing