Add support for generating regular distance matrices to create X groups of Y groups of Z elements
Add support for generating regular distance matrices to create X groups of Y groups of Z elements

Pass HWLOC_<type>_DISTANCES="indexes....:X*Y*Z" (*Z may be omitted)
This much more convenient for debugging than manually writing all matrix values.

Example:
HWLOC_Core_DISTANCES="0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15:4*2*2" utils/lstopo -i "node:2 core:8 pu:1" -
gives you 2 nodes with 2 groups with 2 groups with 2 cores with 1 pu

git-svn-id: 8a78b5b61f313b75308279406474ceba23f3cddb@2979 4b44e086-7f34-40ce-a3bd-00e031736276

BlueBrain/hwloc,BlueBrain/hwloc,BlueBrain/hwloc,BlueBrain/hwloc