Make your own client software
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/Intel).
The BOINC core client is available for common platforms (Windows/Intel, Linux/Intel, Mac OS/X. etc.) from this web site. BOINC-based projects compile program versions for some or all of these platforms and place them on their servers. Typically, you download the BOINC core client version for your platform. 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 program version.
This addresses the needs of most BOINC participants, but it's inadequate if:
- your computers have platforms not supported by BOINC or by the project;
- for security reasons, you want to only run executables you have compiled yourself;
- you want to optimize applications for particular architectures.
To handle these cases, BOINC lets you make the client software yourself, or obtain it from a third party, rather than downloading it from its 'official' source. This applies to both the core client and to project-specific applications.
BOINC client software
You can get the BOINC client software in any of three ways:
- Download an executable from this web site.
- Download the source code and compile it yourself on your computer.
- Download BOINC executables for your computer from a third-party source.
Project-specific applications
Not all BOINC projects make their source code available. The following applies only to projects that make their source code available. As an example, see the instructions for SETI@home.
- Either get the application source code and compile it yourself, or download an executable from a third party.
- 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.
- Create a file app_info.xml in the project directory. This file lists the applications you have compiled or downloaded. It has the following form:
<app_info> <app> <name>setiathome_enhanced</name> </app> <file_info> <name>setiathome_6.6_windows_intelx86.exe</name> <executable/> </file_info> <file_info> <name>setiathome_graphics_6.6_windows_intelx86.exe</name> <executable/> </file_info> <app_version> <app_name>setiathome_enhanced</app_name> <version_num>660</version_num> <platform>windows_intelx86</platform> <api_version>6.1.0</api_version> [ <flops>X</flops> ] [ <avg_ncpus>X</avg_ncpus> ] [ <max_ncpus>X</max_ncpus> ] [ <cmdline>args</cmdline> ] <file_ref> <file_name>setiathome_6.6_windows_intelx86.exe</file_name> <main_program/> </file_ref> <file_ref> <file_name>setiathome_graphics_6.6_windows_intelx86.exe</file_name> <open_name>graphics_app</open_name> </file_ref> </app_version> </app_info>where 660 is the application's version number, and 6.1.0 is the BOINC version of the API. - 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.
- The Macintosh uses Account-based sandboxing. When you add files inside the Mac's BOINC Data directory, you must set ownership and permissions properly. If you are using the BOINC Manager, simply run the BOINC Installer again. If you are running the Unix command-line version, run the Mac_SA_Secure.sh shell script; it is bundled with the command-line BOINC Client and also available at Mac_SA_Secure.sh.
The optional elements (<flops>, <avg_ncpus>, <max_cpus>, and <cmdline>) are for multi-thread applications.
Note: if you decide to switch back to using the project-supplied executables, you must delete the app_info.xml file, then reset the project.
You may want to check out the following email lists (e.g. the port may already exist):
- boinc_opt@ssl.berkeley.edu: discussion of porting and optimization of BOINC applications.
- boinc_dev@ssl.berkeley.edu: discussion of development and porting of BOINC software.
- boinc_cvs@ssl.berkeley.edu: checkins to the BOINC source are reported here.
