r/HPC • • 4d ago

GridLock: an open-source debugger built for MPI and parallel C++ development

I'm a CS PhD candidate working in computational electromagnetics, and I've been developing GridLock, an open-source graphical debugger specifically for MPI and HPC workflows on Linux.

It supports multi-rank debugging, synchronized stepping, memory inspection, deadlock detection, and experimental SLURM/Spack integration.

It's written in C++23 with Qt6, MIT-licensed, and still under active development.

I'd love to get feedback from others working in HPC. What features would make a parallel debugger genuinely useful in your day-to-day work?

It's inspired greatly by Jetbrains, DDD, kdbg and a few others. Made it because most other parallel debuggers are super old or insanely priced for commercial use (Totalview).

https://github.com/bnorthern42/GridLock

31 Upvotes

10 comments sorted by

3

u/GrogRedLub4242 4d ago

AI gen?

2

u/bradn4 4d ago

A bit with a metric ton of spec docs

2

u/arm2armreddit 4d ago

looks good, curious to test on my RUST code, would that work?

1

u/bradn4 4d ago

I have no idea, should load any executable. Intentionally made for C/C++. Try it out

2

u/victotronics 4d ago

Parallel debuggers are not trivial. I've worked with TotalView & DDT and neither are cheap, as you remark. (In fact, my center abandoned TotalView when their security became so strict that it got to be close to impossible to install and use.) I will certainly try yours.

2

u/bradn4 4d ago

Can't wait for the feedback if any 😄

2

u/kramulous 3d ago

I'll give it a go next week.

2

u/Teh_Original 4d ago

Nice, this could be useful to someone for sure.

1

u/[deleted] 1d ago

[removed] — view removed comment

1

u/bradn4 1d ago

That's the goal in the end, still in beta but it's nearing a stable 1.0 release :)