I am have issues with getting cuda 9.2 installed on a Linux container using Ubuntu 18.04. I used the Linux .run file to install cuda 9.2 on my host ubuntu 18.04 and have nvidia-smi working.
Fri Aug 10 12:48:10 2018
±----------------------------------------------------------------------------+
| NVIDIA-SMI 396.26 Driver Version: 396.26 |
|-------------------------------±---------------------±---------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 Quadro K4000 Off | 00000000:02:00.0 Off | N/A |
| 30% 48C P0 28W / 87W | 0MiB / 3018MiB | 0% Default |
±------------------------------±---------------------±---------------------+
±----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| No running processes found |
±----------------------------------------------------------------------------+
I enabled GPU following NVidia CUDA inside a LXD container | Stéphane Graber's website
I then installed cuda 9.2 in the container using
$ cuda_9.2.88_396.26_linux.run --silent -toolkit --samples
It complains if I try to install the driver in the Linux container.
I do not remember how I got the nvidia-smi programs install in the container.
I now have nvidia-smi working in the Linux container.
I can not compile the samples due to include paths problems so I can not test the CUDA on that level.
I install pytorch but pytorch does not see the GPU.
I am stuck at this point.
I can not get the samples to compile in the