# Unable to Test the MNIST Sample on Ubuntu 16.04 LTS

**URL:** <https://forums.developer.nvidia.com/t/unable-to-test-the-mnist-sample-on-ubuntu-16-04-lts/60129>\
**Category:** CUDA Setup and Installation\
**Created:** [April 11, 2018, 4:24pm UTC](https://forums.developer.nvidia.com/t/unable-to-test-the-mnist-sample-on-ubuntu-16-04-lts/60129 "2018-04-11T16:24:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shreyas.gopal.ind](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@shreyas.gopal.ind](https://forums.developer.nvidia.com/u/shreyas.gopal.ind)\
**Post date:** [April 11, 2018, 4:24pm UTC](https://forums.developer.nvidia.com/t/unable-to-test-the-mnist-sample-on-ubuntu-16-04-lts/60129/1 "2018-04-11T16:24:36Z")

</div>

I’m unable to run the mnist samples, after following the CUDA installation instrucions.

shreyas@shreyas-Predator-G3-571  ~/cudnn\_samples\_v7/mnistCUDNN  ./mnistCUDNN  
cudnnGetVersion() : 7102 , CUDNN\_VERSION from cudnn.h : 7102 (7.1.2)  
Cuda failurer version : GCC 5.4.0  
Error: CUDA driver version is insufficient for CUDA runtime version  
error\_util.h:93  
Aborting…

This is the error I get when I attempt to run the Mnist Sample.

The config is as below:

✘ shreyas@shreyas-Predator-G3-571  ~/cudnn\_samples\_v7/mnistCUDNN  nvidia-smi  
Wed Apr 11 21:50:51 2018  
±----------------------------------------------------------------------------+  
| NVIDIA-SMI 384.111 Driver Version: 384.111 |  
|-------------------------------±---------------------±---------------------+  
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |  
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |  
|===============================+======================+======================|  
| 0 GeForce GTX 1060 Off | 00000000:01:00.0 Off | N/A |  
| N/A 53C P0 25W / N/A | 474MiB / 6072MiB | 1% Default |  
±------------------------------±---------------------±---------------------+

±----------------------------------------------------------------------------+  
| Processes: GPU Memory |  
| GPU PID Type Process name Usage |  
|=============================================================================|  
| 0 11082 G /usr/lib/xorg/Xorg 224MiB |  
| 0 11779 G compiz 175MiB |  
| 0 12266 G …-token=20018BD4C8017179412A350D139DCC7C 72MiB |  
±----------------------------------------------------------------------------+

✘ shreyas@shreyas-Predator-G3-571  ~/cudnn\_samples\_v7/mnistCUDNN  nvcc -V  
nvcc: NVIDIA (R) Cuda compiler driver  
Copyright (c) 2005-2017 NVIDIA Corporation  
Built on Fri\_Nov\_\_3\_21:07:56\_CDT\_2017  
Cuda compilation tools, release 9.1, V9.1.85

As you can see I have CUDA 9.1 and the CuDNN version is 7.1.2

---

<div class="post-metadata">

**Author:** ![Robert\_Crovella](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/robert_crovella/32/14043_2.png) [@Robert\_Crovella](https://forums.developer.nvidia.com/u/Robert_Crovella)\
**Post date:** [April 11, 2018, 7:16pm UTC](https://forums.developer.nvidia.com/t/unable-to-test-the-mnist-sample-on-ubuntu-16-04-lts/60129/2 "2018-04-11T19:16:17Z")

</div>

You have a 384.xx driver installed with CUDA 9.1 that won’t work.

You should install a R390 driver.
