-
Notifications
You must be signed in to change notification settings - Fork 9
/
hpux.html
384 lines (355 loc) · 12.9 KB
/
hpux.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
<!DOCTYPE html>
<html lang="en">
<head>
<meta content="text/html; charset=utf-8" http-equiv="content-type">
<title>boinc and seti@home quick install guide</title>
<style>
strong { font-size:larger; margin:0 }
</style>
</head>
<body>
<strong>
<strong style="font-weight: bold;"><strong>BOINC and SETI@home quick install
guide for HPUX</strong></strong></strong><br>
<br>
From Lars Bausch
<br>
<strong><br>
<strong>0. Releases </strong></strong><br>
<br>
There are some different depots for specifiy (optimized) plattforms
available :<br>
<br>
- seti-boinc_parisc_32.depot.gz : 32 Bit PARISC (PARISC 1.1
CPUs, aka PARISC <br>
7x00 and 2.0 8x00 CPUs (aka PARISC 2.0). Runs on 64 Bit
also, The seti app <br>
is 20 % slower than the 64 bit optimized binary). Should
also run on IA64 <br>
(Itanium), but very slow. HPUX 11.x (11.0, 11.11 (11i
Version 1) and 11.23 (<br>
11i Version 2)<br>
<br>
- seti-boinc_parisc_64.depot.gz : 64 bit for PARISC 8x00 (aka
PARISC 2.0). <br>
Should run slow on IA64. HPUX 11.x (11.0, 11.11 (11i
Version 1) and 11.23 (<br>
11i Version 2)<br>
<br>
- seti-boinc_ia64_32.depot.gz : 32 bit for Itanium on HPUX 11.2x
(11i Version <br>
1 and Version 2).<br>
<br>
>From more informations about the defintion from
workstation/server/model to <br>
architecure and cpu version look at /usr/bin/sched.models.<br>
<br>
<br>
<br>
<strong><strong>1. Install the package</strong></strong><br>
<br>
<strong>1.1 Install with swinstall</strong><br>
<br>
Unzip the depot package : <br>
gunzip
seti-boinc_32.depot.gz <br>
<br>
Swinstall the depot <br>
swinstall -s
$PATH_TO_BOINC_DEPOT/seti-boinc_32.depot \* <br>
<br>
Source your /etc/profile with the new entries required for boinc and
seti : <br>
. /etc/profi<strong>le<br>
<br>
<br>
1.2 Install not via swinstall</strong><br>
<br>
If you don't wan't to intstall the binaries with swinstall. i<br>
<br>
gunzip seti-boinc_parisc-64_1.4.depot.gz<br>
<br>
tar -xvf seti-boinc_parisc-64_1.4.depot<br>
<br>
cp -R seti-boinc_64/*/opt/boinc /opt/<br>
<br>
cp ./catalog/seti-boinc_64/SETI_BOINC-LIB/postinstall /opt/boinc<br>
-> now you can make a tar file for example, from
the destination directory <br>
/opt/boinc to copy it to other
sytems, or move wherever you want. <br>
<br>
Add this to /etc/profile, or the in the profile of the user : <br>
SHLIB_PATH=$DESTINATION_DIR_FROM_BOINC/lib:$SHLIB_PATH<br>
-> for example
SHLIB_PATH=/home/seti/lib <br>
export SHLIB-PATH<br>
<br>
Source your /etc/profile, with the new entries required for boinc and
seti : <br>
. /etc/profile<br>
<small><br>
<br>
</small><br>
<strong><strong>2. add a group and a user</strong> </strong><br>
<br>
Don't run the boinc client and seti app as root !<br>
<br>
This steps require a root account :<br>
<br>
Add a group (groupadd -g $GROUPID $GROUPNAME ) : <br>
groupadd -g 200 seti<br>
<br>
Add a user (useradd -u $USERID -g $GROUPID -d $HOMEDIRECTORY
$USERNAME) : <br>
useradd -u 200 -g 200
-d /opt/boinc seti<br>
<br>
Change the password for you new user (passwd $USERNAME):<br>
passwd seti<br>
<br>
Change the owner and group for the boinc directory, where the client is
located (<br>
chown $USERNAME:$GROUPNAME $SETIDIRECTORY)<br>
chown seti:seti /opt/boinc<br>
<br>
Feel free to change the directories, if you want... <br>
<br>
<br>
<strong><br>
<strong>3. Register your Account for seti@home</strong></strong><br>
<br>
You can use the standard registration mechanism within the client : <br>
./boinc_client
-attach_project setiweb.berkeley.edu $ACCOUNT_KEY<br>
<br>
If this don't work, whis workaround helps :<br>
<br>
Change $ACCOUNT_KEY in the file
/opt/boinc/account_setiathome.berkeley.edu.xml<br>
in the key you get from email from the seti@home project. <br>
Edit line 3, and do not set any blanks before or after the key. <br>
<br>
<account><br>
<master_url>http://setiathome.berkeley.edu/</master_url><br>
<authenticator>$ACCOUNT_KEY</authenticator><br>
<project_name>SETI@home</project_name><br>
<host_venue>home</host_venue><br>
<project_preferences><br>
</project_preferences><br>
</account><br>
<br>
<br>
<strong><br>
<strong>4. Start client and seti app</strong></strong><br>
<br>
Login as your new user, and start the boinc_client : <br>
<br>
seti@windu:/opt/boinc # ./boinc_client<br>
2005-06-08 08:53:22 [---] Starting BOINC client version 4.32 for
hppa1.1-hp-hpux11.11<br>
2005-06-08 08:53:22 [---] Data directory: /opt/boinc<br>
2005-06-08 08:53:22 [SETI@home] Using your default project prefs<br>
2005-06-08 08:53:22 [SETI@home] Found app_info.xml; using anonymous
platform<br>
2005-06-08 08:53:22 [SETI@home] Host ID not assigned yet<br>
2005-06-08 08:53:22 [---] No general preferences found - using BOINC
defaults<br>
2005-06-08 08:53:22 [---] Running CPU benchmarks<br>
2005-06-08 08:54:21 [---] Benchmark results:<br>
2005-06-08 08:54:21 [---] Number of CPUs: 1<br>
2005-06-08 08:54:21 [---] 407 double precision MIPS
(Whetstone) per CPU<br>
2005-06-08 08:54:21 [---] 823 integer MIPS
(Dhrystone) per CPU<br>
2005-06-08 08:54:21 [---] Finished CPU benchmarks<br>
2005-06-08 08:54:21 [---] Resuming computation and network activity<br>
2005-06-08 08:54:21 [---] Insufficient work; requesting more<br>
2005-06-08 08:54:26 [---] Insufficient work; requesting more<br>
2005-06-08 08:54:26 [SETI@home] Requesting 8640.00 seconds of work<br>
2005-06-08 08:54:26 [SETI@home] Sending request to scheduler:
http://setiboinc.ssl.berkeley.edu/sah_cgi/cgi<br>
2005-06-08 08:54:36 [SETI@home] Scheduler RPC to
http://setiboinc.ssl.berkeley.edu/sah_cgi/cgi succeeded<br>
2005-06-08 08:54:36 [SETI@home] General preferences have been updated<br>
2005-06-08 08:54:36 [---] General prefs: from SETI@home (last modified
2005-04-29 22:36:58)<br>
2005-06-08 08:54:36 [---] General prefs: using your defaults<br>
2005-06-08 08:54:37 [---] May run out of work in 2.00 days; requesting
more<br>
2005-06-08 08:54:37 [SETI@home] Requesting 104104.99 seconds of work<br>
2005-06-08 08:54:37 [SETI@home] Sending request to scheduler:
http://setiboinc.ssl.berkeley.edu/sah_cgi/cgi<br>
2005-06-08 08:54:37 [SETI@home] Started download of
10ja05aa.4505.3922.473568.100<br>
2005-06-08 08:54:40 [SETI@home] Finished download of
10ja05aa.4505.3922.473568.10<br>
2005-06-08 08:54:40 [SETI@home] Throughput 6378 bytes/sec<br>
2005-06-08 08:54:41 [SETI@home] Resuming computation for result
10ja05aa.4505.3922.473568.10 using setiathome version 4.07<br>
<br>
If you get some SIGSEGV from the boinc_client or setiathome app at <br>
HPUX 11.11(11i V.1), it could be, that you will need some additional
patches. <br>
Look at 6.2.<br>
<br>
<br>
<strong><strong><br>
5. Installation finished. </strong></strong><br>
<br>
If you have some problems, try a look in the forum of the setiathome
website (<br>
setiweb.berkeley.edu) or Paul Bucks excelent documentations
(www.boinc-doc.net)<br>
If you have some problems with the hpux binary, feel free, to contact
me. <br>
<br>
<br>
<br>
<strong><strong>6. Additional Configurations </strong> </strong><br>
<br>
<strong>6.1 Multi processor systems </strong><br>
<br>
For muli processor systems, you need to setup the preferences on your
account <br>
page. If this is not configured, your multi processor system will only
use one <br>
cpu.<br>
<br>
At the seti homepage (setiweb.berkeley.edu) login with your account.<br>
Click to "View or edit general preferences". Then to "Edit preferences"<br>
Add in the section "On multiprocessors, use at most XX processors" the
number <br>
of CPUs your system have, and click to "Update preferences".<br>
<br>
Now, you need to update your client with the new preferences you made
on the <br>
website :<br>
seti@windu:/opt/boinc # ./boinc_client -update_prefs
http://setiathome.berkeley.edu<br>
<br>
You client will download some new work...<br>
<br>
<br>
<strong>6.2 Patches + OS Revisions</strong><br>
<br>
You can dowload this patches and patchbundles at the HP IT Resource
Centre (<br>
itrc) at itrc.hp.com. <br>
The registration at the itrc is for free and don't depends on any
support<br>
agreements.<br>
<br>
<br>
<strong>6.2.1 HPUX 11.0 </strong><br>
<br>
Minimum Patches : Quality Pack (QPK) September 2003 and General Relase
Patches<br>
November 1999<br>
<br>
Recommended Patches : Quality Pack (QPK) and HardwareEnablement (HWE)
patches <br>
from June 2004, Required Patches June 2003<br>
<br>
<br>
<strong>6.2.2 HPUX 11.11 (11i Version 1)</strong><br>
<br>
Minimum Patches : Gold Pack (GPK) and HardwareEnablement (HWE) patches
from <br>
Dec.2003. Required Patch Bundle June 2003 <br>
<br>
Recommended Patches : Gold Pack (GPK) and HardwareEnablement (HWE)
patches from<br>
Dec. 2004, and Required Patch Bunlde Dec.2004<br>
<br>
If you have some problems, that you get a SIGSEGV with the minimum or
recommened patches,<br>
please install this additional patches :<br>
- PHCO_31903 (libc cumulative patch)<br>
- PHKL_32806 (Cumulative VM patch)<br>
- PHKL_32647 (Extending Physical I/O Addressing) <br>
- PHSS_30970 (ld(1) and linker tools cumulative patch) <br>
- PHKL_32204 (VM core(4) related changes)<br>
<br>
<br>
<strong>6.2.3 HPUX 11.23 (11i Version 2 at PARISC)</strong><br>
<br>
Minimum Patches : Required Patch Bundle September 2004<br>
<br>
<strong><br>
6.2.4 HPUX 11.2x (11i Version 1 and Version 2 at Itanium (IA64))</strong><br>
<br>
Minimum Patches : Required Patch Bundle September 2004<br>
<br>
<strong><br>
6.2.5 HPUX 10.20 </strong><br>
<br>
Not tested, but the binaries should run successfull.<br>
<br>
<br>
<strong>6.3 Kernel Parameters</strong><br>
<br>
The binaries will run with the default HPUX Kernel parameters. But if
you wan't<br>
to use more than one Application or have some special things running on
your<br>
system, you should have a look at your kernelparameters.<br>
<br>
Changing some kernelparameters will increase the perfomance of the
whole system.<br>
Some kernelparameters which should changed to increase performance :<br>
maxfiles 1024<br>
maxuprc 256 <br>
maxdsiz_64bit 0X40000000<br>
maxfiles 1024<br>
maxssiz 0X4000000<br>
maxssiz_64bit 0X4000000<br>
maxtsiz 0X4000000<br>
maxtsiz_64bit 0X40000000<br>
shmmax 0X4000000<br>
maxusers 128 or higher for
Servers (256..512). But a good start for a <br>
workstation) <br>
<br>
<br>
<strong>6.4 Startup script </strong><br>
<br>
In /sbin/init.d is a script for start boinc at boot and stop for
shutdown. <br>
It's linked to /sbino/rc3.d/S990boinc. <br>
It will also redirect stdout and stderr from the boinc client, redirect
the <br>
output from the boinc script /opt/boinc/boinc.sh to
/opt/boinc/boinc.log. The <br>
script will keep on boinc running in a look, and could mail you, if
boinc was<br>
terminated abnormaly.<br>
This script is configurable by /etc/rc.config.d/boinc. For details how
to <br>
configure, please look into /etc/rc.config.d/boinc. <br>
<br>
<br>
<br>
<strong><strong>7. Additional notes</strong></strong><br>
<br>
This quick install guide is available as "readme" in the swpackage, and
if you <br>
have installed it under /opt/boinc/doc/install.<br>
In /opt/boinc/doc there are some further readmes about the boinc client
and <br>
seti app.<br>
<br>
<br>
<br>
<br>
<small><small><small>V.1.6, 31.7.05, Lars Bausch</small></small></small><br>
</body>
</html>