| 58 | * 5.7.1 MPD in the PBS environment |
| 59 | * One way to convert the node file to the MPD format is as follows: |
| 60 | {{{ |
| 61 | sort $PBS_NODEFILE | uniq -C | awk ’{ printf(”%s:%s”, $2, $1); }’ > mpd.nodes |
| 62 | }}} |
| 63 | |
| 64 | * |
| 65 | {{{ |
| 66 | tty1: |
| 67 | |
| 68 | jazz@bio-cluster-12:~$ mpiexec -n 2 /home/jazz/demo1 |
| 69 | This is machine 0 of 2 name = bio-cluster-12 |
| 70 | This is machine 1 of 2 name = bio-cluster-08 |
| 71 | |
| 72 | ================================================================= |
| 73 | tty2: |
| 74 | |
| 75 | jazz@bio-cluster-12:~$ mpdlistjobs |
| 76 | jobid = 4@bio-cluster-12_48909 |
| 77 | jobalias = |
| 78 | username = jazz |
| 79 | host = bio-cluster-12 |
| 80 | pid = 3619 |
| 81 | sid = 3618 |
| 82 | rank = 0 |
| 83 | pgm = /home/jazz/demo1 |
| 84 | |
| 85 | jobid = 4@bio-cluster-12_48909 |
| 86 | jobalias = |
| 87 | username = jazz |
| 88 | host = bio-cluster-08 |
| 89 | pid = 6187 |
| 90 | sid = 6186 |
| 91 | rank = 1 |
| 92 | pgm = /home/jazz/demo1 |
| 93 | }}} |
| 94 | |