Hi there. I’m trying to setup Julia to use CuArrays. I have Julia 1.0.4 and the cuda toolkit 10.1, on Pop!_OS. I’m doing (on the REPL)
ENV["LD_LIBRARY_PATH"] = "/usr/lib/cuda/lib64"
ENV["CUDA_PATH"] = "/usr/lib/cuda"
using Pkg; Pkg.build("CuArrays")
which gives me
Building CUDAdrv ───→
~/.julia/packages/CUDAdrv/WVU1H/deps/build.log
Building LLVM ──────→~/.julia/packages/LLVM/ViliQ/deps/build.log
Building CUDAnative →~/.julia/packages/CUDAnative/nItlk/deps/build.log
┌ Error: Error buildingCUDAnative
:
│ Available CUDA toolchain does not provide libcudadevrt.
│
│ This is not a fatal error, but GPU functionality will be unavailable.
│ If you expected this to work, please open a thread on
│ GPU - Julia Programming Language
└ @ Pkg.Operations >/buildworker/worker/package_linux32/build/usr/share/julia/stdlib/v1.0/Pkg/src/Operations.jl:1096
Building Conda ─────→~/.julia/packages/Conda/kLXeC/deps/build.log
Building FFTW ──────→~/.julia/packages/FFTW/p7sLQ/deps/build.log
Building CuArrays ──→~/.julia/packages/CuArrays/eFBar/deps/build.log
┌ Error: Error buildingCuArrays
:
│ Could not find library ‘cublas’ (it should be part of the CUDA toolkit)
└ @ Pkg.Operations >/buildworker/worker/package_linux32/build/usr/share/julia/stdlib/v1.0/Pkg/src/Operations.jl:1096
The environment variables are correct, as far as I can tell. What should I do to get it to build?