No, Darius, <br><br>I am just trying to debug two processes using one xterm.<br><br>- shawn<br><br><div class="gmail_quote">On Wed, Oct 26, 2011 at 2:02 PM, Darius Buntinas <span dir="ltr"><<a href="mailto:buntinas@mcs.anl.gov">buntinas@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
Just to clarify, are you getting two xterms with gdb and giving a run command in both?<br>
<br>
-d<br>
<div><div></div><div class="h5"><br>
On Oct 26, 2011, at 12:11 PM, Shawn Kim wrote:<br>
<br>
> 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" target="_blank">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>
</div></div>> _______________________________________________<br>
> mpich-discuss mailing list <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>
> To manage subscription options or unsubscribe:<br>
> <a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
<br>
_______________________________________________<br>
mpich-discuss mailing list <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
</blockquote></div><br>