I upgraded my OS to ubuntu 16.04. With that my GCC version got upgraded to 5.4. I initially had CUDA 7.5 installed in my system prior to the OS upgrade. My actual intention was to install OPencv with CUDA enabled. So while i was installing OpenCV i got error in compiling CUDA files of OpenCV saying CUDA 7.5 doest support gcc 4.9 and later. So I had to go for CUDA 8.0. Now when I run
$ modinfo nv
modinfo: ERROR: Module nv not found.
AND
$ nvidia-smi
Failed to initialize NVML: Driver/library version mismatch
which made me think that I have to install Nvidia driver for Tesla K40c which i found out as nvidia-361.93.02( since my OS -Ubuntu 64 bit). Do I have to install the driver. My machine has got another Nvidia display card. My display Nvidia cards are
sudo lshw -numeric -C display
*-display
description: 3D controller
product: GK110BGL [Tesla K40c] [10DE:1024]
vendor: NVIDIA Corporation [10DE]
physical id: 0
bus info: pci@0000:05:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=nvidia latency=0
resources: irq:42 memory:ee000000-eeffffff memory:b0000000-bfffffff memory:c0000000-c1ffffff
*-display
description: VGA compatible controller
product: GK107GL [Quadro K600] [10DE:FFA]
vendor: NVIDIA Corporation [10DE]
physical id: 0
bus info: pci@0000:04:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:41 memory:ec000000-ecffffff memory:d0000000-dfffffff memory:e0000000-e1ffffff ioport:c000(size=128) memory:ed000000-ed07ffff
can someone guide me in this. Do i have to install the nvidia driver