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

windows install error: isfile(__libcupti[]) #324

Closed
denizyuret opened this issue Jul 27, 2020 · 1 comment
Closed

windows install error: isfile(__libcupti[]) #324

denizyuret opened this issue Jul 27, 2020 · 1 comment

Comments

@denizyuret
Copy link
Contributor

I get the following on a fresh install on a windows machine.

julia> CUDA.device()
ERROR: AssertionError: isfile(__libcupti[])
Stacktrace:
 [1] use_artifact_cuda() at C:\Users\deniz\.julia\packages\CUDA\h38pe\deps\bindeps.jl:157
 [2] __init_dependencies__() at C:\Users\deniz\.julia\packages\CUDA\h38pe\deps\bindeps.jl:314
 [3] __runtime_init__() at C:\Users\deniz\.julia\packages\CUDA\h38pe\src\initialization.jl:112
 [4] (::CUDA.var"#609#610"{Bool})() at C:\Users\deniz\.julia\packages\CUDA\h38pe\src\initialization.jl:32
 [5] lock(::CUDA.var"#609#610"{Bool}, ::ReentrantLock) at .\lock.jl:161
 [6] _functional(::Bool) at C:\Users\deniz\.julia\packages\CUDA\h38pe\src\initialization.jl:26
 [7] functional(::Bool) at C:\Users\deniz\.julia\packages\CUDA\h38pe\src\initialization.jl:19
 [8] libcuda at C:\Users\deniz\.julia\packages\CUDA\h38pe\src\initialization.jl:50 [inlined]
 [9] (::CUDA.var"#714#cache_fptr!#47")() at C:\Users\deniz\.julia\packages\CUDA\h38pe\lib\utils\call.jl:31
 [10] macro expansion at C:\Users\deniz\.julia\packages\CUDA\h38pe\lib\utils\call.jl:39 [inlined]
 [11] macro expansion at C:\Users\deniz\.julia\packages\CUDA\h38pe\lib\cudadrv\libcuda.jl:149 [inlined]
 [12] macro expansion at C:\Users\deniz\.julia\packages\CUDA\h38pe\lib\cudadrv\error.jl:108 [inlined]
 [13] cuCtxGetCurrent(::Base.RefValue{Ptr{Nothing}}) at C:\Users\deniz\.julia\packages\CUDA\h38pe\lib\utils\call.jl:93
 [14] CuCurrentContext at C:\Users\deniz\.julia\packages\CUDA\h38pe\lib\cudadrv\context.jl:81 [inlined]
 [15] initialize_thread(::Int64) at C:\Users\deniz\.julia\packages\CUDA\h38pe\src\state.jl:51
 [16] prepare_cuda_call() at C:\Users\deniz\.julia\packages\CUDA\h38pe\src\state.jl:34
 [17] initialize_api() at C:\Users\deniz\.julia\packages\CUDA\h38pe\lib\cudadrv\error.jl:98
 [18] macro expansion at C:\Users\deniz\.julia\packages\CUDA\h38pe\lib\cudadrv\libcuda.jl:155 [inlined]
 [19] macro expansion at C:\Users\deniz\.julia\packages\CUDA\h38pe\lib\cudadrv\error.jl:108 [inlined]
 [20] cuCtxGetDevice(::Base.RefValue{Int32}) at C:\Users\deniz\.julia\packages\CUDA\h38pe\lib\utils\call.jl:93
 [21] device() at C:\Users\deniz\.julia\packages\CUDA\h38pe\lib\cudadrv\context.jl:142
 [22] top-level scope at REPL[2]:1

julia> CUDA.__libcupti[]
"C:\\Users\\deniz\\.julia\\artifacts\\bbabcb11fa2760ee54b821c074b8b77699c260b3\\bin\\cupti64_110.dll"

julia> readdir("C:\\Users\\deniz\\.julia\\artifacts\\bbabcb11fa2760ee54b821c074b8b77699c260b3\\bin")
24-element Array{String,1}:
 "cublas64_11.dll"
 "cublasLt64_11.dll"
 "cudart64_110.dll"
 "cufft64_10.dll"
 "cufftw64_10.dll"
 "cupti64_2020.1.0.dll"
 "curand64_10.dll"

After I copied cupti to the correct name, it started giving similar errors on other libraries.

I checked out the dev version. This time I got:

julia> using CUDA
[ Info: Precompiling CUDA [052768ef-5323-5732-b1bb-66c8b64840ba]
ERROR: LoadError: LoadError: UndefVarError: launch_heuristic not defined
Stacktrace:
 [1] getproperty(::Module, ::Symbol) at .\Base.jl:26
 [2] top-level scope at C:\Users\deniz\.julia\dev\CUDA\src\gpuarrays.jl:20
@maleadt
Copy link
Member

maleadt commented Jul 27, 2020

Dup of #300, fixed on master

You need to use the Manifest, or check-out (currently) GPUArrays from master too.

@maleadt maleadt closed this as completed Jul 27, 2020
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