torch-rnn icon indicating copy to clipboard operation
torch-rnn copied to clipboard

No LuaRocks module found for cltorch

Open Andrewtait opened this issue 8 years ago • 4 comments

I tried to run a rnn using openCL but it returned the error "module 'cltorch' not found: No LuaRocks module found for cltorch". The way that cltorch is installed has recently changed and no longer uses luarocks and I think the issue lies here. I installed cltorch the way that is now recommended on the distro-cl page but this was unsuccessful.

Andrewtait avatar Jun 29 '16 00:06 Andrewtait

Strange, I had no issues installing cltorch from the suggested Github. Have you tried again recently? Were there any errors that occurred?

da-code-a avatar Aug 24 '16 18:08 da-code-a

I also do not see many required modules. Cannot install following rocks:

luarocks install torch luarocks install optim

luarocks install cltorch luarocks install clnn

I keep getting something like

# luarocks install torch

Error: No results matching query were found.

ostrosablin avatar Aug 27 '16 11:08 ostrosablin

@tmp6154 Did you make sure to follow the complete torch installation instructions first? You need to install regular torch through their instructions, then follow the instructions here for installing OpenCL torch. Then you can install the necessary rocks through lua.

da-code-a avatar Aug 29 '16 22:08 da-code-a

You need to make sure you do this: source ~/torch-cl/install/bin/torch-activate

odhinnsrunes avatar Apr 06 '17 14:04 odhinnsrunes