Skip to content
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

Cant Install Torch Ubuntu 18.04 and CUDA 10.0 #253

Closed
Archit01 opened this issue Oct 5, 2018 · 27 comments
Closed

Cant Install Torch Ubuntu 18.04 and CUDA 10.0 #253

Archit01 opened this issue Oct 5, 2018 · 27 comments

Comments

@Archit01
Copy link

Archit01 commented Oct 5, 2018

`Prefix set to /home/archit/torch/install
Installing Lua version: LUAJIT21
Found CUDA on your machine. Installing CMake 3.6 modules to get up-to-date FindCUDA
-- Configuring done
-- Generating done
-- Build files have been written to: /home/archit/torch/cmake/3.6/build
Install the project...
-- Install configuration: ""
-- Up-to-date: /home/archit/torch/install/share/cmake/torch
-- Up-to-date: /home/archit/torch/install/share/cmake/torch/FindCUDA.cmake
-- Up-to-date: /home/archit/torch/install/share/cmake/torch/FindCUDA
-- Up-to-date: /home/archit/torch/install/share/cmake/torch/FindCUDA/make2cmake.cmake
-- Up-to-date: /home/archit/torch/install/share/cmake/torch/FindCUDA/select_compute_arch.cmake
-- Up-to-date: /home/archit/torch/install/share/cmake/torch/FindCUDA/run_nvcc.cmake
-- Up-to-date: /home/archit/torch/install/share/cmake/torch/FindCUDA/parse_cubin.cmake
FindCuda bits of CMake 3.6 installed
Installing common Lua packages
gcc -O2 -fPIC -I/home/archit/torch/install/include -c src/lfs.c -o src/lfs.o
gcc -shared -o lfs.so -L/home/archit/torch/install/lib src/lfs.o
Updating manifest for /home/archit/torch/install/lib/luarocks/rocks
luafilesystem 1.6.3-1 is now built and installed in /home/archit/torch/install/ (license: MIT/X11)

Updating manifest for /home/archit/torch/install/lib/luarocks/rocks
penlight scm-1 is now built and installed in /home/archit/torch/install/ (license: MIT/X11)

gcc -O2 -fPIC -I/home/archit/torch/install/include -c lua_cjson.c -o lua_cjson.o
gcc -O2 -fPIC -I/home/archit/torch/install/include -c strbuf.c -o strbuf.o
gcc -O2 -fPIC -I/home/archit/torch/install/include -c fpconv.c -o fpconv.o
gcc -shared -o cjson.so -L/home/archit/torch/install/lib lua_cjson.o strbuf.o fpconv.o
Updating manifest for /home/archit/torch/install/lib/luarocks/rocks
lua-cjson 2.1devel-1 is now built and installed in /home/archit/torch/install/ (license: MIT)

Installing core Torch packages
gcc -O2 -fPIC -I/home/archit/torch/install/include -c test.c -o test.o
gcc -shared -o ffi/libtest.so -L/home/archit/torch/install/lib test.o
gcc -O2 -fPIC -I/home/archit/torch/install/include -c call.c -o call.o -Idynasm
gcc -O2 -fPIC -I/home/archit/torch/install/include -c ctype.c -o ctype.o -Idynasm
gcc -O2 -fPIC -I/home/archit/torch/install/include -c ffi.c -o ffi.o -Idynasm
gcc -O2 -fPIC -I/home/archit/torch/install/include -c parser.c -o parser.o -Idynasm
gcc -shared -o ffi.so -L/home/archit/torch/install/lib call.o ctype.o ffi.o parser.o
Updating manifest for /home/archit/torch/install/lib/luarocks/rocks
luaffi scm-1 is now built and installed in /home/archit/torch/install/ (license: BSD)

gcc -O2 -fPIC -I/home/archit/torch/install/include -c src/autolink.c -o src/autolink.o -Isrc/ -Ihtml/
gcc -O2 -fPIC -I/home/archit/torch/install/include -c src/buffer.c -o src/buffer.o -Isrc/ -Ihtml/
gcc -O2 -fPIC -I/home/archit/torch/install/include -c src/markdown.c -o src/markdown.o -Isrc/ -Ihtml/
gcc -O2 -fPIC -I/home/archit/torch/install/include -c src/stack.c -o src/stack.o -Isrc/ -Ihtml/
gcc -O2 -fPIC -I/home/archit/torch/install/include -c html/houdini_href_e.c -o html/houdini_href_e.o -Isrc/ -Ihtml/
gcc -O2 -fPIC -I/home/archit/torch/install/include -c html/houdini_html_e.c -o html/houdini_html_e.o -Isrc/ -Ihtml/
gcc -O2 -fPIC -I/home/archit/torch/install/include -c html/html.c -o html/html.o -Isrc/ -Ihtml/
gcc -O2 -fPIC -I/home/archit/torch/install/include -c html/html_smartypants.c -o html/html_smartypants.o -Isrc/ -Ihtml/
gcc -shared -o libsundown.so -L/home/archit/torch/install/lib src/autolink.o src/buffer.o src/markdown.o src/stack.o html/houdini_href_e.o html/houdini_html_e.o html/html.o html/html_smartypants.o
Updating manifest for /home/archit/torch/install/lib/luarocks/rocks
sundown scm-1 is now built and installed in /home/archit/torch/install/ (license: BSD)

Updating manifest for /home/archit/torch/install/lib/luarocks/rocks
cwrap scm-1 is now built and installed in /home/archit/torch/install/ (license: BSD)

Warning: unmatched variable LUALIB
cmake -E make_directory build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DLUALIB= -DLUA_INCDIR="/home/archit/torch/install/include" -DLUA_LIBDIR="/home/archit/torch/install/lib" -DLUADIR="/home/archit/torch/install/lib/luarocks/rocks/paths/scm-1/lua" -DLIBDIR="/home/archit/torch/install/lib/luarocks/rocks/paths/scm-1/lib" -DCMAKE_INSTALL_PREFIX="/home/archit/torch/install/lib/luarocks/rocks/paths/scm-1" && make

-- Configuring done
-- Generating done
-- Build files have been written to: /home/archit/torch/pkg/paths/build
[100%] Built target paths
cd build && make install
[100%] Built target paths
Install the project...
-- Install configuration: "Release"
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/paths/scm-1/lua/paths/init.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/paths/scm-1/lib/libpaths.so
Updating manifest for /home/archit/torch/install/lib/luarocks/rocks
paths scm-1 is now built and installed in /home/archit/torch/install/ (license: BSD)

Warning: unmatched variable LUALIB
cmake -E make_directory build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DLUA=/home/archit/torch/install/bin/luajit -DLUALIB= -DLUA_BINDIR="/home/archit/torch/install/bin" -DLUA_INCDIR="/home/archit/torch/install/include" -DLUA_LIBDIR="/home/archit/torch/install/lib" -DLUADIR="/home/archit/torch/install/lib/luarocks/rocks/torch/scm-1/lua" -DLIBDIR="/home/archit/torch/install/lib/luarocks/rocks/torch/scm-1/lib" -DCMAKE_INSTALL_PREFIX="/home/archit/torch/install/lib/luarocks/rocks/torch/scm-1" && make -j$(getconf _NPROCESSORS_ONLN)

-- Found OpenMP_C: -fopenmp
-- Found OpenMP_CXX: -fopenmp
-- Compiling with OpenMP support
CMake Deprecation Warning at lib/TH/CMakeLists.txt:5 (CMAKE_POLICY):
The OLD behavior for policy CMP0026 will be removed from a future version
of CMake.

The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.

-- Found OpenMP_C: -fopenmp
-- Found OpenMP_CXX: -fopenmp
-- Compiling with OpenMP support
-- Could not find hardware support for NEON on this machine.
-- No OMAP3 processor on this machine.
-- No OMAP4 processor on this machine.
-- SSE2 Found
-- SSE3 Found
-- AVX Found
-- AVX2 Found
-- TH_SO_VERSION: 0
-- Atomics: using C11 intrinsics
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - iomp5 - pthread - m]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - iomp5 - pthread - m]
-- Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
-- Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - iomp5 - pthread - m]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - iomp5 - pthread - m]
-- Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
-- Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - pthread - m]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - pthread - m]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - pthread - m]
-- Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - pthread - m]
-- Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - pthread - m]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - pthread - m]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - pthread - m]
-- Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - pthread - m]
-- Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_sequential - mkl_core - m]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_sequential - mkl_core - m]
-- Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core - m]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_sequential - mkl_core - m]
-- Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_sequential - mkl_core - m]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_sequential - mkl_core - m]
-- Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core - m]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_sequential - mkl_core - m]
-- Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - iomp5 - pthread - m]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - iomp5 - pthread - m]
-- Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
-- Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - iomp5 - pthread - m]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - iomp5 - pthread - m]
-- Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
-- Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - pthread - m]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - pthread - m]
-- Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - pthread - m]
-- Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - pthread - m]
-- Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - pthread - m]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - pthread - m]
-- Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - pthread - m]
-- Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - pthread - m]
-- Library mkl_intel: not found
-- Checking for [mkl - guide - pthread - m]
-- Library mkl: not found
-- MKL library not found
-- Checking for [openblas]
-- Library openblas: /opt/OpenBLAS/lib/libopenblas.so
-- Found a library with BLAS API (open).
-- Found a library with LAPACK API. (open)
CMake Deprecation Warning at lib/luaT/CMakeLists.txt:3 (CMAKE_POLICY):
The OLD behavior for policy CMP0026 will be removed from a future version
of CMake.

The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.

-- Configuring done
-- Generating done
-- Build files have been written to: /home/archit/torch/pkg/torch/build
[ 5%] Built target luaT
[ 58%] Built target TH
[100%] Built target torch
cd build && make install
[ 5%] Built target luaT
[ 58%] Built target TH
[100%] Built target torch
Install the project...
-- Install configuration: "Release"
-- Up-to-date: /home/archit/torch/install/share/cmake/torch/TorchExports.cmake
-- Installing: /home/archit/torch/install/share/cmake/torch/TorchExports-release.cmake
-- Up-to-date: /home/archit/torch/install/share/cmake/torch/TorchConfig.cmake
-- Up-to-date: /home/archit/torch/install/share/cmake/torch/TorchWrap.cmake
-- Up-to-date: /home/archit/torch/install/share/cmake/torch/TorchPathsInit.cmake
-- Up-to-date: /home/archit/torch/install/share/cmake/torch/TorchPackage.cmake
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/torch/scm-1/lib/libtorch.so
-- Set runtime path of "/home/archit/torch/install/lib/luarocks/rocks/torch/scm-1/lib/libtorch.so" to "$ORIGIN/../lib:/home/archit/torch/install/lib:/opt/OpenBLAS/lib"
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/init.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/File.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/Tensor.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/CmdLine.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/FFInterface.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/Tester.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/TestSuite.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/paths.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/test.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/README.md
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/storage.md
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/serialization.md
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/gather.png
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/utility.md
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/cmdline.md
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/maths.md
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/diskfile.md
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/tensor.md
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/file.md
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/random.md
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/index.md
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/timer.md
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/tester.md
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/memoryfile.md
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/pipefile.md
-- Up-to-date: /home/archit/torch/install/lib/libTH.so.0
-- Up-to-date: /home/archit/torch/install/lib/libTH.so
-- Up-to-date: /home/archit/torch/install/include/TH/TH.h
-- Up-to-date: /home/archit/torch/install/include/TH/THAllocator.h
-- Up-to-date: /home/archit/torch/install/include/TH/THMath.h
-- Up-to-date: /home/archit/torch/install/include/TH/THBlas.h
-- Up-to-date: /home/archit/torch/install/include/TH/THDiskFile.h
-- Up-to-date: /home/archit/torch/install/include/TH/THFile.h
-- Up-to-date: /home/archit/torch/install/include/TH/THFilePrivate.h
-- Up-to-date: /home/archit/torch/install/include/TH/THGeneral.h
-- Up-to-date: /home/archit/torch/install/include/TH/THGenerateAllTypes.h
-- Up-to-date: /home/archit/torch/install/include/TH/THGenerateDoubleType.h
-- Up-to-date: /home/archit/torch/install/include/TH/THGenerateFloatType.h
-- Up-to-date: /home/archit/torch/install/include/TH/THGenerateHalfType.h
-- Up-to-date: /home/archit/torch/install/include/TH/THGenerateLongType.h
-- Up-to-date: /home/archit/torch/install/include/TH/THGenerateIntType.h
-- Up-to-date: /home/archit/torch/install/include/TH/THGenerateShortType.h
-- Up-to-date: /home/archit/torch/install/include/TH/THGenerateCharType.h
-- Up-to-date: /home/archit/torch/install/include/TH/THGenerateByteType.h
-- Up-to-date: /home/archit/torch/install/include/TH/THGenerateFloatTypes.h
-- Up-to-date: /home/archit/torch/install/include/TH/THGenerateIntTypes.h
-- Up-to-date: /home/archit/torch/install/include/TH/THLapack.h
-- Up-to-date: /home/archit/torch/install/include/TH/THLogAdd.h
-- Up-to-date: /home/archit/torch/install/include/TH/THMemoryFile.h
-- Up-to-date: /home/archit/torch/install/include/TH/THRandom.h
-- Up-to-date: /home/archit/torch/install/include/TH/THSize.h
-- Up-to-date: /home/archit/torch/install/include/TH/THStorage.h
-- Up-to-date: /home/archit/torch/install/include/TH/THTensor.h
-- Up-to-date: /home/archit/torch/install/include/TH/THTensorApply.h
-- Up-to-date: /home/archit/torch/install/include/TH/THTensorDimApply.h
-- Up-to-date: /home/archit/torch/install/include/TH/THTensorMacros.h
-- Up-to-date: /home/archit/torch/install/include/TH/THVector.h
-- Up-to-date: /home/archit/torch/install/include/TH/THAtomic.h
-- Up-to-date: /home/archit/torch/install/include/TH/THHalf.h
-- Up-to-date: /home/archit/torch/install/include/TH/vector/AVX.h
-- Up-to-date: /home/archit/torch/install/include/TH/vector/AVX2.h
-- Up-to-date: /home/archit/torch/install/include/TH/generic/THBlas.c
-- Up-to-date: /home/archit/torch/install/include/TH/generic/THBlas.h
-- Up-to-date: /home/archit/torch/install/include/TH/generic/THLapack.c
-- Up-to-date: /home/archit/torch/install/include/TH/generic/THLapack.h
-- Up-to-date: /home/archit/torch/install/include/TH/generic/THStorage.c
-- Up-to-date: /home/archit/torch/install/include/TH/generic/THStorage.h
-- Up-to-date: /home/archit/torch/install/include/TH/generic/THStorageCopy.c
-- Up-to-date: /home/archit/torch/install/include/TH/generic/THStorageCopy.h
-- Up-to-date: /home/archit/torch/install/include/TH/generic/THTensor.c
-- Up-to-date: /home/archit/torch/install/include/TH/generic/THTensor.h
-- Up-to-date: /home/archit/torch/install/include/TH/generic/THTensorConv.c
-- Up-to-date: /home/archit/torch/install/include/TH/generic/THTensorConv.h
-- Up-to-date: /home/archit/torch/install/include/TH/generic/THTensorCopy.c
-- Up-to-date: /home/archit/torch/install/include/TH/generic/THTensorCopy.h
-- Up-to-date: /home/archit/torch/install/include/TH/generic/THTensorLapack.c
-- Up-to-date: /home/archit/torch/install/include/TH/generic/THTensorLapack.h
-- Up-to-date: /home/archit/torch/install/include/TH/generic/THTensorMath.c
-- Up-to-date: /home/archit/torch/install/include/TH/generic/THTensorMath.h
-- Up-to-date: /home/archit/torch/install/include/TH/generic/THTensorRandom.c
-- Up-to-date: /home/archit/torch/install/include/TH/generic/THTensorRandom.h
-- Up-to-date: /home/archit/torch/install/include/TH/generic/THVectorDispatch.c
-- Up-to-date: /home/archit/torch/install/include/TH/generic/THVector.h
-- Up-to-date: /home/archit/torch/install/share/cmake/torch/THConfig.cmake
-- Up-to-date: /home/archit/torch/install/lib/libluaT.so.0
-- Up-to-date: /home/archit/torch/install/lib/libluaT.so
-- Up-to-date: /home/archit/torch/install/include/luaT.h
-- Up-to-date: /home/archit/torch/install/share/cmake/torch/luaTConfig.cmake
Updating manifest for /home/archit/torch/install/lib/luarocks/rocks
torch scm-1 is now built and installed in /home/archit/torch/install/ (license: BSD)

Updating manifest for /home/archit/torch/install/lib/luarocks/rocks
dok scm-1 is now built and installed in /home/archit/torch/install/ (license: BSD)

gcc -O2 -fPIC -I/home/archit/torch/install/include -c utils.c -o utils.o
gcc -shared -o treplutils.so -L/home/archit/torch/install/lib utils.o
gcc -O2 -fPIC -I/home/archit/torch/install/include -c readline.c -o readline.o
gcc -shared -o readline.so -L/home/archit/torch/install/lib readline.o -lreadline
Updating manifest for /home/archit/torch/install/lib/luarocks/rocks
trepl scm-1 is now built and installed in /home/archit/torch/install/ (license: BSD)

Warning: unmatched variable LUALIB
cmake -E make_directory build && cd build && cmake .. -DLUALIB= -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="/home/archit/torch/install/lib/luarocks/rocks/sys/1.1-0" && make
-- Found Torch7 in /home/archit/torch/install
-- Configuring done
-- Generating done
-- Build files have been written to: /home/archit/torch/pkg/sys/build
[100%] Built target sys
cd build && make install
[100%] Built target sys
Install the project...
-- Install configuration: "Release"
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/sys/1.1-0/lib/libsys.so
-- Set runtime path of "/home/archit/torch/install/lib/luarocks/rocks/sys/1.1-0/lib/libsys.so" to "$ORIGIN/../lib:/home/archit/torch/install/lib:/opt/OpenBLAS/lib"
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/sys/1.1-0/lua/sys/init.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/sys/1.1-0/lua/sys/colors.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/sys/1.1-0/lua/sys/fpath.lua
Updating manifest for /home/archit/torch/install/lib/luarocks/rocks
sys 1.1-0 is now built and installed in /home/archit/torch/install/ (license: BSD)

Updating manifest for /home/archit/torch/install/lib/luarocks/rocks
xlua 1.0-0 is now built and installed in /home/archit/torch/install/ (license: BSD)

Updating manifest for /home/archit/torch/install/lib/luarocks/rocks
moses 1.6.1-1 is now built and installed in /home/archit/torch/install/ (license: MIT http://www.opensource.org/licenses/mit-license.php)

cmake -E make_directory build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/home/archit/torch/install/bin/.." -DCMAKE_INSTALL_PREFIX="/home/archit/torch/install/lib/luarocks/rocks/nn/scm-1" -DLUA_INCDIR="/home/archit/torch/install/include" -DLUA_LIBDIR="/home/archit/torch/install/lib" && make

-- Found Torch7 in /home/archit/torch/install
-- TH_LIBRARIES: TH
CMake Warning (dev) at /usr/share/cmake-3.10/Modules/FindOpenMP.cmake:310 (if):
if given arguments:

"TRUE"

An argument named "TRUE" appears in a conditional statement. Policy
CMP0012 is not set: if() recognizes numbers and boolean constants. Run
"cmake --help-policy CMP0012" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
Call Stack (most recent call first):
/usr/share/cmake-3.10/Modules/FindOpenMP.cmake:425 (_OPENMP_GET_SPEC_DATE)
lib/THNN/CMakeLists.txt:52 (FIND_PACKAGE)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/share/cmake-3.10/Modules/FindOpenMP.cmake:310 (if):
if given arguments:

"TRUE"

An argument named "TRUE" appears in a conditional statement. Policy
CMP0012 is not set: if() recognizes numbers and boolean constants. Run
"cmake --help-policy CMP0012" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
Call Stack (most recent call first):
/usr/share/cmake-3.10/Modules/FindOpenMP.cmake:425 (_OPENMP_GET_SPEC_DATE)
lib/THNN/CMakeLists.txt:52 (FIND_PACKAGE)
This warning is for project developers. Use -Wno-dev to suppress it.

-- Compiling with OpenMP support
-- Configuring done
-- Generating done
-- Build files have been written to: /home/archit/torch/extra/nn/build
[100%] Built target THNN
cd build && make install
[100%] Built target THNN
Install the project...
-- Install configuration: "Release"
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Abs.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/AbsCriterion.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Add.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/AddConstant.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/BCECriterion.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/BatchNormalization.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Bilinear.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Bottle.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/CAdd.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/CAddTable.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/CAddTensorTable.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/CDivTable.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/CMaxTable.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/CMinTable.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/CMul.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/CMulTable.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/CReLU.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/CSubTable.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Clamp.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/ClassNLLCriterion.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/ClassSimplexCriterion.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Collapse.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Concat.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/ConcatTable.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Constant.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Container.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Contiguous.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Convert.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Copy.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Cosine.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/CosineDistance.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/CosineEmbeddingCriterion.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Criterion.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/CriterionTable.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/CrossEntropyCriterion.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Decorator.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/DepthConcat.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/DistKLDivCriterion.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/DistanceRatioCriterion.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/DontCast.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/DotProduct.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Dropout.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/ELU.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/ErrorMessages.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Euclidean.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Exp.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/FlattenTable.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/GPU.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/GatedLinearUnit.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/GradientReversal.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/HardShrink.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/HardTanh.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/HingeEmbeddingCriterion.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Identity.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Index.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/IndexLinear.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Jacobian.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/JoinTable.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Kmeans.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/L1Cost.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/L1HingeEmbeddingCriterion.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/L1Penalty.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/LayerNormalization.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/LeakyReLU.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Linear.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/LinearWeightNorm.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Log.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/LogSigmoid.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/LogSoftMax.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/LookupTable.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/MM.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/MSECriterion.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/MV.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/MapTable.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/MarginCriterion.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/MarginRankingCriterion.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/MaskedSelect.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Max.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Maxout.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Mean.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Min.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/MixtureTable.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Module.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/ModuleCriterion.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Mul.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/MulConstant.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/MultiCriterion.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/MultiLabelMarginCriterion.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/MultiLabelSoftMarginCriterion.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/MultiMarginCriterion.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/NaN.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Narrow.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/NarrowTable.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Normalize.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/OneHot.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/PReLU.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Padding.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/PairwiseDistance.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Parallel.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/ParallelCriterion.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/ParallelTable.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/PartialLinear.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/PixelShuffle.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Power.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/PrintSize.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Profile.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/RReLU.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/ReLU.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/ReLU6.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Replicate.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Reshape.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Select.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SelectTable.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Sequential.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Sigmoid.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SmoothL1Criterion.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SoftMarginCriterion.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SoftMax.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SoftMin.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SoftPlus.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SoftShrink.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SoftSign.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SparseJacobian.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SparseLinear.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialAdaptiveAveragePooling.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialAdaptiveMaxPooling.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialAutoCropMSECriterion.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialAveragePooling.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialBatchNormalization.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialClassNLLCriterion.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialContrastiveNormalization.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialConvolution.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialConvolutionLocal.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialConvolutionMM.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialConvolutionMap.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialCrossMapLRN.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialDepthWiseConvolution.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialDilatedConvolution.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialDilatedMaxPooling.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialDivisiveNormalization.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialDropout.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialFractionalMaxPooling.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialFullConvolution.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialFullConvolutionMap.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialLPPooling.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialLogSoftMax.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialMaxPooling.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialMaxUnpooling.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialReflectionPadding.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialReplicationPadding.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialSoftMax.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialSubSampling.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialSubtractiveNormalization.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialUpSamplingBilinear.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialUpSamplingNearest.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialZeroPadding.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SplitTable.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Sqrt.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Square.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Squeeze.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/StochasticGradient.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Sum.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/THNN.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/THNN_h.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Tanh.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/TanhShrink.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/TemporalConvolution.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/TemporalDynamicKMaxPooling.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/TemporalMaxPooling.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/TemporalRowConvolution.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/TemporalSubSampling.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Threshold.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Transpose.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Unsqueeze.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/View.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/VolumetricAveragePooling.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/VolumetricBatchNormalization.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/VolumetricConvolution.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/VolumetricDilatedConvolution.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/VolumetricDilatedMaxPooling.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/VolumetricDropout.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/VolumetricFractionalMaxPooling.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/VolumetricFullConvolution.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/VolumetricMaxPooling.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/VolumetricMaxUnpooling.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/VolumetricReplicationPadding.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/WeightNorm.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/WeightedEuclidean.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/WeightedMSECriterion.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/WhiteNoise.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/ZeroGrad.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/ZipTable.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/ZipTableOneToMany.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/hessian.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/init.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/test.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/utils.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/simple.md
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/table.md
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/containers.md
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/overview.md
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/module.md
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/criterion.md
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/convolution.md
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/testing.md
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/square.png
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/exp.png
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/sigmoid.png
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/prelu.png
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/lena.jpg
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/rrelu.png
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/lenap.jpg
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/relu6.png
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/sigmmoid.png
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/softplus.png
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/hshrink.png
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/sshrink.png
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/relu.png
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/logsoftmax.png
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/softsign.png
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/sqrt.png
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/htanh.png
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/softmin.png
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/tanh.png
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/abs.png
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/elu.png
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/power.png
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/logsigmoid.png
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/softmax.png
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/transfer.md
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/index.md
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/training.md
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lua/nn/README.md
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lib/libTHNN.so
-- Set runtime path of "/home/archit/torch/install/lib/luarocks/rocks/nn/scm-1/lib/libTHNN.so" to "$ORIGIN/../lib:/home/archit/torch/install/lib:/opt/OpenBLAS/lib"
-- Up-to-date: /home/archit/torch/install/include/THNN/THNN.h
-- Up-to-date: /home/archit/torch/install/include/THNN/generic/THNN.h
Updating manifest for /home/archit/torch/install/lib/luarocks/rocks
nn scm-1 is now built and installed in /home/archit/torch/install/ (license: BSD)

cmake -E make_directory build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/home/archit/torch/install/bin/.." -DCMAKE_INSTALL_PREFIX="/home/archit/torch/install/lib/luarocks/rocks/graph/scm-1" && make

-- Found Torch7 in /home/archit/torch/install
-- Configuring done
-- Generating done
-- Build files have been written to: /home/archit/torch/extra/graph/build
cd build && make install
Install the project...
-- Install configuration: "Release"
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/graph/scm-1/lua/graph/Edge.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/graph/scm-1/lua/graph/Node.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/graph/scm-1/lua/graph/graphviz.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/graph/scm-1/lua/graph/init.lua
Updating manifest for /home/archit/torch/install/lib/luarocks/rocks
graph scm-1 is now built and installed in /home/archit/torch/install/ (license: UNKNOWN)

cmake -E make_directory build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/home/archit/torch/install/bin/.." -DCMAKE_INSTALL_PREFIX="/home/archit/torch/install/lib/luarocks/rocks/nngraph/scm-1" && make

-- Found Torch7 in /home/archit/torch/install
-- Configuring done
-- Generating done
-- Build files have been written to: /home/archit/torch/extra/nngraph/build
cd build && make install
Install the project...
-- Install configuration: "Release"
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nngraph/scm-1/lua/nngraph/JustElement.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nngraph/scm-1/lua/nngraph/JustTable.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nngraph/scm-1/lua/nngraph/ModuleFromCriterion.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nngraph/scm-1/lua/nngraph/gmodule.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nngraph/scm-1/lua/nngraph/graphinspecting.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nngraph/scm-1/lua/nngraph/init.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nngraph/scm-1/lua/nngraph/nest.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nngraph/scm-1/lua/nngraph/nesting.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nngraph/scm-1/lua/nngraph/node.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nngraph/scm-1/lua/nngraph/simple_print.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/nngraph/scm-1/lua/nngraph/utils.lua
Updating manifest for /home/archit/torch/install/lib/luarocks/rocks
nngraph scm-1 is now built and installed in /home/archit/torch/install/ (license: UNKNOWN)

Warning: unmatched variable LUALIB
cmake -E make_directory build && cd build && cmake .. -DLUALIB= -DLUA_INCDIR="/home/archit/torch/install/include" -DLUA_LIBDIR="/home/archit/torch/install/lib" -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/home/archit/torch/install/bin/.." -DCMAKE_INSTALL_PREFIX="/home/archit/torch/install/lib/luarocks/rocks/image/1.1.alpha-0" && make

-- Found Torch7 in /home/archit/torch/install
CMake Warning (dev) at /usr/share/cmake-3.10/Modules/FindOpenMP.cmake:310 (if):
if given arguments:

"TRUE"

An argument named "TRUE" appears in a conditional statement. Policy
CMP0012 is not set: if() recognizes numbers and boolean constants. Run
"cmake --help-policy CMP0012" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
Call Stack (most recent call first):
/usr/share/cmake-3.10/Modules/FindOpenMP.cmake:425 (_OPENMP_GET_SPEC_DATE)
CMakeLists.txt:28 (FIND_PACKAGE)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/share/cmake-3.10/Modules/FindOpenMP.cmake:310 (if):
if given arguments:

"TRUE"

An argument named "TRUE" appears in a conditional statement. Policy
CMP0012 is not set: if() recognizes numbers and boolean constants. Run
"cmake --help-policy CMP0012" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
Call Stack (most recent call first):
/usr/share/cmake-3.10/Modules/FindOpenMP.cmake:425 (_OPENMP_GET_SPEC_DATE)
CMakeLists.txt:28 (FIND_PACKAGE)
This warning is for project developers. Use -Wno-dev to suppress it.

-- Compiling with OpenMP support
-- Configuring done
-- Generating done
-- Build files have been written to: /home/archit/torch/pkg/image/build
[ 25%] Built target image
[ 50%] Built target ppm
[ 75%] Built target jpeg
[100%] Built target lua_png
cd build && make install
[ 25%] Built target image
[ 50%] Built target ppm
[ 75%] Built target jpeg
[100%] Built target lua_png
Install the project...
-- Install configuration: "Release"
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lib/libppm.so
-- Set runtime path of "/home/archit/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lib/libppm.so" to "$ORIGIN/../lib:/home/archit/torch/install/lib:/opt/OpenBLAS/lib"
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lib/libjpeg.so
-- Set runtime path of "/home/archit/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lib/libjpeg.so" to "$ORIGIN/../lib:/home/archit/torch/install/lib:/opt/OpenBLAS/lib"
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lib/liblua_png.so
-- Set runtime path of "/home/archit/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lib/liblua_png.so" to "$ORIGIN/../lib:/home/archit/torch/install/lib:/opt/OpenBLAS/lib"
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lib/libimage.so
-- Set runtime path of "/home/archit/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lib/libimage.so" to "$ORIGIN/../lib:/home/archit/torch/install/lib:/opt/OpenBLAS/lib"
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/init.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/win.ui
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/test.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/bmp-without-ext
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/rectangle.png
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/P5.pgm
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/rgb2x1.png
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/gray16-1x2.png
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/fabio.jpg
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/gray3x1.png
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/foobar.png
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/corrupt-ihdr.png
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/grace_hopper_512.png
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/P4.pbm
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/P6.ppm
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/fabio.png
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/rgb16-2x1.png
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/P2.pgm
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/grace_hopper_512.jpg
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/README.md
Updating manifest for /home/archit/torch/install/lib/luarocks/rocks
image 1.1.alpha-0 is now built and installed in /home/archit/torch/install/ (license: BSD)

cmake -E make_directory build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/home/archit/torch/install/bin/.." -DCMAKE_INSTALL_PREFIX="/home/archit/torch/install/lib/luarocks/rocks/optim/1.0.5-0" && make

-- Found Torch7 in /home/archit/torch/install
-- Configuring done
-- Generating done
-- Build files have been written to: /home/archit/torch/pkg/optim/build
cd build && make install
Install the project...
-- Install configuration: "Release"
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/ConfusionMatrix.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/Logger.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/adadelta.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/adagrad.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/adam.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/adamax.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/asgd.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/cg.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/checkgrad.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/cmaes.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/de.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/fista.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/init.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/lbfgs.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/lswolfe.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/nag.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/polyinterp.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/rmsprop.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/rprop.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/sgd.lua
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/doc
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/doc/intro.md
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/doc/logger.md
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/doc/image
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/doc/image/parameterflattening.png
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/doc/image/parameterflattening.svg
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/doc/image/parameterflattening.svg.png
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/doc/algos.md
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/doc/logger_plot.png
-- Installing: /home/archit/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/README.md
Updating manifest for /home/archit/torch/install/lib/luarocks/rocks
optim 1.0.5-0 is now built and installed in /home/archit/torch/install/ (license: BSD)

Found CUDA on your machine. Installing CUDA packages
Warning: unmatched variable LUALIB

jopts=$(getconf _NPROCESSORS_CONF)

echo "Building on $jopts cores"
cmake -E make_directory build && cd build && cmake .. -DLUALIB= -DLUA_INCDIR=/home/archit/torch/install/include -DCMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS} -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/home/archit/torch/install/bin/.." -DCMAKE_INSTALL_PREFIX="/home/archit/torch/install/lib/luarocks/rocks/cutorch/scm-1" && make -j$jopts install

Building on 4 cores
-- Found Torch7 in /home/archit/torch/install
-- Removing -DNDEBUG from compile flags
-- TH_LIBRARIES: TH
-- MAGMA not found. Compiling without MAGMA support
-- Autodetected CUDA architecture(s): 5.0
-- got cuda version 10.0
-- Found CUDA with FP16 support, compiling with torch.CudaHalfTensor
-- CUDA_NVCC_FLAGS: -gencode;arch=compute_50,code=sm_50;-DCUDA_HAS_FP16=1
-- THC_SO_VERSION: 0
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CUDA_cublas_device_LIBRARY (ADVANCED)
linked by target "THC" in directory /home/archit/torch/extra/cutorch/lib/THC

-- Configuring incomplete, errors occurred!
See also "/home/archit/torch/extra/cutorch/build/CMakeFiles/CMakeOutput.log".
See also "/home/archit/torch/extra/cutorch/build/CMakeFiles/CMakeError.log".

Error: Build error: Failed building.
`

