Can not install CUDAnative

GPU newbie here (Julia 1.3.1 and Windows 10). I have been able to install CUDAdrv v6.1.0 but when I try to install CUDAnative (and also CuArrays) I receive the following error:

(v1.3) pkg> add CUDAnative
 Resolving package versions...
ERROR: Unsatisfiable requirements detected for package CUDAapi [3895d2a7]:
 CUDAapi [3895d2a7] log:
 ├─possible versions are: [0.5.0-0.5.4, 0.6.0-0.6.3, 1.0.0-1.0.1, 1.1.0, 1.2.0, 2.0.0, 2.1.0, 3.0.0, 3.1.0, 4.0.0] or uninstalled
 ├─restricted by compatibility requirements with CUDAdrv [c5f51814] to versions: 4.0.0
 │ └─CUDAdrv [c5f51814] log:
 │   ├─possible versions are: [0.8.0-0.8.6, 0.9.0, 1.0.0-1.0.1, 2.0.0, 3.0.0-3.0.1, 3.1.0, 4.0.0-4.0.4, 5.0.0-5.0.1, 5.1.0, 6.0.0-6.0.1, 6.1.0] or uninstalled
 │   └─restricted to versions 6.1.0 by an explicit requirement, leaving only versions 6.1.0
 └─restricted by compatibility requirements with CUDAnative [be33ccc6] to versions: [3.0.0, 3.1.0] — no versions left      └─CUDAnative [be33ccc6] log:
     ├─possible versions are: [0.7.0, 0.8.0-0.8.10, 0.9.0-0.9.1, 0.10.0-0.10.1, 1.0.0-1.0.1, 2.0.0-2.0.1, 2.1.0-2.1.3, 2.2.0-2.2.1, 2.3.0-2.3.1, 2.4.0, 2.5.0-2.5.5, 2.6.0, 2.7.0, 2.8.0-2.8.1, 2.9.0-2.9.1, 2.10.0-2.10.2] or uninstalled           ├─restricted to versions * by an explicit requirement, leaving only versions [0.7.0, 0.8.0-0.8.10, 0.9.0-0.9.1, 0.10.0-0.10.1, 1.0.0-1.0.1, 2.0.0-2.0.1, 2.1.0-2.1.3, 2.2.0-2.2.1, 2.3.0-2.3.1, 2.4.0, 2.5.0-2.5.5, 2.6.0, 2.7.0, 2.8.0-2.8.1, 2.9.0-2.9.1, 2.10.0-2.10.2]
     └─restricted by compatibility requirements with CUDAdrv [c5f51814] to versions: 2.10.0-2.10.2 or uninstalled, leavi       └─CUDAdrv [c5f51814] log: see above

That’s because the latest version of CUDAdrv isn’t compatible with the rest of the stack yet, and Pkg refuses to downgrade. Try removing CUDAdrv and starting by installing CuArrays – that will automatically install compatible versions of CUDAdrv and CUDAnative. Doing add CUDAdrv afterwards will just make it possible to import those packages, without installing a different version.

1 Like

FWIW, It should downgrade on 1.4.

1 Like