🍺 BREW Explorer

← all formulae

hwloc

brew install hwloc v2.13.0 BSD-3-Clause

C library and tools for discovering and abstracting the hierarchical topology of multi-core, multi-socket, and GPU systems.

Why you might care

hwloc provides portable, standardized access to hardware topology information (CPUs, caches, NUMA nodes, GPUs) across Linux, macOS, Windows, and other platforms. Essential as a build/runtime dependency for HPC and parallel computing libraries (OpenMPI, MPICH, taskset tools) that need to optimize thread/process binding to physical hardware. Useful standalone for binding parallel jobs to specific cores or analyzing system architecture.

Categories

Alternatives

numactl likwid OpenMPI
8.0k
30-day installs · #418
25.6k
90-day · #436
180.7k
365-day · #304

Build dependencies

Links

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "numactl",
    "likwid",
    "OpenMPI"
  ],
  "build_dependencies": [
    "pkgconf"
  ],
  "categories": [
    "library",
    "sysadmin",
    "observability"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Portable abstraction of the hierarchical topology of modern architectures",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:38:43+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "hwloc",
  "github_default_branch": null,
  "github_last_commit_at": null,
  "github_readme_excerpt": null,
  "github_repo": null,
  "github_stars": null,
  "github_topics": [],
  "homepage": "https://www.open-mpi.org/projects/hwloc/",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": "Portable Hardware Locality (hwloc)",
  "installs_30d": 8045,
  "installs_365d": 180737,
  "installs_90d": 25588,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "BSD-3-Clause",
  "llm_generated_at": "2026-06-20T23:44:45+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "hwloc",
  "oldnames": [],
  "one_liner": "C library and tools for discovering and abstracting the hierarchical topology of multi-core, multi-socket, and GPU systems.",
  "optional_dependencies": [],
  "rank_30d": 418,
  "rank_365d": 304,
  "rank_90d": 436,
  "raw_hash": "eb33638394be52fe",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/h/hwloc.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [
    "libxml2",
    "ncurses"
  ],
  "version_head": "HEAD",
  "version_stable": "2.13.0",
  "versioned_formulae": [],
  "why_use_this": "hwloc provides portable, standardized access to hardware topology information (CPUs, caches, NUMA nodes, GPUs) across Linux, macOS, Windows, and other platforms. Essential as a build/runtime dependency for HPC and parallel computing libraries (OpenMPI, MPICH, taskset tools) that need to optimize thread/process binding to physical hardware. Useful standalone for binding parallel jobs to specific cores or analyzing system architecture."
}