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 when running the test case in test dir #27

Closed
Rabab53 opened this issue Nov 13, 2023 · 1 comment
Closed

Error when running the test case in test dir #27

Rabab53 opened this issue Nov 13, 2023 · 1 comment

Comments

@Rabab53
Copy link

Rabab53 commented Nov 13, 2023

Hello,

I am trying to run the test case runtests.jl. It looks like "CuArrayDeviceProc" is not defined.
I am starting Julia (version 1.9.3) with Project.toml in the same path to make sure I am running with the required versions.

CUDA: Error During Test at /home/omairyrm/DaggerGPU.jl/test/runtests.jl:72
  Got exception outside of a @test
  type Nothing has no field CuArrayDeviceProc
  Stacktrace:
    [1] getproperty(x::Nothing, f::Symbol)
      @ Base ./Base.jl:37
    [2] macro expansion
      @ ~/DaggerGPU.jl/test/runtests.jl:77 [inlined]
    [3] macro expansion
      @ /snap/julia/86/share/julia/stdlib/v1.9/Test/src/Test.jl:1498 [inlined]
    [4] top-level scope
      @ ~/DaggerGPU.jl/test/runtests.jl:73
    [5] include(fname::String)
      @ Base.MainInclude ./client.jl:478
    [6] top-level scope
      @ REPL[25]:1
    [7] top-level scope
      @ ~/.julia/packages/CUDA/nIZkq/src/initialization.jl:208
    [8] eval
      @ ./boot.jl:370 [inlined]
    [9] eval_user_input(ast::Any, backend::REPL.REPLBackend, mod::Module)
      @ REPL /snap/julia/86/share/julia/stdlib/v1.9/REPL/src/REPL.jl:153
   [10] repl_backend_loop(backend::REPL.REPLBackend, get_module::Function)
      @ REPL /snap/julia/86/share/julia/stdlib/v1.9/REPL/src/REPL.jl:249
   [11] start_repl_backend(backend::REPL.REPLBackend, consumer::Any; get_module::Function)
      @ REPL /snap/julia/86/share/julia/stdlib/v1.9/REPL/src/REPL.jl:234
   [12] run_repl(repl::REPL.AbstractREPL, consumer::Any; backend_on_current_task::Bool, backend::Any)
      @ REPL /snap/julia/86/share/julia/stdlib/v1.9/REPL/src/REPL.jl:379
   [13] run_repl(repl::REPL.AbstractREPL, consumer::Any)
      @ REPL /snap/julia/86/share/julia/stdlib/v1.9/REPL/src/REPL.jl:365
   [14] (::Base.var"#1017#1019"{Bool, Bool, Bool})(REPL::Module)
      @ Base ./client.jl:421
   [15] #invokelatest#2
      @ ./essentials.jl:819 [inlined]
   [16] invokelatest
      @ ./essentials.jl:816 [inlined]
   [17] run_main_repl(interactive::Bool, quiet::Bool, banner::Bool, history_file::Bool, color_set::Bool)
      @ Base ./client.jl:405
   [18] exec_options(opts::Base.JLOptions)
      @ Base ./client.jl:322
   [19] _start()
      @ Base ./client.jl:522
Test Summary: | Error  Total  Time
CUDA          |     1      1  0.2s
ERROR: LoadError: Some tests did not pass: 0 passed, 0 failed, 1 errored, 0 broken.
in expression starting at /home/omairyrm/DaggerGPU.jl/test/runtests.jl:72
@jpsamaroo
Copy link
Member

This was determined to not be an issue when running with ] test, so closing this.

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