-
Notifications
You must be signed in to change notification settings - Fork 26
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
Observing "could not load cltorch, skipping" issue on a workstation "TongaGL" card #16
Comments
Clinfo log is as follows: clinfo Platform Name: AMD Accelerated Parallel Processing Device Type: CL_DEVICE_TYPE_CPU |
Hmmm, do you get any extra information if you do |
Hi, Here is what I get when I run "luajit -l cltorch" luajit -l cltorch |
Hmmm, are you able to run luajit with gdb? Something like:
|
Hi, Here is the output: gdb luajit |
Hmmm, seems it can't find libOpenCL.so . The lines corresponding to that error are:
It looks like it hunts for it simply in LD_LIBRARY_PATH, in src/thirdparty/clew/src/clew.c:
Can you try adding the directory containing libOpenCL.so to your LD_LIBRARY_PATH? |
Great!... That worked :) ==> Done Completed 156 asserts in 91 tests with 0 errorsall tests finished \Thanks :) |
Cool :-) |
I've followed the Readme file step by step. And when I am trying to run self-tests first (35th step), it says "could not load cltorch, skipping". Details below...
~/torch/cltorch# th -l cltorch -e 'cltorch.test()'
could not load cltorch, skipping
[string "cltorch.test()"]:1: attempt to index global 'cltorch' (a nil value)
The text was updated successfully, but these errors were encountered: