-
Notifications
You must be signed in to change notification settings - Fork 520
BUDA setup
To enable BUDA on your BOINC project:
In your project's admin web page, click Manage application.
Add an application with name buda and description BUDA.
In your project's apps/ directory, create directories
buda/
1.0/
windows_x86_64__docker/
x86_64-apple-darwin__docker/
x86_64-pc-linux-gnu__docker/
Download the current version of the Docker wrapper for each platform and put it in the corresponding directory.
In each of these directories, create a file version.inc containing
<version>
<file>
<physical_name>docker_wrapper_3_windows_x86_64.exe</physical_name>
<main_program/>
</file>
<is_wrapper/>
</version>
with the filename of the Docker wrapper for that platform.
In your project's html/project/remote_projects.inc, add
<?php
$buda = new StdClass;
$buda->app_name = 'buda';
$buda->form = 'buda_submit.php';
$buda->batch_collect = true;
$buda->long_name = "BOINC Universal Docker App";
$remote_apps = [
'Docker apps' => [$buda]
];
?>
This will add a BUDA link on your web site's Computing / Job Submission page.
Edit your project's config.xml
and add the following to the <daemons> section:
<daemon>
<cmd>sample_trivial_validator --app buda </cmd>
<output>buda_validator.out</output>
<pid_file>buda_validator.pid</pid_file>
</daemon>
<daemon>
<cmd>script_assimilator -d 3 --app buda --script "batch_collect_assimilate.py wu_name batch_id files2"</cmd>
<output>buda_assimilator.out</output>
<pid_file>buda_assimilator.pid</pid_file>
</daemon>
-
Download and compile the current BOINC code.
-
Stop the project.
-
In the BOINC source directory, run
bin/upgrade. -
In the project directory, run
bin/update_versions. -
Start the project.