Subject: Re: [OMPI users] MPI debugger
From: Jed Brown (jed_at_[hidden])
Date: 2010-01-11 01:20:03
On Sun, 10 Jan 2010 19:29:18 +0000, Ashley Pittman <ashley_at_[hidden]> wrote:
> It'll show you parallel stack traces but won't let you single step for
Two lightweight options if you want stepping, breakpoints, watchpoints,
* Use serial debuggers on some interesting processes, for example with
mpiexec -n 1 xterm -e gdb --args ./trouble args : -n 2 ./trouble args : -n 1 xterm -e gdb --args ./trouble args
to put an xterm on rank 0 and 3 of a four process job (there are lots
of other ways to get here).
* MPICH2 has a poor-man's parallel debugger, mpiexec.mpd -gdb allows you
to send the same gdb commands to each process and collate the output.