My operating system is Ubuntu 16.04. My graphics card is NVIDIA GeForce GTX 960M. I recently installed CUDA 9.0 driver and toolkit. I successfully compiled and ran CUDA applications. However, upon reboot, the drivers seem to have disappeared, and it is like I never installed them.
The result of nvcc -v is
The program 'nvcc' is currently not installed. You can install it by typing: sudo apt install nvidia-cuda-toolkit
cat /proc/driver/nvidia/version gets me
cat: /proc/driver/nvidia/version: No such file or directory
The directory indeed does not exist. dev/nvidia also has disappeared. My CUDA samples folder still exists though.
This is the second time this has happened, both times within a day or two of installing CUDA. Everything works fine, I can run applications, and poof it’s gone. I read some threads blaming updates for a similar problem, but I have automatic updates disabled.
Any insight is highly appreciated.