Open puneet336 opened 7 years ago
Hi,
You should install this repo using luarocks make
if you want to install from source.
The luarocks above should be the special one from torch (see where torch distro installs luajit).
What luarocks make
execute to build this repo is this.
The th
command line comes from the trepl
package, and is just a lua script executed inside luajit
that has some extra features to work better with torch. th
is not a binary. The only binary that is shipped is luajit
(from here), everything else are lua packages.
If you want to see exactly what is done to install torch from scratch, you can take a look at the install script from torch distro that installs luajit and all torch related packages.
Hi all, I am trying to compile torch 7 with gcc/4.9.3 compiler on centos 6.5. I had downloaded torch7 using:- git clone -b master --recursive https://github.com/torch/torch7.git
After executing : cmake -DCMAKE_CXX_COMPILER=
which g++
-DCMAKE_C_COMPILER=which gcc
-DCMAKE_CXX_FLAGS='-fPIC' -DCMAKE_C_FLAGS='-fPIC' -DCMAKE_INSTALL_PREFIX="$HOME/MYSOFTWARES/TORCH/7.master.16032017/gnu/" ..|tee cmakelogsI get libTH.so libTH.so.0 libluaT.so libluaT.so.0 libtorch.so libraries and i was unable to find th binary. Is this expected?
or th is part of https://github.com/torch/distro ?
Eagerly awaiting your replies.