2002-07-29 19:01:38 +00:00
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
|
|
|
"http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<title>Core Client: File Structure</title>
|
|
|
|
<meta name="generator" content="BBEdit 6.1.2">
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h2>Core Client: File Structure</h2>
|
2002-04-30 22:22:54 +00:00
|
|
|
<p>
|
2002-07-29 19:01:38 +00:00
|
|
|
The core client runs in a BOINC home directory. An account file
|
|
|
|
(accounts.xml) must be present in this directory. The core client
|
|
|
|
creates and uses the following files and directories within the BOINC
|
|
|
|
home directory:
|
|
|
|
</p>
|
2002-04-30 22:22:54 +00:00
|
|
|
<ul>
|
2002-07-29 19:01:38 +00:00
|
|
|
<li>
|
|
|
|
<b>client_state.xml</b>: this is an description of the files,
|
|
|
|
application, workunits and results present on this client.
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
Each project has a <b>project subdirectory</b> whose name is the
|
|
|
|
project's base URL. This subdirectory contains all files (inputs,
|
|
|
|
outputs, executables) related to the project.
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<b>slots</b>: this directory contains one subdirectory for each
|
|
|
|
CPU "slot" (normally there are as many slots as the host has CPUs). The
|
|
|
|
subdirectories are named 0, 1, ... N-1.
|
|
|
|
</li>
|
2002-04-30 22:22:54 +00:00
|
|
|
</ul>
|
|
|
|
<p>
|
2002-07-29 19:01:38 +00:00
|
|
|
Each result executes in particular slot. The core client creates
|
|
|
|
symbolic links (UNIX) or .lnk files (Windows) in the slot directory,
|
|
|
|
linking the input, output and executable files to the appropriate files
|
|
|
|
in the project directory. On UNIX, the core client uses chroot() so that
|
|
|
|
the application sees the slot directory as the root of its filesystem,
|
|
|
|
and cannot create or access files outside of it.
|
|
|
|
</p>
|
|
|
|
</body>
|
|
|
|
</html>
|