torch / nngraph

Graph Computation for nn

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't install in local tree

AndreaCogliati opened this issue · comments

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?

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