Code Monkey home page Code Monkey logo

run-boinc's Introduction

Run BOINC

This is a project to make it easier to run BOINC workloads on Bacalhau.

Building

  1. Install Just
  2. Run ./justfile
  3. Binary is available at ./bin/run_boinc

Running

Before running a BOINC project on Bacalhau, you need:

  • Sign up to a project and get your weak account key 1
  • Determine what domains or IP addresses the project communicate with 2
  • Make sure that the domains and IP addresses are allow-listed by Bacalhau

Example of running latinsquares project: ./bin/run-boinc --project-url https://boinc.multi-pool.info/latinsquares/ --weak-account-key <weakAccountKey> --domain 78.26.93.125 --domain boinc.berkeley.edu --domain boinc.multi-pool.info

Example of running einsteinathome.org: ./bin/run-boinc --project-url https://einsteinathome.org/ --weak-account-key <weakAccountKey> --domain einsteinathome.org --domain scheduler.einsteinathome.org --domain einstein.phys.uwm.edu --domain einstein-dl.syr.edu --domain .aei.uni-hannover.de

Future tasks

  • Spot when a task fails and do something about it

Footnotes

  1. The non-weak account key is directly tied to your account whereas the weak account key is tied to your password, so rotating the password will change the weak account key. There is no way to change your non-weak account key. Also, the weak account key does not allow someone to log into your account or change it in any way. Note that use of the weak-account key isn't enforced, but strongly recommended.

  2. This may have to be done by running the Docker image locally a number of times and then finding out what domains it will communicate with (cat client_state.xml | grep http | cut -d'>' -f2 | cut -d/ -f3 | sort -u)

run-boinc's People

Contributors

wjam avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

criadoperez

run-boinc's Issues

Repository rename is causing issues

Running the command in the README.md file, produces the following error.

./bin/run-boinc --project-url https://einsteinathome.org/ --weak-account-key  xxxxxxx_xxxxxxxxxxxxxxxxxxxxxxxxxx  --domain einsteinathome.org --domain scheduler.einsteinathome.org --domain einstein.phys.uwm.edu --domain einstein-dl.syr.edu --domain .aei.uni-hannover.de
panic: Internal Server Error
: exit status 1

goroutine 1 [running]:
main.main()
        github.com/bacalhau-project/boinc-integration/cmd/run-boinc/main.go:52 +0x474

It's trying to reach a repository which doesn't exist anymore (boinc-integration).

I'm assuming this repository was renamed to "run-boinc". However editing this line of code and changing it the new repository (run-boinc) still fails.

panic: Internal Server Error
: exit status 1

goroutine 1 [running]:
main.main()
        github.com/bacalhau-project/run-boinc/cmd/run-boinc/main.go:52 +0x474
 

Not sure if it's related but also noticed that domain aei.uni-hannover.de doesn't respond.

JACoB Installed

JACoB here...
I can now access this repo, but ran into trouble during my installation checks.

Here is some additional info on the error(s) I saw:

ENOSPC: no space left on device, mkdir '/mnt/tmp/tmp-98-7eh0XBE1NfF6'

You may need to add or edit a jacob.json file in the root of your repository to help me better understand how to build your project.

Please visit the JACoB documentation for more information on how to resolve this issue.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.