NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Centos 7

Hi
For installation of gromacs in Tesla C2050 workstation, with recommendation of CUDA 8.0 [Which recent cuda + gromacs versions combo suitable for Tesla C2050 workstation - User discussions - GROMACS forums] (Which recent cuda + gromacs versions combo suitable for Tesla C2050 workstation - User discussions - GROMACS forums) . was installed

cuda_8.0.61_375.26_linux-run

and set the path in the .bashrc

export PATH=/usr/local/cuda-8.0/bin${PATH:+:${PATH}}
export LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}

rebooted and tried
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.

kindly let me know if anything miss mention and please guide solve this issue
Thank you

checked following things

nvcc --version

nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2016 NVIDIA Corporation
Built on Tue_Jan_10_13:22:03_CST_2017
Cuda compilation tools, release 8.0, V8.0.61

gcc --version

gcc (GCC) 9.4.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

lshw -C display

sudo lshw -C display
*-display UNCLAIMED
description: VGA compatible controller
product: GF100GL [Tesla C2050 / C2070]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:84:00.0
version: a3
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list
configuration: latency=0
resources: memory:f8000000-f9ffffff memory:dc000000-dfffffff memory:d8000000-dbffffff ioport:ec00(size=128) memory:f7f80000-f7ffffff

lspci | grep -i nvidia

84:00.0 VGA compatible controller: NVIDIA Corporation GF100GL [Tesla C2050 / C2070] (rev a3)
84:00.1 Audio device: NVIDIA Corporation GF100 High Definition Audio Controller (rev a1)

cat /etc/*-release | head -n 1

CentOS Linux release 7.9.2009 (Core)

uname -r

3.10.0-1160.36.2.el7.x86_64

sudo yum install kernel-devel epel-release dkms

Package kernel-devel-3.10.0-1160.45.1.el7.x86_64 already installed and latest version
Package epel-release-7-14.noarch already installed and latest version
Package dkms-2.8.6-1.el7.noarch already installed and latest version

ref: Nvidia-smi “NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure ..." - #3 by ferdinando.randisi

I checked my system (centos 7. 9) and I found GCC and CC are different since my system centos7 how can I proceed further?.

gcc -v

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-pc-linux-gnu/9.4.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ./configure --disable-multilib --enable-languages=c,c++,fortran
Thread model: posix
gcc version 9.4.0 (GCC)

cc -v

Using built-in specs.
COLLECT_GCC=cc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper
Target: x86_64-redhat-linux
Configured with: …/configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC)

*uname -m && cat /etc/release

x86_64
CentOS Linux release 7.9.2009 (Core)
NAME=“CentOS Linux”
VERSION=“7 (Core)”
ID=“centos”
ID_LIKE=“rhel fedora”
VERSION_ID=“7”
PRETTY_NAME=“CentOS Linux 7 (Core)”
ANSI_COLOR=“0;31”
CPE_NAME=“cpe:/o:centos:centos:7”
HOME_URL=“https://www.centos.org/
BUG_REPORT_URL=“https://bugs.centos.org/

CENTOS_MANTISBT_PROJECT=“CentOS-7”
CENTOS_MANTISBT_PROJECT_VERSION=“7”
REDHAT_SUPPORT_PRODUCT=“centos”
REDHAT_SUPPORT_PRODUCT_VERSION=“7”

CentOS Linux release 7.9.2009 (Core)
CentOS Linux release 7.9.2009 (Core)