# CUDA not working on Ubuntu 18.04

**URL:** <https://discourse.julialang.org/t/cuda-not-working-on-ubuntu-18-04/21045>\
**Category:** General Usage\
**Tags:** cudanative, cuda\
**Created:** [February 21, 2019, 11:22am UTC](https://discourse.julialang.org/t/cuda-not-working-on-ubuntu-18-04/21045 "2019-02-21T11:22:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![francesco.alemanno](https://avatars.discourse-cdn.com/v4/letter/f/e8c25b/32.png) [@francesco.alemanno](https://discourse.julialang.org/u/francesco.alemanno)\
**Post date:** [February 21, 2019, 11:22am UTC](https://discourse.julialang.org/t/cuda-not-working-on-ubuntu-18-04/21045/1 "2019-02-21T11:22:56Z")

</div>

Hello Everyone!

I tried to use CuArrays with CudaNative

on ubuntu 18.04  
with CudaToolkit release 9.1, V9.1.85  
with Nvidia Grap Driver 390.77  
(obtained through the recommended procedure “apt install nvidia-cuda-toolkit”)

Card: GF106GL [Quadro 2000] NVIDIA Corporation

and Julia says:

```julia
julia> using CuArrays

julia> cu(rand(2,2))*2
ERROR: Device capability v2.1.0 not supported by available toolchain
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] supported_capability(::CUDAdrv.CuDevice) at /home/francesco/.julia/packages/CUDAnative/Mdd3w/src/utils.jl:7

```

is there anyway to fix this on ubuntu 18.04?  
I would really love to put those 192 cuda cores to good use on my favourite language!  
Thank you in advance!

Francesco

---

<div class="post-metadata">

**Author:** ![maleadt](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/maleadt/32/10097_2.png) [@maleadt](https://discourse.julialang.org/u/maleadt)\
**Post date:** [February 21, 2019, 12:15pm UTC](https://discourse.julialang.org/t/cuda-not-working-on-ubuntu-18-04/21045/2 "2019-02-21T12:15:18Z")

</div>

Your CUDA version is too new – compute capability 2.1 is only supported up until CUDA 8.0.

---

<div class="post-metadata">

**Author:** ![francesco.alemanno](https://avatars.discourse-cdn.com/v4/letter/f/e8c25b/32.png) [@francesco.alemanno](https://discourse.julialang.org/u/francesco.alemanno)\
**Post date:** [February 21, 2019, 6:09pm UTC](https://discourse.julialang.org/t/cuda-not-working-on-ubuntu-18-04/21045/3 "2019-02-21T18:09:59Z")

</div>

I tried to install Cuda 8.0 but it is not supported on ubuntu 18.04…  
Sadly