@nagadomi
Copy link
Owner

nagadomi commented Oct 7, 2018

That is probably a problem of Torch, but I will check it later.

@nagadomi
Copy link
Owner

Torch seems to be difficult to support CUDA10.
The above error is the problem that FindCUDA.cmake is old, but problems are in many parts of cutorch.

@nagadomi
Copy link
Owner

I have successfully build Torch with CUDA10.
See torch/cutorch#834 (comment)

@nagadomi
Copy link
Owner

nagadomi commented Dec 8, 2018

Building Torch with CUDA10 is a troublesome work. So, I released torch's distro for CUDA10. Please note that this only works with CUDA10.
https://github.com/nagadomi/distro.git

git clone https://github.com/nagadomi/distro.git ~/torch --recursive
cd ~/torch
./install-deps
./clean.sh
./update.sh

@QROST
Copy link

QROST commented May 31, 2019

And after ./update.sh, use . ~/torch/install/bin/torch-activate to activate torch
reference:
torch/torch7#945 (comment)

@nagadomi
Copy link
Owner

Did you use the above distro repo to install torch7?
I have already fixed that error.

@chingjunehao
Copy link

@nagadomi ya we still need @QROST suggestion to activate the torch.

@nagadomi
Copy link
Owner

@chingjunehao
My above comment is a reply to the post that was here before, but it has already been deleted.
torch-activate is added to ~/.bashrc,.zshrc, so it is automatically executed at login.

