Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CUDArt assumptions not robust #61

Open
robers97 opened this issue Dec 15, 2016 · 0 comments
Open

CUDArt assumptions not robust #61

robers97 opened this issue Dec 15, 2016 · 0 comments
Milestone

Comments

@robers97
Copy link

There is some pathing in the following file that presents errors for standard 64 bit CUDA installations in
/root/.julia/v0.5/CUDArt/src/CUDArt.jl

Symptom: Pkg.add("CUDArt") fails

In particular the line:
const libcuda = Libdl.find_library(["libcuda"], ["/usr/lib/", "/usr/local/cuda/lib"])

wants to be
const libcuda = Libdl.find_library(["libcudart"], ["/usr/lib/", "/usr/local/cuda/lib64"])

Three issues:

Since I don't have a 32bit CUDA install, I can't make a more robust suggestion than to say that the environment variable for CUDA_HOME should be checked
I suspect that the find_library command might take another path such that you could put in cuda/lib64 ahead of cuda/lib
As of at least CUDA 8, its now libcudart instead of libcuda

julia> versioninfo()
Julia Version 0.5.1-pre+31
Commit 6a1e339 (2016-11-17 17:50 UTC)
Platform Info:
System: Linux (powerpc64le-linux-gnu)
CPU: unknown
WORD_SIZE: 64
BLAS: libopenblas (NO_AFFINITY POWER8)
LAPACK: libopenblas
LIBM: libopenlibm
LLVM: libLLVM-3.9.0 (ORCJIT, pwr8)

@vchuravy vchuravy added this to the v0.3 milestone Feb 17, 2017
@vchuravy vchuravy self-assigned this Feb 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants