Skip to content

Reference Manual and Package Search

github-actions[bot] edited this page Nov 30, 2026 · 2 revisions

Reference Manual and Package Manager Search

When you are paused inside an unfamiliar MPI collective, x86-64 instruction, or POSIX system call, switching to a web browser or a second terminal breaks your concentration. GridLock builds both an offline Reference Manual (Zeal/Dash .docset bundles, built-in MPI/ABI/GDB cards, and live man pages) and a multi-backend Package Manager search panel directly into the bottom tool rail.


Look Up MPI, x86-64, or C/C++ Symbols Offline

What you will do: Open the Reference Manual and look up an MPI routine or instruction without leaving your debug session.

  1. Click the Docs icon on the left side of the bottom tool rail (or press F1 while a symbol is focused, or open Search Everywhere with Double Shift -> > -> Reference Manual).
  2. Make sure DOCSETS is selected in the top control strip.
  3. Choose a bundle from the docset dropdown (All Docsets, any installed Zeal docset, or Built-in MPI/ABI), or pick a common topic from Quick Topic (F1) (MPI_Init, MPI_Send, MPI_Recv, MPI_Barrier, MPI_Allreduce, MPI_Finalize, gdb-mi, x86_64-abi).
  4. Type a symbol name into the search box to filter results incrementally, then click a result to read its formatted manual page on the right.

Tip

Right-clicking a symbol in the Source Editor or Disassembly view and looking up its documentation automatically strips dynamic-linker suffixes like @plt and @got before opening the matching manual card.

Reference Manual Docsets Tab showing MPI_Send documentation


Connect Offline Zeal or Dash Docsets

GridLock ships with built-in offline reference cards for MPI-3.1, x86-64 instructions/ABI, and GDB/MI out of the box. To add full C, C++, Fortran, or POSIX Zeal .docset bundles:

  1. Open Edit -> Preferences -> Docsets.
  2. Click Auto-Detect Zeal Docsets to scan standard Zeal directories (~/.local/share/Zeal/Zeal/docsets, ~/.config/Zeal/Zeal.conf, Flatpak org.zealdocs.Zeal, and /usr/share/zeal/docsets), or click Browse... to pick a custom folder containing *.docset bundles.
  3. Optionally click Auto-Detect Needs to scan your workspace #include headers (such as <mpi.h> and C++ STL headers) for recommended docsets.
  4. Click Apply or OK. Discovered SQLite docsets (docSet.dsidx) immediately appear in the Reference Manual dropdown.

Read Live System man Pages

What you will do: Query Linux, POSIX, glibc, or installed MPI man pages inside the themed reader.

  1. In the Reference Manual header bar, click MAN PAGES.
  2. Type a function or section query (for example, pthread_create, MPI_Init, printf, or 3 malloc) and press Enter.
  3. GridLock runs man -Thtml asynchronously and styles the output to match your active dark or light theme. If a host man page is not installed, GridLock automatically falls back to its built-in offline reference card when available.

Reference Manual Man Pages Tab rendering pthread_create


Search Local and Repository HPC Packages

What you will do: Check whether MPI toolchains, debuggers, or scientific libraries (openmpi, mpich, gdb, hypre, fftw, cmake) are installed on your workstation or available from Spack and system repositories.

  1. Click the MPI icon on the bottom tool rail (Alt+5) and select the Package Manager tab.
  2. Leave the Backend selector on Auto (<detected>) or explicitly pick spack, dnf, pacman, apt, zypper, or rpm.
  3. Choose a Status Filter:
    • All Packages merges installed packages with repository results.
    • Installed Only filters strictly against your local host inventory (instant and offline).
    • Available Only shows uninstalled packages available from configured repositories.
  4. Type a query (such as mpi or fftw) to filter cached local packages immediately, then press Enter to run an asynchronous repository search.
  5. Switch output layouts anytime using Table (structured columns), List (compact scannable rows), or Raw (full backend CLI transcript). Click Refresh after installing new packages or Spack specs to re-index the local cache.

HPC Package Manager Search in Table View


Reference

Built-In Offline Manual Coverage

  • MPI-3.1 Routines: MPI_Init, MPI_Send, MPI_Recv, MPI_Isend, MPI_Irecv, MPI_Wait, MPI_Waitall, MPI_Barrier, MPI_Bcast, MPI_Reduce, MPI_Allreduce, MPI_Gather, MPI_Scatter, MPI_Comm_rank, MPI_Comm_size, MPI_Finalize.
  • x86-64 Instructions & ABI: Common instructions (mov, add, sub, xor, test, cmp, lea, call, ret, syscall) and System V AMD64 calling-convention register roles (x86_64-abi).
  • GDB / GDB/MI: Core command and MI quick reference (gdb-mi).

Supported Package Manager Backends

Backend Underlying Command Scope
Auto (<detected>) First detected host manager Automatically selects the host's primary HPC or distro manager.
spack spack list -d <query> Spack HPC recipes and locally installed Spack specs.
dnf dnf --quiet search <query> Fedora / RHEL / Rocky Linux repositories and RPM database.
pacman pacman -Ss <query> Arch Linux / Manjaro repositories and local pacman database.
apt apt-cache search <query> Debian / Ubuntu APT caches and dpkg-query local packages.
zypper zypper --non-interactive se -s <query> openSUSE / SLES repositories.
rpm Local rpm database Offline query of locally installed RPM packages.
EasyBuild (eb) eb (auto-detected) Detected automatically on HPC clusters providing EasyBuild modules.

Clone this wiki locally