Changes between Version 5 and Version 6 of jazz/mpich2_guide


Ignore:
Timestamp:
Jul 2, 2008, 10:00:55 PM (16 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/mpich2_guide

    v5 v6  
    6262}}}
    6363
    64  *
     64 * 6.1 MPD
     65   * '''mpdlistjobs''' lists the jobs that the mpd’s are running. Jobs are identified by the name of the mpd where they were submitted and a number.
     66   * '''mpdsigjob''' delivers a signal to the named job. Signals are specified by name or number.
    6567{{{
    6668tty1:
     
    9294pgm      = /home/jazz/demo1
    9395}}}
     96 * 7.1 gdb via mpiexec
     97   * If there are no gdb installed in your system, you might have following error message:
     98{{{
     99jazz@bio-cluster-12:~$ mpiexec -gdb -n 2 /home/jazz/demo1
     1000: Traceback (most recent call last):
     1010:   File "/usr/bin/mpdgdbdrv.py", line 78, in ?
     1020:     write(gdb_sin_fileno,'handle SIGUSR1 nostop noprint\n')
     1030: OSError: [Errno 32] Broken pipe
     1041: Traceback (most recent call last):
     1051:   File "/usr/bin/mpdgdbdrv.py", line 75, in ?
     1061:     write(gdb_sin_fileno,'set confirm off\n')
     1071: OSError: [Errno 32] Broken pipe
     108}}}
     109   * After install gdb, you can use gdb to debug your MPICH2 program.
     110{{{
     111jazz@bio-cluster-12:~$ sudo apt-get install gdb
     112jazz@bio-cluster-12:~$ mpiexec -gdb -n 2 /home/jazz/demo1
     1131: Traceback (most recent call last):
     1141:   File "/usr/bin/mpdgdbdrv.py", line 75, in ?
     1151:     write(gdb_sin_fileno,'set confirm off\n')
     1161: OSError: [Errno 32] Broken pipe
     1170:  (gdb) l
     1180:  4    * History:
     1190:  5    *   2008-04-09 BETA
     1200:  6    *   2008-06-25 增加顯示主機名稱功能
     1210:  7   */
     1220:  8
     1230:  9   #include <stdio.h>
     1240:  10  #include <unistd.h>
     1250:  11  #include "mpi.h"
     1260:  12  int main (int argc, char **argv)
     1270:  13  {
     1280:  (gdb)
     129}}}
    94130
    95131== Offical [http://www.mcs.anl.gov/research/projects/mpich2/documentation/files/mpich2-doc-install.pdf Installer's Guide] ==