can I use gdb to dubug MPI run

Karganov Konstantin kostik@ispras.ru
Sat Jun 25 16:32:00 GMT 2005


> 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.




More information about the Gdb mailing list