pax_global_header 0000666 0000000 0000000 00000000064 12721602251 0014510 g ustar 00root root 0000000 0000000 52 comment=ca60ce6f9329032d2237a4026283554d621fa36e
slapos-ca60ce6f9329032d2237a4026283554d621fa36e-software-boinc/ 0000775 0000000 0000000 00000000000 12721602251 0022420 5 ustar 00root root 0000000 0000000 slapos-ca60ce6f9329032d2237a4026283554d621fa36e-software-boinc/software/ 0000775 0000000 0000000 00000000000 12721602251 0024252 5 ustar 00root root 0000000 0000000 slapos-ca60ce6f9329032d2237a4026283554d621fa36e-software-boinc/software/boinc/ 0000775 0000000 0000000 00000000000 12721602251 0025344 5 ustar 00root root 0000000 0000000 slapos-ca60ce6f9329032d2237a4026283554d621fa36e-software-boinc/software/boinc/README.txt 0000664 0000000 0000000 00000006672 12721602251 0027055 0 ustar 00root root 0000000 0000000 BOINC Server
============
Introduction
------------
The Berkeley Open Infrastructure for Network Computing (BOINC) is an open
source middleware system for volunteer and grid computing.
http://boinc.berkeley.edu/trac/wiki/ProjectMain
This Software Release is used to deploy an instance of BOINC server on SlapOS
How it work?
------------
The following example show how to request an instance of BOINC server.
BOINC Server Parameters :
- project: The name of your project. Default is project=boinc_test
- full-name: Full name of your project. Default is full-name=Boinc Project SAMPLE
- domain: Use this parameter if you want to define by hand the url of your project.
Ex: domain = http://myboinc.host-dommain.com
- copyright-holder: The name of your compagny. It will be displayed at the footer of
your BOINC project website.
Job Submission Parameters:
- default-template-result (Default is ${boinc-default:template-result}): Set the
default Output Template to use when creating a BOINC work unit.
- default-template-wu (Default is ${boinc-default:template-wu}): Set the
default Input Template to use when creating a BOINC work unit.
- default-extension (Default is ${boinc-default:extension}): For example in windows if
job executable is an .exe, set default-extension=exe
- default-platform (Default is ${boinc-default:platform}): Set the default platform
for job submission. http://boinc.berkeley.edu/trac/wiki/BoincPlatforms
- boinc-app-list: Use this json parameter to submit your job list to BOINC Server.
For exemple:
boinc-app-list = {"APP_NAME":
{"APP_VERSION":
{"use_default":true, "binary":"PATH/URL_OF_BINARY",
"wu-number":NUM, "input-file":"PATH/URL_OF_INPUT_FILE"},
"APP_VERSION2":
{"use_default":false, "binary":"PATH/URL_OF_BINARY",
"wu-number":NUM, "input-file":"PATH/URL_OF_INPUT_FILE",
"extension":"", "platform":"x86_64-pc-linux-gnu",
"template-result":"PATH/URL_OF_OUTPUT_TEMPLATE",
"template-wu":"PATH/URL_OF_INPUT_TEMPLATE"}
}, ...}
APP_NAME example: upper_case (without space)
APP_VERSION examples: 1.00, 2.10, 1.10
Request your instance:
This is a minimal parameter to use:
Sample
My BOINC project Sample
my.compagny.com
JSON-JOB-LIST
Note: - You can update boinc-app-list anytime, this would allow you to update the
nomber of work unit, or to modify files. For any job modification, APP_NAME and
APP_VERSION is required.
- To create another BOINC project, please request another instance on SlapOS.
Warning: Once your project has been started (and BOINC client is connected on current
server), don't change the project name, otherwise this would cause the lost of current project.
Connect to your instance
------------------------
When your instance is ready, SlapOS must provide 3 URL:
boinc_home_page URL_BASE/PROJECT/ (public web page, BOINC Client will use this URL
to connect to your server)
boinc_admin_page URL_BASE/PROJECT_ops/ (administrative web page)
boinc_result_url URL_BASE/PROJECT_result/ (result web page, this page will allow
you to show job result)
slapos-ca60ce6f9329032d2237a4026283554d621fa36e-software-boinc/software/boinc/input/ 0000775 0000000 0000000 00000000000 12721602251 0026503 5 ustar 00root root 0000000 0000000 slapos-ca60ce6f9329032d2237a4026283554d621fa36e-software-boinc/software/boinc/input/input_file 0000664 0000000 0000000 00000000013 12721602251 0030556 0 ustar 00root root 0000000 0000000 test string slapos-ca60ce6f9329032d2237a4026283554d621fa36e-software-boinc/software/boinc/instance.cfg 0000664 0000000 0000000 00000000445 12721602251 0027634 0 ustar 00root root 0000000 0000000 [buildout]
parts =
switch_softwaretype
eggs-directory = ${buildout:eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory}
offline = true
[switch_softwaretype]
recipe = slapos.cookbook:softwaretype
default = ${template-boinc:output}
mariadb = ${template-mariadb:output} slapos-ca60ce6f9329032d2237a4026283554d621fa36e-software-boinc/software/boinc/software.cfg 0000664 0000000 0000000 00000003544 12721602251 0027665 0 ustar 00root root 0000000 0000000 [buildout]
parts =
template
application
template_wu
template_result
template_input
slapos-cookbook
instance-egg
extends =
../../stack/boinc/buildout.cfg
#Generate All instances templates
[template]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg
output = ${buildout:directory}/template.cfg
mode = 0644
md5sum = 4a286795a6822ee6d53743191d5374a6
#Download Boinc Application Binary and configure project
[application]
recipe = hexagonit.recipe.download
ignore-existing = true
url = ${boinc:location}/libexec/examples/upper_case
download-only = true
filename = upper_case
#Application configuration
app-name = upper_case
version = 1.00
[template-base]
recipe = slapos.recipe.build:download
download-only = true
mode = 0644
[template_result]
<= template-base
url = ${:_profile_base_location_}/templates/template_result
filename = template_result
location = ${buildout:parts-directory}/${:_buildout_section_name_}
md5sum = a3f0e9fd559cadcb2f297b952f8face8
[template_wu]
<= template-base
url = ${:_profile_base_location_}/templates/template_wu
filename = template_wu
location = ${buildout:parts-directory}/${:_buildout_section_name_}
md5sum = 66d7ec85ce15e65d2858c11b75fb9574
[template_input]
<= template-base
url = ${:_profile_base_location_}/input/input_file
filename = input_file
location = ${buildout:parts-directory}/${:_buildout_section_name_}
md5sum = 6f8db599de986fab7a21625b7916589c
[boinc-application]
app-list = {"${application:app-name}":{"${application:version}":{"use_default":true, "wu-number":2, "input-file":"${template_input:location}/${template_input:filename}", "binary":"${application:location}/${application:filename}"}}}
[boinc-default]
template-result = ${template_result:location}/${template_result:filename}
template-wu = ${template_wu:location}/${template_wu:filename}
platform = x86_64-pc-linux-gnu
extension =
slapos-ca60ce6f9329032d2237a4026283554d621fa36e-software-boinc/software/boinc/templates/ 0000775 0000000 0000000 00000000000 12721602251 0027342 5 ustar 00root root 0000000 0000000 template_result 0000664 0000000 0000000 00000000455 12721602251 0032423 0 ustar 00root root 0000000 0000000 slapos-ca60ce6f9329032d2237a4026283554d621fa36e-software-boinc/software/boinc/templates
5000000
out