boinc/doc/app.html

45 lines
1.6 KiB
HTML
Raw Normal View History

<h2>Platforms, applications, and versions</h2>
<p>
A <b>platform</b> is a compilation target
(Windows/Intel, Linux/Intel, MacOS/PPC, etc.).
Platforms are maintained in the <b>platform</b> table in the BOINC DB,
and can be created using the <a href=tools.html>add</a> utility program.
<p>
An <b>application</b> is a computational task;
in concrete terms it consists of an executable program
(perhaps in versions for various platforms)
and a set of input files to be processed by the program.
A project can operate many applications.
Applications are maintained in the <b>application</b> table in the BOINC DB,
and can be created using the <a href=tools.html>add</a> utility.
<p>
An application program may go through a sequence of
<a href=version.html>versions</a>.
A particular version, compiled for a particular platform,
is called an <b>application version</b>.
An application version can consist of multiple files:
for example, a controller script,
pre- and post-processing programs, and a primary.
<p>
Application version are maintained in the <b>app_version</b>
table in the BOINC DB,
Each entry includes an XML document describing the files
that make up the application version:
<pre>
&lt;file_info> ... &lt;/file_info>
[ ... ]
&lt;app_version>
&lt;app_name>foobar&lt;/app_name>
&lt;version_num>4&lt;/version_num>
&lt;file_ref>
&lt;file_name>program_1&lt;/file_name>
&lt;main_program/>
&lt;/file_ref>
&lt;file_ref>
&lt;file_name>library_12&lt;/file_name>
&lt;/file_ref>
&lt;/app_version>
</pre>
The <a href=tools.html>add</a> utility program provides
a simplified interface for creating application versions.