This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: can I use gdb to dubug MPI run
- From: Karganov Konstantin <kostik at ispras dot ru>
- To: Huaer XC <huaer dot xc at gmail dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Sat, 25 Jun 2005 20:18:30 +0400 (MSD)
- Subject: Re: can I use gdb to dubug MPI run
> Is it possible that I use gdb to debug a MPI run on 4 processers. I
> can't find any related documents around. Any suggestions? Many thanks.
>
> Huaer
It depends on which MPI you have.
For MPICH it's surely possible - you can have a gdb on each process and
switch between processes from your mpirun console.
For details see ch_p4 docs in $MPICH_HOME/doc.
Best regards,
Konstantin.