Tesla k40m

Hello,
We have a Tesla K40M GPU card.

[0b:00.0 3D controller: NVIDIA Corporation GK110BGL [Tesla K40m] (rev a1)]

uname -m && cat /etc/*release
x86_64
NAME=“Red Hat Enterprise Linux”
VERSION="7.7 "

gcc (GCC) 4.5.0

We are trying to install Cuda but we are having problems when we run the nvidia-smi code.

nvidia-smi
No devices were found

In this document, we are installing with RHEL 7, but we cannot run nvidia-smi.

We could not find a solution to our problem through this document.

Can you send us a real and understandable document so that we can run nvidia-smi over Rhel 7 when we install the device?

You could try installing using the installation guide which is for 11.2, here.

I did this but the error is the same “nvidia-smi No device”

Has the driver loaded and if not, what does the log say.

[root@tesla deviceQuery]# ./deviceQuery
./deviceQuery Starting…

CUDA Device Query (Runtime API) version (CUDART static linking)

cudaGetDeviceCount returned 100
→ no CUDA-capable device is detected
Result = FAIL

==============
[root@tesla ~]# lspci | grep -i NVIDIA
0b:00.0 3D controller: NVIDIA Corporation GK110BGL [Tesla K40m] (rev a1)

==================

[root@tesla ~]# uname -m && cat /etc/*release
x86_64
NAME=“Red Hat Enterprise Linux Server”
VERSION=“7.9 (Maipo)”
ID=“rhel”
ID_LIKE=“fedora”
VARIANT=“Server”
VARIANT_ID=“server”
VERSION_ID=“7.9”
PRETTY_NAME=“Red Hat Enterprise Linux”
ANSI_COLOR=“0;31”
CPE_NAME=“cpe:/o:redhat:enterprise_linux:7.9:GA:server”
HOME_URL=“https://www.redhat.com/”
BUG_REPORT_URL=“https://bugzilla.redhat.com/”

REDHAT_BUGZILLA_PRODUCT=“Red Hat Enterprise Linux 7”
REDHAT_BUGZILLA_PRODUCT_VERSION=7.9
REDHAT_SUPPORT_PRODUCT=“Red Hat Enterprise Linux”
REDHAT_SUPPORT_PRODUCT_VERSION=“7.9”
Red Hat Enterprise Linux Server release 7.9 (Maipo)
Red Hat Enterprise Linux Server release 7.9 (Maipo)

============================

[root@tesla ~]# gcc --version
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)

=======================

[root@tesla ~]# uname -r
3.10.0-1160.102.1.el7.x86_64

===========================

[root@tesla ~]# grep “X Driver” /var/log/Xorg.0.log
[ 9.683] (II) NVIDIA dlloader X Driver 460.27.04 Fri Dec 11 23:28:50 UTC 2020

===============
[root@tesla ~]# cat /proc/driver/nvidia/version
NVRM version: NVIDIA UNIX x86_64 Kernel Module 460.27.04 Fri Dec 11 23:35:05 UTC 2020
GCC version: gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC)

========================

[root@tesla ~]# modinfo nvidia | more
filename: /lib/modules/3.10.0-1160.102.1.el7.x86_64/extra/nvidia.ko.xz
alias: char-major-195-*
version: 460.27.04
supported: external
license: NVIDIA
retpoline: Y
rhelversion: 7.9
srcversion: 6DD1E1542F06F23051EAB43
alias: pci:v000010DEdsvsdbc03sc02i00
alias: pci:v000010DEdsvsdbc03sc00i00
depends:
vermagic: 3.10.0-1160.102.1.el7.x86_64 SMP mod_unload modversions
signer: DKMS module signing key
sig_key: 2F:64:26:E8:AE:B5:0F:D2:27:49:B5:52:69:76:A2:8F:A4:9B:6B:95
sig_hashalgo: sha256
parm: NvSwitchRegDwords:NvSwitch regkey (charp)
parm: NvSwitchBlacklist:NvSwitchBlacklist=uuid[,uuid…] (charp)
parm: nv_cap_enable_devfs:Enable (1) or disable (0) nv-caps devfs suppor
t. Default: 1 (int)
parm: NVreg_ResmanDebugLevel:int
parm: NVreg_RmLogonRC:int
parm: NVreg_ModifyDeviceFiles:int
parm: NVreg_DeviceFileUID:int
parm: NVreg_DeviceFileGID:int
parm: NVreg_DeviceFileMode:int
parm: NVreg_InitializeSystemMemoryAllocations:int
parm: NVreg_UsePageAttributeTable:int
parm: NVreg_RegisterForACPIEvents:int
parm: NVreg_EnablePCIeGen3:int
parm: NVreg_EnableMSI:int
parm: NVreg_TCEBypassMode:int
parm: NVreg_EnableStreamMemOPs:int
parm: NVreg_EnableBacklightHandler:int
parm: NVreg_RestrictProfilingToAdminUsers:int
parm: NVreg_PreserveVideoMemoryAllocations:int
parm: NVreg_EnableS0ixPowerManagement:int
parm: NVreg_S0ixPowerManagementVideoMemoryThreshold:int
parm: NVreg_DynamicPowerManagement:int
parm: NVreg_DynamicPowerManagementVideoMemoryThreshold:int
parm: NVreg_EnableUserNUMAManagement:int
parm: NVreg_MemoryPoolSize:int
parm: NVreg_KMallocHeapMaxSize:int
parm: NVreg_VMallocHeapMaxSize:int
parm: NVreg_IgnoreMMIOCheck:int
parm: NVreg_NvLinkDisable:int
parm: NVreg_EnablePCIERelaxedOrderingMode:int
parm: NVreg_RegisterPCIDriver:int
parm: NVreg_RegistryDwords:charp
parm: NVreg_RegistryDwordsPerDevice:charp
parm: NVreg_RmMsg:charp
parm: NVreg_GpuBlacklist:charp
parm: NVreg_TemporaryFilePath:charp

[root@tesla ~]# modinfo nvidia | grep -E ‘firmware|version|filename’
filename: /lib/modules/3.10.0-1160.102.1.el7.x86_64/extra/nvidia.ko.xz
version: 460.27.04
rhelversion: 7.9
srcversion: 6DD1E1542F06F23051EAB43
vermagic: 3.10.0-1160.102.1.el7.x86_64 SMP mod_unload modversions

================

[root@tesla 0000:0b:00.0]# cat information
Model: Tesla K40m
IRQ: 59
GPU UUID: GPU-???-???-???-???-???
Video BIOS: ??.??.??.??.??
Bus Type: PCIe
DMA Size: 40 bits
DMA Mask: 0xffffffffff
Bus Location: 0000:0b:00.0
Device Minor: 0
Blacklisted: No

=============================

cuda driver = installed
nvidia driver = installed

error persists

Could it be that the nvidia tesla 40m firmware needs to be updated?
It communicates with the card, but since it does not see it, could it be a firmware error?

In all likelihood, it’s the same problem many have struck, if you search this forum - inadequate PCI BAR1 resources. Here’s a representative post.

[Solved] The problem is caused by the malfunction of the card. If it is not seen on these cards, it is clearly proven that there is a card malfunction. It was this article that helped us. We would like to thank HPC Turkey Company.