Skip to content
github-actions[bot] edited this page Dec 3, 2026 · 15 revisions

GridLock Documentation Wiki (v0.12.0)

Welcome to the GridLock documentation wiki, organized by reader goal and synchronized automatically from docs/ on master.

GridLock Workspace Overview

Getting Started & Tutorials

  • Installation and Building: Linux dependencies (Arch, Ubuntu/Debian, Fedora), standalone AppImages on Wayland and X11, Meson/Ninja builds, and CLI flags.
  • Quickstart and Workflows: Launching local MPI jobs, attaching to running MPI processes (Ctrl+Alt+P), debugging qemu-user and gdbserver targets, and importing #SBATCH scripts.
  • Tutorials Walkthrough: Step-by-step C++ MPI debugging exercises for all 8 showcase programs and 5 auxiliary demos in tutorial/.
  • Hybrid MPI + OpenMP Fortran Tutorial: Compiling Fortran 90/2008 + OpenMP + MPI with DWARF symbols, navigating ranks and OpenMP threads, scheduler-locking, 1-based slices, and diagnosing barrier stalls.

Debugging Workflows (How-To Guides)

  • User Manual: UI and Debugging: Perspectives (Alt+1..4), Search Everywhere, execution controls, breakpoints, signals/catchpoints (Ctrl+Alt+S), checkpoints (Ctrl+Alt+K), and GDB console ergonomics.
  • Server Rack View: Triaging stalled multi-rank runs, filtering large rank counts, navigating active rank cards, and per-rank context actions.
  • MPI Diagnostics and HPC Analysis: Diagnosing MPI deadlocks and collective mismatches, isolating stragglers with the STAT-style Merged Parallel Stack Tree, comparing divergent values across ranks, and managing OpenMP threads.
  • OpenMP Logical Region, Task & Barrier Inspector (OMPD): Inspecting logical Parallel Region -> Team -> OMP Thread hierarchies via libompd.so (or GDB/LLDB fallback), tracing omp task creation backtraces, and collapsing runtime frames (Hide OMP).
  • Memory, Reverse Engineering, and Profiling: Memory diffing and export, heap/smaps profiling, Programmer's Calculator (Ctrl+Alt+C), Array & Field Plotter (Ctrl+Alt+G), Pointer Graph, 2D CFG + Decompiler, and Registers.
  • Struct Layout, Cache-Line Inspector & Typed Memory Overlays: Inspecting DWARF byte offsets, padding holes, 64-byte cache-line straddles, greedy struct packing, and (StructType*)0x... overlays in Memory View.
  • Reference Manual and Package Manager Search: Offline Zeal/Dash .docset lookup, built-in MPI/x86-64/GDB cards, live man pages, and multi-backend HPC package search (spack, dnf, pacman, apt, zypper, eb).

Customization & Reference

  • Configuration and Customization: Switching across 19 curated dark and light themes, customizing the main toolbar, rebinding shortcuts, and managing config.toml / .gridlock/settings.toml.
  • Keyboard Shortcuts and Quick Reference: Scannable lookup tables for stepping, Search Everywhere, floating tools, breakpoints, GDB console, and CFG navigation.
  • GDB Reference & Cheat Sheet: Concise GDB command reference mapped to GridLock's UI and console workflows alongside official GNU GDB documentation.
  • Screenshot Gallery: Visual tour of GridLock's Debug/Binary/MPI perspectives, themes, 2D CFG + Decompiler, Array Plotter, Pointer Graph, and Memory Profiler.
  • Engineering Roadmap: Completed v0.12.0 deliverables and planned pre-v1.0.0 target milestones (v0.12.0).

Extending & Contributing (Architecture & Plugins)

Clone this wiki locally