Two projects on one GPU?

lazlo
lazlo
Joined: 20 Nov 19
Posts: 9
Credit: 2958620
RAC: 0

Using Ubuntu Linux it is much

Using Ubuntu Linux it is much easier to do.

 

sudo lxd init

<accept default answers to config questions>

lxc launch ubuntu:18.04 einstein

lxc config device add einstein gpu gpu

lxc exec einstein bash

apt update

apt upgrade -y

apt install boinc-client boinc-client-opencl -y

boinccmd --project_attach <the einstein@home project URL goes here> <your einstein@home account_key goes here>

systemctl restart boinc-client

exit

Then create another container adding the same GPU but attaching a different project.

 

 

See:

https://stgraber.org/2017/03/21/cuda-in-lxd/ <=- This is only the part dealing with GPU Passthrough

https://stgraber.org/2016/03/11/lxd-2-0-blog-post-series-012/ <=- This is the first page of a great series of posts about LXD

https://boinc.berkeley.edu/wiki/Boinccmd_tool  <=- This is the official BOINC documentation for boinccmd, the CLI BOINC controller

 

 

I hope this helps.

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.