torch / nngraph

Graph Computation for nn
Other
299 stars 96 forks source link

Can't install in local tree #124

Open AndreaCogliati opened 8 years ago

AndreaCogliati commented 8 years ago

I'm trying to install the nngraph rock on my university high performance computing cluster, on which I don't have root access. I tried to install it in the local tree with:

luarockt --local install nngraph

but the installation fails with the following error:

Install the project... -- Install configuration: "Release" -- Old export file "/software/torch/share/cmake/torch/TorchExports.cmake" will be replaced. Removing files [/software/torch/share/cmake/torch/TorchExports-release.cmake]. -- Installing: /software/torch/share/cmake/torch/TorchExports.cmake CMake Error at cmake_install.cmake:48 (file): file INSTALL cannot copy file "/scratch/tmp/luarocks_torch-scm-1-5519/torch7/build/CMakeFiles/Export/share/cmake/torch/TorchExports.cmake" to "/software/torch/share/cmake/torch/TorchExports.cmake".

Any suggestion?

soumith commented 8 years ago

Have your own copy of torch in ~/torch by following instructions on http://torch.ch/docs/getting-started.html#_

After that, you can use: luarocks install torch