| 58 | | === Registration === |
| 59 | | |
| 60 | | * Check which machine to use for the server, above. |
| 61 | | |
| 62 | | * Start the server: |
| 63 | | {{{ |
| 64 | | % ssh ipp@ippc09 |
| 65 | | % cd registration |
| 66 | | % pantasks_server & |
| 67 | | }}} |
| 68 | | * Start the client: |
| 69 | | {{{ |
| 70 | | % cd ~ipp/registration |
| 71 | | % pantasks_client |
| 72 | | pantasks: server input input |
| 73 | | pantasks: setup |
| 74 | | pantasks: run |
| 75 | | }}} |
| 76 | | |
| 77 | | === Replication === |
| 78 | | |
| 79 | | * Check which machine to use for the server, above. |
| 80 | | |
| 81 | | * Start the server: |
| 82 | | {{{ |
| 83 | | % ssh ipp@ippc004 |
| 84 | | % cd replication |
| 85 | | % pantasks_server & |
| 86 | | }}} |
| 87 | | * Start the client: |
| 88 | | {{{ |
| 89 | | % cd ~ipp/replication |
| 90 | | % pantasks_client |
| 91 | | pantasks: server input input |
| 92 | | pantasks: setup |
| 93 | | pantasks: run |
| 94 | | }}} |
| 95 | | |
| 96 | | === Standard science === |
| 97 | | |
| 98 | | * Check which machine to use for the server, above. |
| 99 | | |
| 100 | | * Start the server: |
| 101 | | {{{ |
| 102 | | % ssh ipp@ippc10 |
| 103 | | % cd stdscience |
| 104 | | % pantasks_server & |
| 105 | | }}} |
| 106 | | |
| 107 | | * Start the client: |
| 108 | | {{{ |
| 109 | | % cd ~ipp/stdscience |
| 110 | | % pantasks_client |
| 111 | | pantasks: server input input |
| 112 | | pantasks: setup |
| 113 | | pantasks: load.hosts.wave1 |
| 114 | | pantasks: load.hosts.wave2 |
| 115 | | pantasks: load.hosts.wave3 |
| 116 | | pantasks: load.hosts.compute |
| 117 | | pantasks: run |
| 118 | | pantasks: add.label (label) |
| 119 | | }}} |
| 120 | | Add as many hosts as needed. Something like 1x1, 3x2, 4x3, 4xC is probably needed full full-scale operations. |
| 121 | | |
| 122 | | * Add the survey automation information: |
| 123 | | {{{ |
| 124 | | pantasks: survey.add.diff (label) (dist_group) (workdir) |
| 125 | | pantasks: survey.add.magic (label) (workdir) |
| 126 | | pantasks: survey.add.destreak (label) (workdir) |
| 127 | | pantasks: survey.add.dist (label) |
| 128 | | }}} |
| 129 | | Note that the magic and destreak workdir values currently must not be nebulous names, but UNIX paths. For example: |
| 130 | | {{{ |
| 131 | | pantasks: survey.add.diff throughput.20091104 throughput.20091104 neb://@HOST@.0/gpc1/throughput.20091104 |
| 132 | | pantasks: survey.add.magic throughput.20091104 /data/ipp050.0/gpc1_destreak/throughput.20091104 |
| 133 | | pantasks: survey.add.destreak throughput.20091104 /data/ipp050.0/gpc1_destreak/throughput.20091104 |
| 134 | | pantasks: survey.add.dist throughput.20091104 |
| 135 | | }}} |
| 136 | | |
| 137 | | === Detection publication === |
| 138 | | |
| 139 | | * Check which machine to use for the server, above. |
| 140 | | |
| 141 | | * Start the server: |
| 142 | | {{{ |
| 143 | | % ssh ipp@ippc08 |
| 144 | | % cd publishing |
| 145 | | % pantasks_server & |
| 146 | | }}} |
| 147 | | |
| 148 | | * Start the client: |
| 149 | | {{{ |
| 150 | | % cd ~ipp/publishing |
| 151 | | % pantasks_client |
| 152 | | pantasks: server input input |
| 153 | | pantasks: setup |
| 154 | | pantasks: run |
| 155 | | }}} |
| 156 | | |
| 157 | | === Postage Stamp Server === |
| 158 | | |
| 159 | | * Check which machine to use for the server, above. |
| 160 | | |
| 161 | | * Start the server: |
| 162 | | {{{ |
| 163 | | % ssh ipp@ipp049 |
| 164 | | % cd pstamp |
| 165 | | % pantasks_server & |
| 166 | | }}} |
| 167 | | |
| 168 | | * Start the client: |
| 169 | | {{{ |
| 170 | | % cd ~ipp/pstamp |
| 171 | | % pantasks_client |
| 172 | | pantasks: server input input |
| 173 | | pantasks: setup |
| 174 | | pantasks: add.hosts |
| 175 | | pantasks: run |
| 176 | | }}} |
| 177 | | |
| 178 | | === Detrend Creation === |
| 179 | | |
| 180 | | * Check which machine to use for the server, above. |
| 181 | | |
| 182 | | * Start the server: |
| 183 | | {{{ |
| 184 | | % ssh ipp@ippc06 |
| 185 | | % cd detrend |
| 186 | | % pantasks_server & |
| 187 | | }}} |
| 188 | | |
| 189 | | * Start the client: |
| 190 | | {{{ |
| 191 | | % cd ~ipp/detrend |
| 192 | | % pantasks_client |
| 193 | | pantasks: server input input |
| 194 | | pantasks: setup |
| 195 | | pantasks: run |
| 196 | | }}} |
| 197 | | |
| | 58 | If all of the pantasks need to be started or stopped, it is more efficient to use check_system.sh. |
| | 64 | == Clean Checkout and Compile of IPP software == |
| | 65 | |
| | 66 | Make sure the trunk compiles. When it compiles, make a tag, for example: |
| | 67 | |
| | 68 | {{{ |
| | 69 | svn copy https://svn.pan-starrs.ifa.hawaii.edu/repo/ipp/trunk https://svn.pan-starrs.ifa.hawaii.edu/repo/tags/ipp-20100601 |
| | 70 | }}} |
| | 71 | and checkout a copy of this tag into ~ipp/src/ipp-20100601 |
| | 72 | |
| | 73 | compile it, using: |
| | 74 | {{{ |
| | 75 | psbuild -ops -extbuild |
| | 76 | }}} |
| | 77 | This builds it with the required magic libraries (and |
| | 78 | errors out if magic cannot be built), and sets the '-dev' option as |
| | 79 | well (builds ippdb.src rather than using the checked in version). |
| | 80 | |
| | 81 | If database changes are required, update BOTH gpc1 and isp, to keep them in sync. |
| | 82 | |
| | 83 | Currently, the following files need to be updated, to point to the current build: |
| | 84 | |
| | 85 | * .tcshrc |
| | 86 | * .ptolemyrc |
| | 87 | * addstar/ptolemyrc |
| | 88 | |
| | 89 | and the following file will need to be copied to the new location: |
| | 90 | |
| | 91 | * psconfig/(OLD_BUILD).lin64/share/pantasks/modules/nebulous.site.pro |
| | 92 | |
| | 93 | |
| | 94 | |
| | 95 | |
| | 96 | |
| | 97 | |
| | 98 | |
| | 99 | |