@wafflesinmybauble
Copy link

wafflesinmybauble commented Oct 29, 2019

Can I ingore this? It was found in the ./update.sh step: HEAD is now at c77e2fe Fix cmake syntax error in older cmake versions
Running th waifu2x.lua -m scale -i input_image.png -o output_image.png doesn't do anything. I think torch is broken for me. But I found no error messages besides the one above.
EDIT: Wait, there's more errors found in the ./install_lua_modules.sh step.
https://pastebin.com/raw/2pKKMj0M

@nagadomi
Copy link
Owner

Can I ingore this? It was found in the ./update.sh step: HEAD is now at c77e2fe Fix cmake syntax error in older cmake versions

It's just a commit message, not an error.

EDIT: Wait, there's more errors found in the ./install_lua_modules.sh step.
Missing dependencies for cudnn scm-1:
torch >= 7.0 (not installed)
cutorch (not installed)
nn (not installed)

sudo is not required for ./install_lua_modules.sh. It doesn't use environment variables correctly.
Or another version of luarocks command is installed.

% which luarocks
/home/nagadomi/torch/install/bin/luarocks

When you run ~/torch/install/bin/torch-activate command, ~/torch/install/bin will be added to $PATH(top of search path) and the correct luarocks command is selected.

@wafflesinmybauble
Copy link

