JuliaAttic / CUDArt.jl

Julia wrapper for CUDA runtime API
Other
79 stars 29 forks source link

Precompile Error #63

Closed jgbos closed 7 years ago

jgbos commented 7 years ago

This error is baffling me, and wondering if it is even related to CUDArt, but I get the following error on Julia 0.6 (compiled myself):

julia> using CUDArt
INFO: Precompiling module CUDArt.
WARNING: `@windows` is deprecated, use `@static is_windows()` instead
Stacktrace:
 [1] depwarn(::String, ::Symbol) at ./deprecated.jl:64
 [2] @windows(::ANY, ::ANY) at ./deprecated.jl:446
 [3] include_from_node1(::String) at ./loading.jl:539
 [4] include(::String) at ./sysimg.jl:14
 [5] include_from_node1(::String) at ./loading.jl:539
 [6] include(::String) at ./sysimg.jl:14
 [7] anonymous at ./<missing>:2
 [8] eval(::Module, ::Any) at ./boot.jl:236
 [9] process_options(::Base.JLOptions) at ./client.jl:279
 [10] _start() at ./client.jl:368
while loading /home/ju17693/.julia/v0.6/CUDArt/src/libcudart-6.5.jl, in expression starting on line 23
WARNING: Base.WORD_SIZE is deprecated.
  likely near /home/ju17693/.julia/v0.6/CUDArt/src/libcudart-6.5.jl:36
ERROR: LoadError: LoadError: LoadError: UndefVarError: textureReference not defined
Stacktrace:
 [1] include_from_node1(::String) at ./loading.jl:539
 [2] include(::String) at ./sysimg.jl:14
 [3] include_from_node1(::String) at ./loading.jl:539
 [4] include(::String) at ./sysimg.jl:14
 [5] include_from_node1(::String) at ./loading.jl:539
 [6] include(::String) at ./sysimg.jl:14
 [7] anonymous at ./<missing>:2
while loading /home/ju17693/.julia/v0.6/CUDArt/src/../gen-6.5/gen_libcudart.jl, in expression starting on line 515
while loading /home/ju17693/.julia/v0.6/CUDArt/src/libcudart-6.5.jl, in expression starting on line 44
while loading /home/ju17693/.julia/v0.6/CUDArt/src/CUDArt.jl, in expression starting on line 27
ERROR: Failed to precompile CUDArt to /home/ju17693/.julia/lib/v0.6/CUDArt.ji.
Stacktrace:
 [1] compilecache(::String) at ./loading.jl:673
 [2] require(::Symbol) at ./loading.jl:460

Here is my Julia versioninfo:

julia> versioninfo()
Julia Version 0.6.0-dev.2360
Commit 8c2d9db* (2017-01-25 20:04 UTC)
Platform Info:
  OS: Linux (x86_64-redhat-linux)
  CPU: Intel(R) Xeon(R) CPU E5-2670 v3 @ 2.30GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.9.1 (ORCJIT, haswell)
vchuravy commented 7 years ago

CUDArt currently doesn't support Julia v0.6. There is some support on master since today, but it is not fully complete yet.