Le 28/08/2013 16:20, Jiri Hladky a
Most people expect their jobs to be launched in order: process0 on
first cores, process1 on next cores, etc.
Again, you don't want to reverse the output, you want to ignore
first core/socket if possible.
You can do the exact same thing by reversing your loop in the
Anyway, reversing the loop just move the core you don't want to the
end of the list. But if you use the entire list, you end up using
the exact same cores. You just reordered the processes among these
We need a new singlify() above, one that doesn't use the first bit.
That's what will make you use a core that is not the first one in
Problems with infinite bitmaps are unrelated with hwloc-distrib, but
they need to be handled in that new bitmap API anyway.