Repository navigation
Server Rack View
When an 8-rank or 64-rank MPI job stalls, you need to see at a glance which ranks are still running, which stopped at a breakpoint, and which are stuck in a deadlock without switching between terminals one by one. The Server Rack panel (in the right-hand dock alongside Variables, Call Stack, Registers, and Watch) displays every MPI rank as a compact blade card showing its status badge and live instruction address.

What you will do: Spot stalled or deadlocked ranks across the cluster and focus one to inspect its state.
- Pause execution (
F6or Debug -> Pause All Ranks) if some ranks are still spinning while others are blocked. - Open the Server Rack tab in the right-hand dock.
- Scan the color-coded badge on the top-right of each rank card:
- Green
RUNcards are still executing. - Amber
BRKcards are paused at a breakpoint or manual halt. - Crimson
DLOCKorDIVcards are flagged in a circular wait cycle or collective mismatch.
- Green
- Click any rank card (or move between cards with the
Arrow,Home, andEndkeys) to make it the active rank.
What to look for: The selected card highlights with a 2 px accent border, and every inspector panel synchronizes immediately to that rank:
- Source Editor scrolls to the rank's active line and refreshes inline variable values.
-
Disassembly & Control Flow Graph jumps to the rank's
0x...instruction address and highlights all peer rank locations across the graph. - Variables, Call Stack, Registers, and Memory switch to the selected rank's frame and address space.
When debugging dozens of ranks, use the filter strip along the top of the Server Rack panel to hide healthy ranks and focus only on outliers:
- Click
Deadlockto show only deadlocked (DLOCK) and diverged (DIV) ranks. - Click
Stoppedto view only paused or breakpoint-stopped (BRK) ranks. - Click
Runningto isolate ranks that are still actively executing (RUN). - Click
Allto restore the fullRANK 0 .. RANK N-1grid.
Use the Execution Scope dropdown on the main debugger toolbar to target Continue, Pause, Step Over, Step Into, and Step Out at a dynamic subset of ranks while filtering the Server Rack grid simultaneously:
-
All Ranks/Rank k: Broadcast to every active rank or focus only the currently selected rank. -
Root (Rank 0)/Workers (1..N-1): Step Rank 0 independently from worker ranks during master/worker debugging. -
Stopped/Diverged: Target only paused ranks or ranks whose program counter/state has diverged from the cluster majority. -
Custom Subset...: Enter an arbitrary comma-and-range list such as0, 2-5, 7to control and view only those ranks.
Right-click any rank card to act directly on that process:
- Choose
Focus Rank N (<BADGE>)to switch the active debugger focus to that rank. - If you have native plugins installed that target the rank list, open the
Plugin Actionssubmenu to run custom per-rank diagnostics directly against the clicked rank. - Once a rank is focused, toolbar controls (Continue, Step Over, Step Into, Pause), Memory (
Diff Ranks), Array & Field Plotter (Ctrl+Alt+G), and Pointer Graph operate directly on that rank.

flowchart LR
Session["MPI Debug Session (Ranks 0..N-1)"] -->|"Per-rank state & PC"| Rack["Server Rack Panel"]
Filter["Filter Bar (All / Deadlock / Stopped / Running)"] --> Rack
Rack -->|"All rank PCs"| Disasm["Disassembly & CFG Badges"]
Rack -->|"Select rank card"| Focus["Active Rank Focus"]
Focus --> Source["Source Editor & Inline Values"]
Focus --> Vars["Variables & Call Stack Panels"]
Focus --> LowLevel["Registers & Memory Panels"]
Each 116 x 34 px card displays:
-
Top-left (
RANK N): Zero-based MPI rank index. - Top-right (Status Pill): Current execution state badge (table below).
-
Bottom row (
0x...): Current 64-bit instruction pointer (RIP) when active, cleared automatically when idle or exited.
| State | Badge | Color | Meaning |
|---|---|---|---|
| Running | RUN |
#2ecc71 (Green) |
Rank is actively executing instructions. |
| Stopped / Paused | BRK |
#f1c40f (Amber) |
Rank is paused at a breakpoint, signal, or manual pause. |
| Deadlocked | DLOCK |
#f44747 (Crimson) |
Rank participates in a circular MPI wait-for cycle. |
| Diverged | DIV |
#f44747 (Crimson) |
Rank diverged onto a different collective or control-flow path. |
| Exited | EXIT |
#64748b (Slate) |
Rank has finished (MPI_Finalize or process exit). |
| Idle | IDLE |
#7f8c8d (Gray) |
Configured rank slot before launch. |
GridLock Repository | Releases | Report an Issue | Roadmap | Accessibility | License (MIT)
Documentation mirrored from docs/ on master.
Getting Started & Tutorials
Debugging Workflows
- UI & Debugging Manual
- Server Rack View
- MPI Diagnostics & HPC
- OpenMP OMPD Inspector
- Memory, RE & Profiling
- Struct Layout & Cache Lines
- Reference Manual & Packages
Customization & Reference
- Configuration & Themes
- Keyboard Shortcuts
- GDB Reference & Cheat Sheet
- Screenshot Gallery
- Engineering Roadmap
Extending & Architecture