Hi all,<br><br>When I tried to debug mpi program using xterm, xterm (or gdb) is hung with the message "Thread debugging using libthread_db enabled"<br>Anybody knows what I can do to debug?<br><br>Thanks,<br>Shawn<br>
<br>$ mpiexec -np 2 xterm -hold -e gdb ./io<br><br>GNU gdb 6.8-debian<br>Copyright (C) 2008 Free Software Foundation, Inc.<br>License GPLv3+: GNU GPL version 3 or later <<a href="http://gnu.org/licenses/gpl.html">http://gnu.org/licenses/gpl.html</a>><br>
This is free software: you are free to change and redistribute it.<br>There is NO WARRANTY, to the extent permitted by law. Type "show copying"<br>and "show warranty" for details.<br>This GDB was configured as "x86_64-linux-gnu"...<br>
(gdb) b MPI_File_write_all<br>Breakpoint 1 at 0x4131f4: file /home/seokim/diotrace/MPICH2/mpich2-1.4/src/mpi/romio/mpi-io/write_all.c, line 53.<br>(gdb) run<br>Starting program: /home/seokim/diotrace/Benchmarks/shawn-io/write/io <br>
[Thread debugging using libthread_db enabled]<br><br><br><br>