Advertisement
Guest User

Untitled

a guest
Nov 10th, 2012
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.05 KB | None | 0 0
  1. [marve@hpc1 ~]$ qsub -lnodes=2:ppn=2,walltime=1000 -I
  2. qsub: waiting for job 8.hpc1.cc.uit.no to start
  3. qsub: job 8.hpc1.cc.uit.no ready
  4.  
  5. [marve@compute-0-2 ~]$ cd rpmbuild/BUILD/mpiexec-0.84/
  6. [marve@compute-0-2 mpiexec-0.84]$ gdb ./mpiexec
  7. GNU gdb (GDB) Red Hat Enterprise Linux (7.2-56.el6)
  8. Copyright (C) 2010 Free Software Foundation, Inc.
  9. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  10. This is free software: you are free to change and redistribute it.
  11. There is NO WARRANTY, to the extent permitted by law. Type "show copying"
  12. and "show warranty" for details.
  13. This GDB was configured as "x86_64-redhat-linux-gnu".
  14. For bug reporting instructions, please see:
  15. <http://www.gnu.org/software/gdb/bugs/>...
  16. Reading symbols from /home/marve/rpmbuild/BUILD/mpiexec-0.84/mpiexec...done.
  17. (gdb) set args /home/marve/hello.mpich2.x
  18. (gdb) run
  19. Starting program: /home/marve/rpmbuild/BUILD/mpiexec-0.84/mpiexec /home/marve/hello.mpich2.x
  20. [Thread debugging using libthread_db enabled]
  21. Detaching after fork from child process 20621.
  22. hello from 3/4 hostname compute-0-1.local pid 20155 with 0 args:
  23. hello from 0/4 hostname compute-0-2.local pid 20622 with 0 args:
  24. hello from 1/4 hostname compute-0-2.local pid 20623 with 0 args:
  25. hello from 2/4 hostname compute-0-1.local pid 20148 with 0 args:
  26. ^C
  27. Program received signal SIGINT, Interrupt.
  28. 0x0000003fd70ac3a0 in __nanosleep_nocancel () from /lib64/libc.so.6
  29. Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.80.el6_3.5.x86_64 keyutils-libs-1.4-4.el6.x86_64 krb5-libs-1.9-33.el6_3.3.x86_64 libcom_err-1.41.12-12.el6.x86_64 libselinux-2.0.94-5.3.el6.x86_64 libxml2-2.7.6-8.el6_3.3.x86_64 openssl-1.0.0-25.el6_3.1.x86_64 zlib-1.2.3-27.el6.x86_64
  30. (gdb) bt
  31. #0 0x0000003fd70ac3a0 in __nanosleep_nocancel () from /lib64/libc.so.6
  32. #1 0x0000003fd70e1574 in usleep () from /lib64/libc.so.6
  33. #2 0x0000000000408f17 in wait_task_start () at start_tasks.c:920
  34. #3 0x0000000000408d44 in start_tasks (spawn=0) at start_tasks.c:843
  35. #4 0x00000000004044a9 in main (argc=1, argv=0x7fffffffdf50) at mpiexec.c:825
  36. (gdb) set args -comm none uname -a
  37. (gdb) run
  38. The program being debugged has been started already.
  39. Start it from the beginning? (y or n) y
  40. Starting program: /home/marve/rpmbuild/BUILD/mpiexec-0.84/mpiexec -comm none uname -a
  41. [Thread debugging using libthread_db enabled]
  42. Detaching after fork from child process 20628.
  43. Linux compute-0-2.local 2.6.32-279.11.1.el6.x86_64 #1 SMP Tue Oct 16 15:57:10 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
  44. Linux compute-0-2.local 2.6.32-279.11.1.el6.x86_64 #1 SMP Tue Oct 16 15:57:10 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
  45. Linux compute-0-1.local 2.6.32-279.11.1.el6.x86_64 #1 SMP Tue Oct 16 15:57:10 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
  46. Linux compute-0-1.local 2.6.32-279.11.1.el6.x86_64 #1 SMP Tue Oct 16 15:57:10 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
  47. ^C
  48. Program received signal SIGINT, Interrupt.
  49. 0x0000003fd70ac3a0 in __nanosleep_nocancel () from /lib64/libc.so.6
  50. (gdb) bt
  51. #0 0x0000003fd70ac3a0 in __nanosleep_nocancel () from /lib64/libc.so.6
  52. #1 0x0000003fd70e1574 in usleep () from /lib64/libc.so.6
  53. #2 0x0000000000408f17 in wait_task_start () at start_tasks.c:920
  54. #3 0x0000000000408d44 in start_tasks (spawn=0) at start_tasks.c:843
  55. #4 0x00000000004044a9 in main (argc=2, argv=0x7fffffffdf40) at mpiexec.c:825
  56. (gdb) list
  57. 657
  58. 658 static void show_exit_statuses(void);
  59. 659
  60. 660 int
  61. 661 main(int argc, const char *argv[])
  62. 662 {
  63. 663 int i, j, jmp_return, ret;
  64. 664 struct passwd *pswd_tmp;
  65. 665
  66. 666 set_progname(argc, argv);
  67. (gdb) up
  68. #1 0x0000003fd70e1574 in usleep () from /lib64/libc.so.6
  69. (gdb) up
  70. #2 0x0000000000408f17 in wait_task_start () at start_tasks.c:920
  71. 920 usleep(200000);
  72. (gdb) list
  73. 915
  74. 916 ep = poll_event();
  75. 917 if (ep)
  76. 918 dispatch_event(ep);
  77. 919 else
  78. 920 usleep(200000);
  79. 921
  80. 922 if (ret || numtasks_waiting_start_entry != numtasks_waiting_start)
  81. 923 break;
  82. 924 }
  83. (gdb)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement