*** empty log message ***

svn path=/trunk/boinc/; revision=4930
This commit is contained in:
Karl Chen 2004-12-26 00:14:51 +00:00
parent 786c1809d1
commit 15ae6fce32
2 changed files with 84 additions and 66 deletions

View File

@ -1,38 +1,43 @@
<?php
require_once("docutil.php");
page_head("Compiling BOINC client software yourself");
echo "
BOINC applications, and the BOINC core client, are native-mode programs,
so different versions are required for each platform
(a 'platform' is the combination of an operating
system and a processor type: e.g., Linux/IntelX86).
?>
<p>
BOINC-based projects compile program versions for common platforms
(Windows/Intel, Linux/Intel, Mac OS/X. etc.),
and place them on its servers.
A participant downloads the core client for his platform
(assuming that platform is supported by the project).
When the core client requests work from the project's scheduling server,
the client tells the server its platform,
and the server instructs it to download the appropriate executables.
BOINC applications, and the BOINC core client, are native-mode programs, so
different versions are required for each platform (a 'platform' is the
combination of an operating system and a processor type: e.g.,
Linux/IntelX86).
</p>
<p>
This addresses the needs of most BOINC participants,
but it's inadequate if:
BOINC-based projects compile program versions for common platforms
(Windows/Intel, Linux/Intel, Mac OS/X. etc.), and place them on its servers.
A participant downloads the core client for his platform (assuming that
platform is supported by the project). When the core client requests work
from the project's scheduling server, the client tells the server its
platform, and the server instructs it to download the appropriate
executables.
</p>
<p>
This addresses the needs of most BOINC participants, but it's inadequate if:
</p>
<ul>
<li>
your computers have platforms not supported by the project;
</li>
<li>
for security reasons,
you want to only run executables you have compiled yourself;
for security reasons, you want to only run executables you have compiled
yourself;
</li>
<li>
you want to optimize applications for particular architectures.
</li>
</ul>
<p>
To handle these cases, BOINC lets you compile programs yourself
rather than downloading them from the project.
Here's how it works:
To handle these cases, BOINC lets you compile programs yourself rather than
downloading them from the project. Here's how it works:
</p>
<ul>
<li>
@ -41,16 +46,17 @@ and the project's applications, and compile them on your computer
(instructions for compiling the core client are
<a href=build_client.php>here</a>).
Or download executables from a server of your choosing.
</li>
<li>
Run the core client and attach to the project.
This will create a 'project directory'
(whose name is the project URL) in the BOINC directory.
Exit the client.
Run the core client and attach to the project. This will create a
'project directory' (whose name is the project URL) in the BOINC
directory. Exit the client.
</li>
<li>
Create a file <b>app_info.xml</b> in the project directory.
This file lists the applications you have compiled or downloaded.
It has the following form:
<pre>", htmlspecialchars("
Create a file <b>app_info.xml</b> in the project directory. This file
lists the applications you have compiled or downloaded. It has the
following form:
<pre><![CDATA[
<app_info>
<app>
<name>setiathome</name>
@ -67,28 +73,37 @@ It has the following form:
</file_ref>
</app_version>
</app_info>
"), "</pre>
]]></pre>
</li>
<li>
Run the core client again.
When it requests work from the scheduling server,
it will report its platform as 'anonymous',
and provides a list of the applications it has.
The server then sends whatever work is available for those applications.
Run the core client again. When it requests work from the scheduling
server, it will report its platform as 'anonymous', and provides a list of
the applications it has. The server then sends whatever work is available
for those applications.
</li>
</ul>
This model is possible only with projects that make their application
source code available.
<p>
You may want to check out the following email lists
(e.g. the port may already exist):
This model is possible only with projects that make their application source
code available.
</p>
<p>
You may want to check out the following email lists (e.g. the port may
already exist):
</p>
<ul>
<li>
<a href=http://www.ssl.berkeley.edu/mailman/listinfo/boinc_opt>boinc_opt@ssl.berkeley.edu</a>: discussion of porting and optimization of BOINC applications.
<a href="http://www.ssl.berkeley.edu/mailman/listinfo/boinc_opt">
boinc_opt@ssl.berkeley.edu</a>:
discussion of porting and optimization of BOINC applications.
</li>
<li>
<a href=http://www.ssl.berkeley.edu/mailman/listinfo/boinc_dev>boinc_dev@ssl.berkeley.edu</a>: discussion of development and porting of BOINC software.
<a href="http://www.ssl.berkeley.edu/mailman/listinfo/boinc_dev">
boinc_dev@ssl.berkeley.edu</a>: discussion of development and porting of
BOINC software.
</li>
</ul>
<p>
";
<?php
page_tail();
?>

View File

@ -6,10 +6,10 @@ function last_mod() {
function page_head($title) {
$d = last_mod();
echo "
echo "<html>
<head>
<link rel='stylesheet' type='text/css' href=white.css>
<link rel='shortcut icon' href='iconsmall.ico'>
<link rel='stylesheet' type='text/css' href="white.css"/>
<link rel='shortcut icon' href='iconsmall.ico'/>
<title>$title</title>
</head>
<body bgcolor=ffffff>
@ -27,11 +27,14 @@ function page_head($title) {
function page_tail() {
echo "
<hr size=0 noshade>
<center>
<a href=/>Return to BOINC main page</a>
<br><br>
<hr size="0" noshade/>
<p align="center">
<a href="/">Return to BOINC main page</a>
<br/><br/>
Copyright &copy; 2004 University of California
</p>
</body>
</html>
";
}