# Install kahip with Homebrew, Nix

Karlsruhe High Quality Partitioning. Version 3.25 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:kahip
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install kahip
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#kahip
```

  Evidence: nixpkgs package indexes: pkgs/by-name/ka/kahip/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:kahip
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/kahip>
- **Version:** 3.25
- **Source summary:** Karlsruhe High Quality Partitioning
- **Homepage:** <https://algo2.iti.kit.edu/documents/kahip/index.html>
- **Repository:** <https://github.com/KaHIP/KaHIP>
- **Upstream docs:** <https://algo2.iti.kit.edu/documents/kahip/index.html>
- **License:** MIT
- **Source archive:** <https://github.com/KaHIP/KaHIP/archive/refs/tags/v3.25.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- dspac (cli)
- edge_evaluator (cli)
- edge_list_to_metis_graph (cli)
- edge_partitioning (cli)
- evaluator (cli)
- global_multisection (cli)
- graph2binary (cli)
- graph2binary_external (cli)
- graphchecker (cli)
- interface_test (cli)
- kaffpa (cli)
- kaffpaE (cli)
- label_propagation (cli)
- node_ordering (cli)
- node_separator (cli)
- parhip (cli)
- partition_to_vertex_separator (cli)
- readbgf (cli)
- dspac (alias)
- edge_evaluator (alias)
- edge_list_to_metis_graph (alias)
- edge_partitioning (alias)
- evaluator (alias)
- global_multisection (alias)
- graph2binary (alias)
- graph2binary_external (alias)
- graphchecker (alias)
- interface_test (alias)
- kaffpa (alias)
- kaffpaE (alias)
- label_propagation (alias)
- node_ordering (alias)
- node_separator (alias)
- parhip (alias)
- partition_to_vertex_separator (alias)
- readbgf (alias)

## Dependencies

- libomp
- open-mpi

## Build dependencies

- cmake

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 3.25
- Local data: ok
- Upstream repository: https://github.com/KaHIP/KaHIP
- Upstream latest detected: v3.25 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

KaHIP, Karlsruhe High Quality Partitioning, is a family of graph-partitioning and graph-decomposition programs used for balanced graph cuts, separators, ordering, edge partitioning, process mapping, and related algorithm-engineering tasks.

### Project history

KaHIP came out of the Karlsruhe graph-partitioning research line associated with Peter Sanders and Christian Schulz. The 2013 arXiv user guide describes the framework and its interfaces, and the v3.00 line covered multilevel partitioning, memetic algorithms, distributed and shared-memory parallel algorithms, node separators, node ordering, edge partitioning, and ILP-based improvement.

### Adoption history

The project is distributed as source, command-line tools, libraries, Python bindings, and package-manager builds. Its README emphasizes use cases in scientific computing and systems work, including mesh partitioning, social and web graphs, sparse-matrix ordering, distributed partitioning with ParHIP, and process mapping for parallel applications.

### How it is used

Users commonly feed KaHIP graphs in METIS-style formats, check them with graphchecker, partition with kaffpa or kaffpaE, run distributed partitioning with parhip, evaluate cuts, compute node separators, or call the library and Python interface from larger workflows.

### Why package nerds care

KaHIP is the kind of package that exposes research-grade algorithm engineering as installable Unix tooling: many specialized executables, reproducible graph file formats, and a long release train turning academic partitioning methods into scripts that fit HPC and data-processing pipelines.

### Timeline

- 2013-11-07: KaHIP v3.00 user guide first submitted to arXiv.
- 2019-03-07: GitHub release v2.10 published.
- 2020-08-03: GitHub release v3.00 published.
- 2025-11-03: Release v3.21 added pip-oriented KaFFPa use.
- 2026-03-13: Release v3.25 published.

### Related projects

- Related tools and methods include METIS, ParMETIS, Scotch/PT-Scotch, KaFFPa, KaFFPaE, KaBaPE, ParHIP, and KaHyPar for hypergraph partitioning.

### Sources

- <https://algo2.iti.kit.edu/documents/kahip/index.html>
- <https://api.github.com/repos/KaHIP/KaHIP/releases?per_page=100>
- <https://arxiv.org/abs/1311.1714>
- <https://github.com/KaHIP>
- <https://github.com/KaHIP/KaHIP>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** kahip
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Conflicts With:** mcp-toolbox
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Nix - kahip: normalized package name match | nixpkgs package indexes: pkgs/by-name/ka/kahip/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Scientific computing packages](https://www.automicvault.com/pkg/scientific-computing-tools/) - Matched scientific computing metadata.
- [Web development packages](https://www.automicvault.com/pkg/web-dev-tools/) - Matched web development metadata.
- [open-mpi](https://www.automicvault.com/pkg/brew/open-mpi/) - Runtime dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [metis](https://www.automicvault.com/pkg/brew/metis/) - Shares av.db curated category or tags: cli, graph-partitioning, science.
- [biosig](https://www.automicvault.com/pkg/brew/biosig/) - Shares av.db curated category or tags: c-plus-plus, cli, science.
- [ccfits](https://www.automicvault.com/pkg/brew/ccfits/) - Shares av.db curated category or tags: c-plus-plus, cli, science.
- [clhep](https://www.automicvault.com/pkg/brew/clhep/) - Shares av.db curated category or tags: c-plus-plus, cli, science.
- [clp](https://www.automicvault.com/pkg/brew/clp/) - Shares av.db curated category or tags: c-plus-plus, cli, science.
- [dcmtk](https://www.automicvault.com/pkg/brew/dcmtk/) - Shares av.db curated category or tags: c-plus-plus, cli, science.
- [freeling](https://www.automicvault.com/pkg/brew/freeling/) - Shares av.db curated category or tags: c-plus-plus, cli, science.
- [g2o](https://www.automicvault.com/pkg/brew/g2o/) - Shares av.db curated category or tags: c-plus-plus, cli, science.
- [opencoarrays](https://www.automicvault.com/pkg/brew/opencoarrays/) - Local package facts share a topical domain. Shared terms: cli, computing, mpi, open, open-mpi.
- [cp2k](https://www.automicvault.com/pkg/brew/cp2k/) - Local package facts share a topical domain. Shared terms: cli, graph, libomp, mpi, open.

## Combined YAML source

View the package source record on GitHub. [combined/kahip.yml](https://github.com/automic-vault/db/blob/main/combined/kahip.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