wafflesinmybauble commented Nov 13, 2019

My luarocks is in /home/username/torch/install/bin/luarocks Is that the correct path? Every time I try th waifu2x.lua it throws out Segmentation fault (core dumped). I might just start from scratch because it seems like I might be missing something fundamental here. I can still enter into th, it's just that th waifu2x.lua throws out that fault message.
EDIT: Is it because I'm running Ubuntu 18? I've noticed here that OP is running Ubuntu 16. Then again I also saw this tutorial for setting up torch7 on Ubuntu 18. Apparently even then people are encountering an error when trying to run install-deps when looking at the comments of that tutorial page. And here they ran into a similar problem with install-deps.

I just realized that this is for Ubuntu 16 only. Is there any chance that it can work for 18? If it's only on 16 then I would have reinstall my entire OS. Or I can get my version 16 on my old HDD to work again. (Another challenge all in its own).

@nagadomi
Copy link
Owner

nagadomi commented Nov 13, 2019

I have used this on Ubuntu 18.04. Also Docker images( https://hub.docker.com/r/nagadomi/torch7 https://hub.docker.com/r/nagadomi/waifu2x ) are built with Ubuntu 18.04 and works.

EDIT:
I recommend you to reinstall torch(and luajit). Because your previous installation uses sudo, it can create inaccessible files or cause link errors.

sudo rm -fr ~/torch
sudo rm -fr ~/.nv

Then reinstall torch and waifu2x without using sudo unless requested from the shell script.

@wafflesinmybauble
Copy link

I got it working. Thanks for your help.

@christegho
Copy link

christegho commented Nov 20, 2019

I had the same issue (I have CUDA 10.0 and Ubuntu 18.04), and I followed the instructions in #253 (comment) by @nagadomi . I am now able to import torch, but I get ModuleNotFoundError: No module named 'torch.nn'. I guess it might be related to the pytorch version, but I am wondering if anyone had that issue as well?

Same goes with AttributeError: module 'torch' has no attribute 'cuda'

I am using Python 3.6.8.

@nagadomi
Copy link
Owner

@christegho
First, Torch7 is the older project of torch, it is not related to PyTorch or Python.

If you are trying to install Torch7 (not PyTorch), the error is because CUDA module is not built due to CUDA library could not be detected at build time. Try setting environment variables such as CUDA_HOME correctly at build time.

@christegho
Copy link

christegho commented Nov 20, 2019 via email

@FantasyJXF
Copy link

Building Torch with CUDA10 is a troublesome work. So, I released torch's distro for CUDA10. Please note that this only works with CUDA10.
https://github.com/nagadomi/distro.git

git clone https://github.com/nagadomi/distro.git ~/torch --recursive
cd ~/torch
./install-deps
./clean.sh
./update.sh

My Env:

  • CentOS 7.3
  • Cuda 10.0
  • GPU: Tesla V100 with driver 410.129

Did the above commands but still can't install packages with luarocks, the error message is

Warning: Failed searching manifest: Failed fetching manifest for https://raw.githubusercontent.com/torch/rocks/master - Failed downloading https://raw.githubusercontent.com/torch/rocks/master/manifest - /home/work/.cache/luarocks/https___raw.githubusercontent.com_torch_rocks_master/manifest
Warning: Failed searching manifest: Failed fetching manifest for https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master - Failed downloading https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/manifest - /home/work/.cache/luarocks/https___raw.githubusercontent.com_rocks-moonscript-org_moonrocks-mirror_master/manifest

Error: No results matching query were found.

And I followed some advices to rm -f ~/.cache/luarocks, nothing works, I had tested on two computers and met the same Wrong Message, any suggest?

@FantasyJXF
Copy link

Poor Chinese, my problem is GateWall, I can't download files abroad. I have to download the spec files and the manually luarocks build.

@sajjadafridi
Copy link

Building Torch with CUDA10 is a troublesome work. So, I released torch's distro for CUDA10. Please note that this only works with CUDA10.
https://github.com/nagadomi/distro.git

git clone https://github.com/nagadomi/distro.git ~/torch --recursive
cd ~/torch
./install-deps
./clean.sh
./update.sh

My Env:

  • CentOS 7.3
  • Cuda 10.0
  • GPU: Tesla V100 with driver 410.129

Did the above commands but still can't install packages with luarocks, the error message is

Warning: Failed searching manifest: Failed fetching manifest for https://raw.githubusercontent.com/torch/rocks/master - Failed downloading https://raw.githubusercontent.com/torch/rocks/master/manifest - /home/work/.cache/luarocks/https___raw.githubusercontent.com_torch_rocks_master/manifest
Warning: Failed searching manifest: Failed fetching manifest for https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master - Failed downloading https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/manifest - /home/work/.cache/luarocks/https___raw.githubusercontent.com_rocks-moonscript-org_moonrocks-mirror_master/manifest

Error: No results matching query were found.

And I followed some advices to rm -f ~/.cache/luarocks, nothing works, I had tested on two computers and met the same Wrong Message, any suggest?

use this
sudo luarocks --from=https://raw.githubusercontent.com/torch/rocks/master/ install packagename

@arunasank
Copy link

Fails while installing cutorch in ./update.sh. I am running Ubuntu 18.04 and CUDA 10.0. Is there something else I must fix?

jopts=$(getconf _NPROCESSORS_CONF)

echo "Building on $jopts cores"
cmake -E make_directory build && cd build && cmake .. -DLUALIB= -DLUA_INCDIR=/root/torch/install/include -DCMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS} -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/root/torch/install/bin/.." -DCMAKE_INSTALL_PREFIX="/root/torch/install/lib/luarocks/rocks/cutorch/scm-1" && make -j$jopts install

