Creating a BOINC project

From Asia at Home

Jump to: navigation, search

Contents

Prerequisites

  • Server options:
    • Installing on Linux
    • Using the server VM
    • Using the cloud VM

Set up a project

  • ./make_project tutorial
  • Follow instructions in ~/projects/tutorial/tutorial.readme for httpd.conf and crontab
    • Copy tutorial.http.conf to /etc/httpd/conf.d and restart apache
    • crontab -e to add the cron task entries
  • Visit the project website, server status page
  • Explore the project database: http://as-volte.twgrid.org/phpmyadmin
  • Explore project dir tree
  • Explore config.xml, enable <one_result_per_user_per_wu>
  • Start project
    • cd ~/projects/tutorial && bin/start
    • Participants to attach clients

Add an application

  • We use upperCASE, the BOINC example application
  • Edit project.xml if necessary
  • Run bin/xadd
  • Check website
  • Create dir tree
  • Copy apps from ~/samples/apps
    • Create a directory uppercase in ~/projects/tutorial/apps
    • Create a directory in uppercase for each platform you support. Use as directory names the names of the binaries in ~/samples/apps
    • Copy binaries from ~/samples/apps to the correct sub-directory
  • Run bin/update_versions
    • Ignore the security warning AS THIS IS ONLY A TUTORIAL PROJECT:
  • Check website

Create a workunit

  • Copy templates from ~/samples/templates to ~/projects/tutorial/templates
  • Explore templates
  • Create an input file in
  • cp in `bin/dir_hier_path in`
  • Create a few workunits
    • ~/boinc/tools/create_work --appname uppercase --wu_template templates/uc_wu --result_template templates/uc_result --wu_name test_wuXY in
  • Check admin webpage

Install a validator

  • cp ~/boinc/sched/sample_bitwise_validator ~/projects/tutorial/bin/ (if necessary)
  • Add <daemon> to config.xml (see ~/samples/conf/validator.conf)
  • Check server status page
  • Run bin/start
  • Check server status page
  • Check admin webpage

Install an assimilator

  • cp ~/boinc/sched/sample_assimilator ~/projects/tutorial/bin/ (if necessary)
  • Add <daemon> to config.xml (see ~/samples/conf/assimilator.conf)
  • bin/start
  • Check admin webpage
  • Check results

Install a work generator

  • cp ~/boinc/sched/sample_work_generator ~/projects/tutorial/bin/ (if necessary)
  • Add <daemon> to config.xml (see ~/samples/conf/generator.conf)
  • bin/start

Set up message boards

  • Check message boards
  • Edit create_forums.php
  • Check message boards

Monitoring

  • Log files
  • Admin webpage
  • DB
  • bin/show_shmem

Hands on

Additional/optional

  • Submit single jobs using the wrapper approach
  • Enable db_dump
Personal tools