Hi all,<br><br>When I tried to debug mpi program using xterm, xterm (or gdb) is hung with the message &quot;Thread debugging using libthread_db enabled&quot;<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 &lt;<a href="http://gnu.org/licenses/gpl.html">http://gnu.org/licenses/gpl.html</a>&gt;<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 &quot;show copying&quot;<br>and &quot;show warranty&quot; for details.<br>This GDB was configured as &quot;x86_64-linux-gnu&quot;...<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>