0
I am using a P2 instance, running Ubuntu 18.04
I am required to use the Amazon NVIDIA GPU drivers.
I follow the instructions here: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/install-nvidia-driver.html
BUT the installation fails with a big message saying:
*The CC version check failed:*
*The kernel was built with gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3), but the current compiler version is cc (Ubuntu 7.4.0-1ubuntu1~18.04) 7.4.0.*
*This may lead to subtle problems; if you are not certain whether the mismatched compiler will be compatible with your kernel, you may wish to abort installation, set the CC environment variable to the name of*
*the compiler used to compile your kernel, and restart installation.*
It is not possible to install an earlier version of the gcc compiler, so basically NVIDIA on EC2 is completely broken for Ubuntu 18.04