OS Manuals

/usr/bin/hwloc-distrib

Portable abstraction of hierarchical hardware architectures with CUDA support

From hwloc-cuda-12.8 2.15.0-r1 (enterprise-packages), captured 2026-11-09 by running hwloc-distrib --help (exit 0). permalink

Usage: hwloc-distrib [options] number
Distribution options:
  --ignore <type>  Ignore objects of the given type
  --from <type>    Distribute starting from objects of the given type
  --to <type>      Distribute down to objects of the given type
  --at <type>      Distribute among objects of the given type
  --reverse        Distribute by starting from last objects
Input topology options:
  --restrict [nodeset=]<bitmap>
                   Restrict the topology to some processors or NUMA nodes.
  --restrict-flags <n>  Set the flags to be used during restrict
  --disallowed     Include objects disallowed by administrative limitations
  --input <XML file>
  -i <XML file>    Read topology from XML file <path>
  --input <directory>
  -i <directory>   Read topology from chroot containing the /proc and /sys
                   of another system
  --input <directory>
  -i <directory>   Read topology from directory containing a CPUID dump
  --input "node:2 2"
  -i "node:2 2"    Simulate a fake hierarchy, here with 2 NUMA nodes of 2
                   processors
  --input-format <format>
  --if <format>    Enforce input format among xml, fsroot, cpuid, synthetic
Formatting options:
  --single         Singlify each output to a single CPU
  --taskset        Show taskset-specific cpuset strings
  --cpuset-output-format <hwloc|list|taskset>
  --cof <hwloc|list|taskset>
                   Change the format of cpuset outputs
Miscellaneous options:
  -v --verbose     Show verbose messages
  --version        Report version and exit
  -h --help        Show this usage
Options (19)
OptionDescriptionSource
--ignore typeIgnore all objects of type <type> in the topology.help + man
--from typeDistribute starting from objects of the given type instead of from the top of the topology hierarchy, i.e. ignoring the structure given by objects above.help + man
--to typeDistribute down to objects of the given type instead of down to the bottom of the topology hierarchy, i.e. ignoring the structure given by objects below.help + man
--at typeDistribute among objects of the given type.help + man
--reverseDistribute by starting with the last objects first, and singlify CPU sets by keeping the last bit (instead of the first bit).help + man
--restrict nodeset=]<bitmapRestrict the topology to some processors or NUMA nodes.help + man
--restrict-flags nEnforce flags when restricting the topology.help + man
--disallowedInclude objects disallowed by administrative limitations.help + man
-i XMLRead the topology from <path> instead of discovering the topology of the local machine.help + man
--input directoryhelp
--input-format formathelp
--if formatEnforce the input in the given format, among xml, fsroot, cpuid and synthetic.help + man
--singleSinglify each output to a single CPU.help + man
--tasksetShow taskset-specific cpuset stringshelp
--cpuset-output-format hwloc|list|tasksetChange the format of displayed CPU set strings.help + man
--cof hwloc|list|tasksetChange the format of cpuset outputshelp
-v --verboseShow verbose messageshelp + man
--versionReport version and exit.help + man
-h --helpDisplay help message and exit.help + man
Examples (5) from the manual page, untested

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.