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

Error running CUDA in Jupyter #195

Closed
sbacelar opened this issue Jun 2, 2020 · 1 comment
Closed

Error running CUDA in Jupyter #195

sbacelar opened this issue Jun 2, 2020 · 1 comment

Comments

@sbacelar
Copy link

sbacelar commented Jun 2, 2020

I am using Julia 1.4.1 and CUDA 0.1.0.
I have no problem precompiling CUDA on REPL or Atom but on Jupyter I get the following error:

┌ Info: Precompiling CUDA [052768ef-5323-5732-b1bb-66c8b64840ba]
└ @ Base loading.jl:1260
ERROR: LoadError: LoadError: UndefVarError: WrappedArray not defined
Stacktrace:
 [1] top-level scope at /home/sergio/.julia/packages/GPUArrays/JqOUg/src/host/abstractarray.jl:24
 [2] include(::Module, ::String) at ./Base.jl:377
 [3] include(::String) at /home/sergio/.julia/packages/GPUArrays/JqOUg/src/GPUArrays.jl:1
 [4] top-level scope at /home/sergio/.julia/packages/GPUArrays/JqOUg/src/GPUArrays.jl:25
 [5] include(::Module, ::String) at ./Base.jl:377
 [6] top-level scope at none:2
 [7] eval at ./boot.jl:331 [inlined]
 [8] eval(::Expr) at ./client.jl:449
 [9] top-level scope at ./none:3
in expression starting at /home/sergio/.julia/packages/GPUArrays/JqOUg/src/host/abstractarray.jl:24
in expression starting at /home/sergio/.julia/packages/GPUArrays/JqOUg/src/GPUArrays.jl:25
ERROR: LoadError: Failed to precompile GPUArrays [0c68f7d7-f131-5f86-a1c3-88cf8149b2d7] to /home/sergio/.julia/compiled/v1.4/GPUArrays/v5u0T_nVUOf.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1272
 [3] _require(::Base.PkgId) at ./loading.jl:1029
 [4] require(::Base.PkgId) at ./loading.jl:927
 [5] require(::Module, ::Symbol) at ./loading.jl:922
 [6] include(::Module, ::String) at ./Base.jl:377
 [7] top-level scope at none:2
 [8] eval at ./boot.jl:331 [inlined]
 [9] eval(::Expr) at ./client.jl:449
 [10] top-level scope at ./none:3
in expression starting at /home/sergio/.julia/packages/CUDA/5t6R9/src/CUDA.jl:5

Failed to precompile CUDA [052768ef-5323-5732-b1bb-66c8b64840ba] to /home/sergio/.julia/compiled/v1.4/CUDA/oWw5k_nVUOf.ji.

Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1272
 [3] _require(::Base.PkgId) at ./loading.jl:1029
 [4] require(::Base.PkgId) at ./loading.jl:927
 [5] require(::Module, ::Symbol) at ./loading.jl:922
 [6] top-level scope at In[8]:1
@maleadt
Copy link
Member

maleadt commented Jun 3, 2020

Please don't open multiple issues. Dup of JuliaGPU/GPUArrays.jl#287

@maleadt maleadt closed this as completed Jun 3, 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