macOS
brew install hwloclocal Homebrew formula metadata
sudo port install hwlocMacPorts ports tree · devel/hwloc/Portfile · Quelle: api.github.com
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für hwloc in AI-Agent-Workflows.
Installation
brew install hwloclocal Homebrew formula metadata
sudo port install hwlocMacPorts ports tree · devel/hwloc/Portfile · Quelle: api.github.com
sudo apk add hwlocAlpine Linux edge package indexes · hwloc · Quelle: dl-cdn.alpinelinux.org
sudo apt install hwlocDebian stable package indexes · hwloc · Quelle: deb.debian.org
sudo dnf install hwlocFedora Rawhide package metadata · hwloc · Quelle: dl.fedoraproject.org
nix profile install nixpkgs#hwlocnixpkgs package indexes · pkgs/by-name/hw/hwloc/package.nix · Quelle: api.github.com
sudo pacman -S hwlocArch Linux sync databases · hwloc · Quelle: geo.mirror.pkgbuild.com
sudo zypper install hwlocopenSUSE Tumbleweed package metadata · hwloc · Quelle: download.opensuse.org
Überblick
Portable abstraction of the hierarchical topology of modern architectures
Verlauf
hwloc, Hardware Locality, is a portable library and command-line tool suite for discovering and using machine topology: NUMA nodes, packages, cores, processing units, caches, I/O devices, and locality relationships. It is a system and HPC building block rather than a single end-user command.
The Open MPI project history says hwloc evolved from and merged the libtopology and Portable Linux Processor Affinity projects because they overlapped functionally and ideologically. It was released under the hwloc name as an Open MPI sub-project and is mostly developed by the TADaaM team at Inria in Bordeaux.
The NEWS file covers features since version 0.9 and carries 2009 copyright notices for CNRS, Inria, Universite Bordeaux, and Cisco Systems. The 1.0.0 tag dates to May 2010. Later major lines expanded the API and the command-line suite while preserving the central promise: make topology discovery and binding portable across operating systems and hardware generations.
Open MPI's project page lists downstream or related users including MPC, Newmadeleine, StarPU, Kokkos, oneTBB, memkind, H2M, Seastar, PaStiX, LIKWID, TensorFlow, GEOPM, and OpenPMIx. The package metadata shows broad distribution across Homebrew, Debian, Ubuntu, Fedora-family, Alpine, Arch, Nix, MacPorts, and openSUSE ecosystems.
Users run tools such as `lstopo`, `hwloc-info`, `hwloc-bind`, `hwloc-calc`, and related utilities to inspect topology, bind processes, calculate CPU or NUMA sets, export XML topologies, and debug locality issues. Developers use the C API to make runtime, scheduler, MPI, database, and performance tools topology-aware.
hwloc is package-nerd-significant because it is often pulled in indirectly by high-performance and systems software. A package manager may present it as a small system formula, but it encodes hard-won portability across Linux, BSDs, macOS, Windows, Solaris, AIX, cpusets, NUMA, caches, GPUs, and other topology surfaces.
Sicherheitslage
broad file, network, media, or database tool signal.
blue Risiko · mittel Konfidenz · tool
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
hwloc-annotate | cli | globales Executable | |
hwloc-bind | cli | globales Executable | |
hwloc-calc | cli | globales Executable | |
hwloc-compress-dir | cli | globales Executable | |
hwloc-diff | cli | globales Executable | |
hwloc-distrib | cli | globales Executable | |
hwloc-gather-topology | cli | globales Executable | |
hwloc-info | cli | globales Executable | |
hwloc-ls | cli | globales Executable | |
hwloc-patch | cli | globales Executable | |
hwloc-ps | cli | globales Executable | |
lstopo | cli | globales Executable | |
lstopo-no-graphics | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://www.open-mpi.org/projects/hwloc/
Installationsmetadaten
| Paketschlüssel | brew:hwloc |
|---|---|
| Version | 2.13.0 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/hwloc |
| Homepage | https://www.open-mpi.org/projects/hwloc/ |
| Repository | https://github.com/open-mpi/hwloc |
| Upstream-Dokumentation | https://www.open-mpi.org/projects/hwloc |
| Lizenz | BSD-3-Clause |
| Quellarchiv | https://download.open-mpi.org/release/hwloc/v2.13/hwloc-2.13.0.tar.bz2 |
| Build-Abhängigkeiten | pkgconf |
| Von macOS bereitgestellte Bibliotheken | libxml2, ncurses |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | hwloc |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
hwloc 2.12.0-4
Hierarchical view of the machine - utilities
https://www.open-mpi.org/projects/hwloc/
sudo apt install hwlochwloc-nox 2.12.0-4
Hierarchical view of the machine - non-X version of utilities
https://www.open-mpi.org/projects/hwloc/
sudo apt install hwloc-noxlibhwloc-common 2.12.0-4
Hierarchical view of the machine - common files
https://www.open-mpi.org/projects/hwloc/
sudo apt install libhwloc-commonlibhwloc-dev 2.12.0-4
Hierarchical view of the machine - static libs and headers
https://www.open-mpi.org/projects/hwloc/
sudo apt install libhwloc-devlibhwloc-doc 2.12.0-4
Hierarchical view of the machine - documentation
https://www.open-mpi.org/projects/hwloc/
sudo apt install libhwloc-doclibhwloc-plugins 2.12.0-4
Hierarchical view of the machine - plugins
https://www.open-mpi.org/projects/hwloc/
sudo apt install libhwloc-pluginslibhwloc15 2.12.0-4
Hierarchical view of the machine - shared libs
https://www.open-mpi.org/projects/hwloc/
sudo apt install libhwloc15hwloc
nix profile install nixpkgs#hwlochwloc 2.10.0-1build1
Hierarchical view of the machine - utilities
https://www.open-mpi.org/projects/hwloc/
sudo apt install hwlochwloc-nox 2.10.0-1build1
Hierarchical view of the machine - non-X version of utilities
https://www.open-mpi.org/projects/hwloc/
sudo apt install hwloc-noxlibhwloc-common 2.10.0-1build1
Hierarchical view of the machine - common files
https://www.open-mpi.org/projects/hwloc/
sudo apt install libhwloc-commonlibhwloc-dev 2.10.0-1build1
Hierarchical view of the machine - static libs and headers
https://www.open-mpi.org/projects/hwloc/
sudo apt install libhwloc-devlibhwloc-doc 2.10.0-1build1
Hierarchical view of the machine - documentation
https://www.open-mpi.org/projects/hwloc/
sudo apt install libhwloc-doclibhwloc-plugins 2.10.0-1build1
Hierarchical view of the machine - plugins
https://www.open-mpi.org/projects/hwloc/
sudo apt install libhwloc-pluginslibhwloc15 2.10.0-1build1
Hierarchical view of the machine - shared libs
https://www.open-mpi.org/projects/hwloc/
sudo apt install libhwloc15hwloc 2.12.2-r0
Portable abstraction of hierarchical hardware architectures
sudo apk add hwlocQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.