Building on 32 cores
CMake Warning (dev) in CMakeLists.txt:
  No project() command is present.  The top-level CMakeLists.txt file must
  contain a literal, direct call to the project() command.  Add a line of
  code such as

    project(ProjectName)

  near the top of the file, but after cmake_minimum_required().

  CMake is pretending there is a "project(Project)" command on the first
  line.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is GNU 7.4.0
-- The CXX compiler identification is GNU 7.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Torch7 in /root/torch/install
-- Found CUDA: /usr/local/cuda (found suitable version "10.0", minimum required is "6.5")
-- Removing -DNDEBUG from compile flags
-- TH_LIBRARIES: TH
-- MAGMA not found. Compiling without MAGMA support
-- Autodetected CUDA architecture(s):  6.1 6.1 6.1 6.1 6.1 6.1 6.1 6.1
-- got cuda version 10.0
-- Found CUDA with FP16 support, compiling with torch.CudaHalfTensor
-- CUDA_NVCC_FLAGS: -D__CUDA_NO_HALF_OPERATORS__;-gencode;arch=compute_61,code=sm_61;-DCUDA_HAS_FP16=1
-- THC_SO_VERSION: 0
-- Performing Test HAS_LUAL_SETFUNCS
-- Performing Test HAS_LUAL_SETFUNCS - Failed
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CUDA_cublas_LIBRARY (ADVANCED)
    linked by target "THC" in directory /root/torch/extra/cutorch/lib/THC
