After installing nvidia drivers, ***nvidia-smi*** is throwing this error:

> 
> modprobe: ERROR: could not insert 'nvidia\_384': Exec format error
> 
> 
> NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA
> driver.
> Make sure that the latest NVIDIA driver is installed and running.
> 
> 
> 

My device specs are as follows:

* Server with a Tesla M40
* Running on Ubuntu 16.04
* Kernel version Linux 4.4.0-116-generic x86\_64
* Driver: nvidia-384

Can someone please tell what might be the reason?