[mpich-discuss] gdb in mpiexec

Rob Latham robl at mcs.anl.gov
Tue Oct 25 09:57:24 CDT 2011


On Sun, Oct 23, 2011 at 10:59:36AM -0500, Pavan Balaji wrote:
> Hi Wei-keng,
> 
> The "gdb" command-line in mpd is internal to mpd. It doesn't have
> all the features of regular gdb, unfortunately.

You might want to try "mpiexec -n 1 xterm -e gdb hello", which spawns
an xterm which in turn starts gdb which (finally) executes your
program.

==rob

-- 
Rob Latham
Mathematics and Computer Science Division
Argonne National Lab, IL USA


More information about the mpich-discuss mailing list