CUDA_curand_LIBRARY (ADVANCED)
    linked by target "THC" in directory /root/torch/extra/cutorch/lib/THC
CUDA_cusparse_LIBRARY (ADVANCED)
    linked by target "THC" in directory /root/torch/extra/cutorch/lib/THC

-- Configuring incomplete, errors occurred!
See also "/root/torch/extra/cutorch/build/CMakeFiles/CMakeOutput.log".
See also "/root/torch/extra/cutorch/build/CMakeFiles/CMakeError.log".

Error: Build error: Failed building.

@arunasank
Copy link

I fixed this with a couple of things. When you see the above error, run

sudo apt install -y cuda-cusparse-dev-10-0 cuda-curand-dev-10-0 libcusparse-dev
rm ~/torch/extra/cutorch/build/CMakeCache.txt
./update.sh

@ast1997
Copy link

ast1997 commented Feb 14, 2020

Building Torch with CUDA10 is a troublesome work. So, I released torch's distro for CUDA10. Please note that this only works with CUDA10.
https://github.com/nagadomi/distro.git

git clone https://github.com/nagadomi/distro.git ~/torch --recursive
cd ~/torch
./install-deps
./clean.sh
./update.sh

I tried installing it. It installed. but when i type th incmd it shows /bin/bash: th: command not found.
@nagadomi can you help me with this

