问题遇到的现象和发生背景
操作系统:linux redhat
cuda版本:cuda10.0
安装成功后执行nvidia-smi提示
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running
根据百度后的答案又执行了 dkms install -m nvidia -v 410.48,提示
'make' -j4 NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=4.19.91-26.1.al7.x86_64 IGNORE_CC_MISMATCH='1' modules(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.19.91-26.1.al7.x86_64 (x86_64)
Consult /var/lib/dkms/nvidia/410.48/build/make.log for more information
make.log文件内容如下:
哪位英雄好汉帮忙解答下