Hi, For our nvidia tesla card, here is what I am doing: https://github.com/remyd1/containers-benchs/blob/master/gpu/namd/lxc/install_cuda_namd_lxd.sh
That is to say, adding all devices like said before, and then adding the drivers in the container. I did not try with setting a profile previously. Best regards, Rémy 2017-05-15 16:19 GMT+02:00 Konstantinos Tsakalozos < [email protected]>: > Created this bug since it seems to be confirmed: https://bugs. > launchpad.net/ubuntu/+source/lxc/+bug/1690822 > > On Mon, May 15, 2017 at 1:44 PM, Veselin <[email protected]> wrote: > >> I also tried that before ... with no success. >> >> Seams the GPU is linked but not accessible from driver. >> >> If any has any luck with it please share. >> >> Best >> >> >> >> Sent from mobile device. Please excuse all typos. >> >> -------- Original message -------- >> From: Konstantinos Tsakalozos <[email protected]> >> Date: 5/15/17 10:55 (GMT+02:00) >> To: [email protected] >> Subject: [lxc-users] GPU device in lxc profile ignored? >> >> Hi everyone, >> >> I am trying to add the gpu device in an profile so that new containers >> come up with gpu available. >> >> Even though the gpu device is in the profile it seems it is ignored. In >> this pastebin http://pastebin.ubuntu.com/24579662/ you can see the >> profile with the gpu device. We add a new container (juju add-unit) and >> we check if the device is there. It is not, so we add it (lxc config >> device add) after the container comes up. >> >> There is always the case I am doing something wrong. >> >> Thank you, >> Konstantinos >> >> >> >> _______________________________________________ >> lxc-users mailing list >> [email protected] >> http://lists.linuxcontainers.org/listinfo/lxc-users >> > > > _______________________________________________ > lxc-users mailing list > [email protected] > http://lists.linuxcontainers.org/listinfo/lxc-users >
_______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