@nagadomi
Copy link
Owner

@ast1997
See #253 (comment)
torch-activate is added to ~/.bashrc or .zshrc, so it will be executed automatically at the next login.

@arthurwolf
Copy link

I have been at this for 9 hours, and I'm crying. This is one rabbit hole after another, and nothing ever works. Running Debian10. This is the most difficult software to install I have run into in years. Just needed to say something to ease the pain.

@IgnacioBolivar
Copy link

I have been at this for 9 hours, and I'm crying. This is one rabbit hole after another, and nothing ever works. Running Debian10. This is the most difficult software to install I have run into in years. Just needed to say something to ease the pain.

I am having the same problem, how did you solve it?

@IgnacioBolivar
Copy link

I fixed this with a couple of things. When you see the above error, run


sudo apt install -y cuda-cusparse-dev-10-0 cuda-curand-dev-10-0 libcusparse-dev

rm ~/torch/extra/cutorch/build/CMakeCache.txt

./update.sh

It is unable to locate the packages

@dark-swordsman
Copy link

I was unable to get Torch installed correctly through the source provided on the readme.

This ended up working for me: junyanz/CycleGAN#82 (comment)

Hard but easy

Clone the Torch repo (forked to work with CUDA 10).

!git clone https://github.com/nagadomi/distro.git torch --recursive

Install Torch.

import os
os.chdir('./torch/')
!bash install-deps
!./install.sh

Activate Torch.

!. ./install/bin/torch-activate

Make sure the installation worked.

!./install/bin/th

Result:

  ______             __   |  Torch7 
 /_  __/__  ________/ /   |  Scientific computing for Lua. 
  / / / _ \/ __/ __/ _ \  |  Type ? for help 
 /_/  \___/_/  \__/_//_/  |  https://github.com/torch 
                          |  http://torch.ch 
	
th> ^C

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests