mirror of https://github.com/BOINC/boinc.git
383 lines
13 KiB
HTML
383 lines
13 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html>
|
|
<head>
|
|
<meta content="text/html; charset=ISO-8859-1"
|
|
http-equiv="content-type">
|
|
<title>boinc and seti@home quick install guide</title>
|
|
</head>
|
|
<body>
|
|
<big>
|
|
|
|
<big style="font-weight: bold;"><big>BOINC and SETI@home quick install
|
|
guide for HPUX</big></big></big><br>
|
|
<br>
|
|
From Lars Bausch
|
|
<br>
|
|
<big><br>
|
|
<big>0. Releases </big></big><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>
|
|
<big><big>1. Install the package</big></big><br>
|
|
|
|
<br>
|
|
<big>1.1 Install with swinstall</big><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<big>le<br>
|
|
<br>
|
|
<br>
|
|
1.2 Install not via swinstall</big><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>
|
|
<big><big>2. add a group and a user</big> </big><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>
|
|
<big><br>
|
|
|
|
<big>3. Register your Account for seti@home</big></big><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>
|
|
<big><br>
|
|
<big>4. Start client and seti app</big></big><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>
|
|
<big><big><br>
|
|
5. Installation finished. </big></big><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>
|
|
<big><big>6. Additional Configurations </big> </big><br>
|
|
<br>
|
|
<big>6.1 Multi processor systems </big><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>
|
|
<big>6.2 Patches + OS Revisions</big><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>
|
|
<big>6.2.1 HPUX 11.0 </big><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>
|
|
<big>6.2.2 HPUX 11.11 (11i Version 1)</big><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>
|
|
<big>6.2.3 HPUX 11.23 (11i Version 2 at PARISC)</big><br>
|
|
<br>
|
|
Minimum Patches : Required Patch Bundle September 2004<br>
|
|
<br>
|
|
<big><br>
|
|
6.2.4 HPUX 11.2x (11i Version 1 and Version 2 at Itanium (IA64))</big><br>
|
|
|
|
<br>
|
|
Minimum Patches : Required Patch Bundle September 2004<br>
|
|
<br>
|
|
<big><br>
|
|
6.2.5 HPUX 10.20 </big><br>
|
|
<br>
|
|
Not tested, but the binaries should run successfull.<br>
|
|
<br>
|
|
<br>
|
|
<big>6.3 Kernel Parameters</big><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>
|
|
<big>6.4 Startup script </big><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>
|
|
|
|
<big><big>7. Additional notes</big></big><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>
|