macOS
brew install hwloclocal Homebrew formula metadata
sudo port install hwlocMacPorts ports tree · devel/hwloc/Portfile · 来源: api.github.com
安装
brew install hwloclocal Homebrew formula metadata
sudo port install hwlocMacPorts ports tree · devel/hwloc/Portfile · 来源: api.github.com
sudo apk add hwlocAlpine Linux edge package indexes · hwloc · 来源: dl-cdn.alpinelinux.org
sudo dnf install hwlocFedora Rawhide package metadata · hwloc · 来源: dl.fedoraproject.org
nix profile install nixpkgs#hwlocnixpkgs package indexes · pkgs/by-name/hw/hwloc/package.nix · 来源: api.github.com
sudo pacman -S hwlocArch Linux sync databases · hwloc · 来源: geo.mirror.pkgbuild.com
sudo zypper install hwlocopenSUSE Tumbleweed package metadata · hwloc · 来源: download.opensuse.org
概览
Portable abstraction of the hierarchical topology of modern architectures
历史
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.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
hwloc-annotate | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
hwloc-bind | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
hwloc-calc | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
hwloc-compress-dir | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
hwloc-diff | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
hwloc-distrib | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
hwloc-gather-topology | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
hwloc-info | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
hwloc-ls | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
hwloc-patch | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
hwloc-ps | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
lstopo | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
lstopo-no-graphics | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:hwloc |
|---|---|
| 版本 | 2.14.0 |
| 软件包管理器 | Homebrew |
| 主页 | https://www.open-mpi.org/projects/hwloc/ |
| 仓库 | https://github.com/open-mpi/hwloc |
| 最后更新 | 2026-07-14T16:33:15Z |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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 hwloc来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.