List of freely available resources to study computer graphics programming.
Installing NVIDIA Driver & CUDA inside an LXC container running Ubuntu 16.04 on a neuroscience computing server.
Introduction: I was trying to run some neuroscience image processing commands that uses NVIDIA GPU. The challenge is that most of our computation will be run inside an LXC container running Ubuntu 16.04 (the host runs Ubuntu 16.04 as well). Installing the NVIDIA driver on the host is not so hard, but doing it inside the LXC container is much more challenging.
I already have an unprivileged container running, so I will not repeat the steps to create an LXC container here.
Our graphics card is NVIDIA GeForce GTX 1080 Ti.
Here are the main steps:
| <!DOCTYPE html> | |
| <html prefix="og: http://ogp.me/ns#"> | |
| <head> | |
| <!-- content-type, which overrides http equivalent header. Because of charset, this meta should be set at first. --> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> | |
| <!-- Overrides http equivalent header. This tells IE to use the most updated engine. --> | |
| <meta http-equiv="X-UA-Compatible" content="IE=Edge"> | |
| <!-- Tells crawlers how to crawl this page, and the role of this page. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta --> | |
| <meta name="robots" content="index, follow"> |
#Mac OS X
Prereq:
apt-get install zsh
apt-get install git-coreGetting zsh to work in ubuntu is weird, since sh does not understand the source command. So, you do this to install zsh
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh