[mpich-discuss] gdb in mpiexec using xterm

Shawn Kim shawn.subscribe at gmail.com
Wed Oct 26 12:11:04 CDT 2011


Hi all,

When I tried to debug mpi program using xterm, xterm (or gdb) is hung with
the message "Thread debugging using libthread_db enabled"
Anybody knows what I can do to debug?

Thanks,
Shawn

$ mpiexec -np 2 xterm -hold -e gdb ./io

GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
(gdb) b MPI_File_write_all
Breakpoint 1 at 0x4131f4: file
/home/seokim/diotrace/MPICH2/mpich2-1.4/src/mpi/romio/mpi-io/write_all.c,
line 53.
(gdb) run
Starting program: /home/seokim/diotrace/Benchmarks/shawn-io/write/io
[Thread debugging using libthread_db enabled]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20111026/03c5ffeb/attachment.htm>


More information about the mpich-discuss mailing list