Re: [hwloc-devel] Patch file to let hwloc-distrib output the PUs starting from the last object

2014-02-10 Thread Brice Goglin
Jirka, Can you check the new "distrib-reverse" branch in hwloc GIT? https://github.com/open-mpi/hwloc/commits/distrib-reverse It should implement what you want. I am deprecating hwloc_distribute() and distributev() in favor a new hwloc_distrib() that adds a flag argument. We have a flag to for

Re: [hwloc-devel] Patch file to let hwloc-distrib output the PUs starting from the last object

2013-09-18 Thread Brice Goglin
Yes I still have that in mind, but I am not a big fan of adding yet two other distribute functions. It's a pitty that we need 4 of them to get everything done. If we multiply by 2 every 2 years, it won't scale :) The current interface doesn't well support distributing N objects among M child when M

[hwloc-devel] Patch file to let hwloc-distrib output the PUs starting from the last object

2013-09-18 Thread Jiri Hladky
Hi Brice, hi Samuel, hopefully you still remember discussion we had regarding a proposed new option --reverse_direction or perhaps better --start_from_last_object which would force hwloc-distrib to start assigning PUs from the last object (rather than from PU#0 as the default) I have now impleme