Use the dkms from EPEL when install CUDA Toolkits on CentOS
###Use the dkms from EPEL.
yum install epel-release
yum install dkms
# download the rpm from the NVidia website
rpm -i cuda-repo-rhel7-8-0-local-ga2-8.0.54-1.ppc64le.rpm
yum clean expire-cache
yum install cuda
yum install epel-release
yum install dkms
# download the rpm from the NVidia website
rpm -i cuda-repo-rhel7-8-0-local-ga2-8.0.54-1.ppc64le.rpm
yum clean expire-cache
yum install cuda
-------------------------------
caution: reboot, can not find out login GUI
login tty1, yum remove dkms
reboot
login again
login again
you will find that screen resolution is strange
reinstall NVIDIA drive or install CUDA-Toolkit again