Skip to main content

TUI for viewing MPI Python stacks across hosts

Project description

mpiptop screenshot

mpiptop - live, side-by-side Python stack traces across MPI ranks.

A focused TUI that makes distributed debugging feel calm and fast.

Why it helps

  • Auto-detects active mpirun/prterun and its rankfile
  • One column per rank with subtle diff highlights
  • Toggle main thread vs all threads, and a details panel
  • Works over passwordless SSH; propagates venv env vars

Install

pip install mpiptop

Usage

mpiptop

Common options:

mpiptop --rankfile /etc/mpirun/rankfile_01_02
mpiptop --prterun-pid 12345
mpiptop --slurm-job 123456
mpiptop --refresh 5
mpiptop --pythonpath /path/to/your/code
mpiptop record --out ./mpiptop-session-20260123-120000.jsonl

Slurm notes: if SLURM_JOB_ID is set or you have exactly one running job, mpiptop will auto-detect it.

Record/review (record is batch mode; use plain mpiptop for the TUI):

mpiptop record
mpiptop record --quiet
mpiptop review ./mpiptop-session-20260123-120000.jsonl
mpiptop summarize ./mpiptop-session-20260123-120000.jsonl --format text

Live controls: q quit | space refresh | t threads | d details | r record

Review controls: q quit | left/right move | down zoom | up zoom out | t threads | d details

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mpiptop-0.2.8.tar.gz (27.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mpiptop-0.2.8-py3-none-any.whl (27.9 kB view details)

Uploaded Python 3

File details

Details for the file mpiptop-0.2.8.tar.gz.

File metadata

  • Download URL: mpiptop-0.2.8.tar.gz
  • Upload date:
  • Size: 27.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mpiptop-0.2.8.tar.gz
Algorithm Hash digest
SHA256 cb1667bcb57467e3114dc8b3a933fd80069d23d2fea3fccedff11daf567def38
MD5 8726671f1004a24bccac39e063b8828d
BLAKE2b-256 2ea6be32fa63ad2f3d9a5e262859dbe5303b1bc94221ea3d9be0ed1dacf77ff7

See more details on using hashes here.

Provenance

The following attestation bundles were made for mpiptop-0.2.8.tar.gz:

Publisher: workflow.yml on yieldthought/mpiptop

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mpiptop-0.2.8-py3-none-any.whl.

File metadata

  • Download URL: mpiptop-0.2.8-py3-none-any.whl
  • Upload date:
  • Size: 27.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mpiptop-0.2.8-py3-none-any.whl
Algorithm Hash digest
SHA256 226fede6841a6d78deadffb82709783d70bf83733166453ddeba3247549d6f8f
MD5 c9824759658aacb521b1be8245207291
BLAKE2b-256 6c500ce82cf9a962c0e5837dea156351678687132b893a0a175d231e53b2df59

See more details on using hashes here.

Provenance

The following attestation bundles were made for mpiptop-0.2.8-py3-none-any.whl:

Publisher: workflow.yml on yieldthought/mpiptop

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page