torch / torch7

http://torch.ch
Other
9k stars 2.38k forks source link

Not able to install torch #1143

Closed anant10 closed 6 years ago

anant10 commented 6 years ago

i have installed cuda 9.0. I am new to torch. while installing i got this following error log: Please help me install torch.

Prefix set to /home/anant/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/anant/torch/cmake/3.6/build Install the project... -- Install configuration: "" -- Up-to-date: /home/anant/torch/install/share/cmake/torch -- Up-to-date: /home/anant/torch/install/share/cmake/torch/FindCUDA.cmake -- Up-to-date: /home/anant/torch/install/share/cmake/torch/FindCUDA -- Up-to-date: /home/anant/torch/install/share/cmake/torch/FindCUDA/make2cmake.cmake -- Up-to-date: /home/anant/torch/install/share/cmake/torch/FindCUDA/parse_cubin.cmake -- Up-to-date: /home/anant/torch/install/share/cmake/torch/FindCUDA/select_compute_arch.cmake -- Up-to-date: /home/anant/torch/install/share/cmake/torch/FindCUDA/run_nvcc.cmake FindCuda bits of CMake 3.6 installed Installing common Lua packages gcc -O2 -fPIC -I/home/anant/torch/install/include -c src/lfs.c -o src/lfs.o gcc -shared -o lfs.so -L/home/anant/torch/install/lib src/lfs.o Updating manifest for /home/anant/torch/install/lib/luarocks/rocks luafilesystem 1.6.3-1 is now built and installed in /home/anant/torch/install/ (license: MIT/X11)

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

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

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

gcc -O2 -fPIC -I/home/anant/torch/install/include -c src/autolink.c -o src/autolink.o -Isrc/ -Ihtml/ gcc -O2 -fPIC -I/home/anant/torch/install/include -c src/buffer.c -o src/buffer.o -Isrc/ -Ihtml/ gcc -O2 -fPIC -I/home/anant/torch/install/include -c src/markdown.c -o src/markdown.o -Isrc/ -Ihtml/ gcc -O2 -fPIC -I/home/anant/torch/install/include -c src/stack.c -o src/stack.o -Isrc/ -Ihtml/ gcc -O2 -fPIC -I/home/anant/torch/install/include -c html/houdini_href_e.c -o html/houdini_href_e.o -Isrc/ -Ihtml/ gcc -O2 -fPIC -I/home/anant/torch/install/include -c html/houdini_html_e.c -o html/houdini_html_e.o -Isrc/ -Ihtml/ gcc -O2 -fPIC -I/home/anant/torch/install/include -c html/html.c -o html/html.o -Isrc/ -Ihtml/ gcc -O2 -fPIC -I/home/anant/torch/install/include -c html/html_smartypants.c -o html/html_smartypants.o -Isrc/ -Ihtml/ gcc -shared -o libsundown.so -L/home/anant/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/anant/torch/install/lib/luarocks/rocks sundown scm-1 is now built and installed in /home/anant/torch/install/ (license: BSD)

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

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

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

Warning: unmatched variable LUALIB cmake -E make_directory build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DLUA=/home/anant/torch/install/bin/luajit -DLUALIB= -DLUA_BINDIR="/home/anant/torch/install/bin" -DLUA_INCDIR="/home/anant/torch/install/include" -DLUA_LIBDIR="/home/anant/torch/install/lib" -DLUADIR="/home/anant/torch/install/lib/luarocks/rocks/torch/scm-1/lua" -DLIBDIR="/home/anant/torch/install/lib/luarocks/rocks/torch/scm-1/lib" -DCMAKE_INSTALL_PREFIX="/home/anant/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/anant/torch/pkg/torch/build [ 5%] Built target luaT [ 58%] Built target TH [ 61%] Linking C shared module libtorch.so [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/anant/torch/install/share/cmake/torch/TorchExports.cmake -- Installing: /home/anant/torch/install/share/cmake/torch/TorchExports-release.cmake -- Up-to-date: /home/anant/torch/install/share/cmake/torch/TorchConfig.cmake -- Up-to-date: /home/anant/torch/install/share/cmake/torch/TorchWrap.cmake -- Up-to-date: /home/anant/torch/install/share/cmake/torch/TorchPathsInit.cmake -- Up-to-date: /home/anant/torch/install/share/cmake/torch/TorchPackage.cmake -- Installing: /home/anant/torch/install/lib/luarocks/rocks/torch/scm-1/lib/libtorch.so -- Set runtime path of "/home/anant/torch/install/lib/luarocks/rocks/torch/scm-1/lib/libtorch.so" to "$ORIGIN/../lib:/home/anant/torch/install/lib:/opt/OpenBLAS/lib" -- Installing: /home/anant/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/init.lua -- Installing: /home/anant/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/File.lua -- Installing: /home/anant/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/Tensor.lua -- Installing: /home/anant/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/CmdLine.lua -- Installing: /home/anant/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/FFInterface.lua -- Installing: /home/anant/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/Tester.lua -- Installing: /home/anant/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/TestSuite.lua -- Installing: /home/anant/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/paths.lua -- Installing: /home/anant/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/test.lua -- Installing: /home/anant/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/README.md -- Installing: /home/anant/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc -- Installing: /home/anant/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/random.md -- Installing: /home/anant/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/maths.md -- Installing: /home/anant/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/utility.md -- Installing: /home/anant/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/tensor.md -- Installing: /home/anant/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/serialization.md -- Installing: /home/anant/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/gather.png -- Installing: /home/anant/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/file.md -- Installing: /home/anant/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/pipefile.md -- Installing: /home/anant/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/storage.md -- Installing: /home/anant/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/tester.md -- Installing: /home/anant/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/timer.md -- Installing: /home/anant/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/cmdline.md -- Installing: /home/anant/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/diskfile.md -- Installing: /home/anant/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/index.md -- Installing: /home/anant/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/memoryfile.md -- Up-to-date: /home/anant/torch/install/lib/libTH.so.0 -- Up-to-date: /home/anant/torch/install/lib/libTH.so -- Up-to-date: /home/anant/torch/install/include/TH/TH.h -- Up-to-date: /home/anant/torch/install/include/TH/THAllocator.h -- Up-to-date: /home/anant/torch/install/include/TH/THMath.h -- Up-to-date: /home/anant/torch/install/include/TH/THBlas.h -- Up-to-date: /home/anant/torch/install/include/TH/THDiskFile.h -- Up-to-date: /home/anant/torch/install/include/TH/THFile.h -- Up-to-date: /home/anant/torch/install/include/TH/THFilePrivate.h -- Up-to-date: /home/anant/torch/install/include/TH/THGeneral.h -- Up-to-date: /home/anant/torch/install/include/TH/THGenerateAllTypes.h -- Up-to-date: /home/anant/torch/install/include/TH/THGenerateDoubleType.h -- Up-to-date: /home/anant/torch/install/include/TH/THGenerateFloatType.h -- Up-to-date: /home/anant/torch/install/include/TH/THGenerateHalfType.h -- Up-to-date: /home/anant/torch/install/include/TH/THGenerateLongType.h -- Up-to-date: /home/anant/torch/install/include/TH/THGenerateIntType.h -- Up-to-date: /home/anant/torch/install/include/TH/THGenerateShortType.h -- Up-to-date: /home/anant/torch/install/include/TH/THGenerateCharType.h -- Up-to-date: /home/anant/torch/install/include/TH/THGenerateByteType.h -- Up-to-date: /home/anant/torch/install/include/TH/THGenerateFloatTypes.h -- Up-to-date: /home/anant/torch/install/include/TH/THGenerateIntTypes.h -- Up-to-date: /home/anant/torch/install/include/TH/THLapack.h -- Up-to-date: /home/anant/torch/install/include/TH/THLogAdd.h -- Up-to-date: /home/anant/torch/install/include/TH/THMemoryFile.h -- Up-to-date: /home/anant/torch/install/include/TH/THRandom.h -- Up-to-date: /home/anant/torch/install/include/TH/THSize.h -- Up-to-date: /home/anant/torch/install/include/TH/THStorage.h -- Up-to-date: /home/anant/torch/install/include/TH/THTensor.h -- Up-to-date: /home/anant/torch/install/include/TH/THTensorApply.h -- Up-to-date: /home/anant/torch/install/include/TH/THTensorDimApply.h -- Up-to-date: /home/anant/torch/install/include/TH/THTensorMacros.h -- Up-to-date: /home/anant/torch/install/include/TH/THVector.h -- Up-to-date: /home/anant/torch/install/include/TH/THAtomic.h -- Up-to-date: /home/anant/torch/install/include/TH/THHalf.h -- Up-to-date: /home/anant/torch/install/include/TH/vector/AVX.h -- Up-to-date: /home/anant/torch/install/include/TH/vector/AVX2.h -- Up-to-date: /home/anant/torch/install/include/TH/generic/THBlas.c -- Up-to-date: /home/anant/torch/install/include/TH/generic/THBlas.h -- Up-to-date: /home/anant/torch/install/include/TH/generic/THLapack.c -- Up-to-date: /home/anant/torch/install/include/TH/generic/THLapack.h -- Up-to-date: /home/anant/torch/install/include/TH/generic/THStorage.c -- Up-to-date: /home/anant/torch/install/include/TH/generic/THStorage.h -- Up-to-date: /home/anant/torch/install/include/TH/generic/THStorageCopy.c -- Up-to-date: /home/anant/torch/install/include/TH/generic/THStorageCopy.h -- Up-to-date: /home/anant/torch/install/include/TH/generic/THTensor.c -- Up-to-date: /home/anant/torch/install/include/TH/generic/THTensor.h -- Up-to-date: /home/anant/torch/install/include/TH/generic/THTensorConv.c -- Up-to-date: /home/anant/torch/install/include/TH/generic/THTensorConv.h -- Up-to-date: /home/anant/torch/install/include/TH/generic/THTensorCopy.c -- Up-to-date: /home/anant/torch/install/include/TH/generic/THTensorCopy.h -- Up-to-date: /home/anant/torch/install/include/TH/generic/THTensorLapack.c -- Up-to-date: /home/anant/torch/install/include/TH/generic/THTensorLapack.h -- Up-to-date: /home/anant/torch/install/include/TH/generic/THTensorMath.c -- Up-to-date: /home/anant/torch/install/include/TH/generic/THTensorMath.h -- Up-to-date: /home/anant/torch/install/include/TH/generic/THTensorRandom.c -- Up-to-date: /home/anant/torch/install/include/TH/generic/THTensorRandom.h -- Up-to-date: /home/anant/torch/install/include/TH/generic/THVectorDispatch.c -- Up-to-date: /home/anant/torch/install/include/TH/generic/THVector.h -- Up-to-date: /home/anant/torch/install/share/cmake/torch/THConfig.cmake -- Up-to-date: /home/anant/torch/install/lib/libluaT.so.0 -- Up-to-date: /home/anant/torch/install/lib/libluaT.so -- Up-to-date: /home/anant/torch/install/include/luaT.h -- Up-to-date: /home/anant/torch/install/share/cmake/torch/luaTConfig.cmake Updating manifest for /home/anant/torch/install/lib/luarocks/rocks torch scm-1 is now built and installed in /home/anant/torch/install/ (license: BSD)

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

gcc -O2 -fPIC -I/home/anant/torch/install/include -c utils.c -o utils.o gcc -shared -o treplutils.so -L/home/anant/torch/install/lib utils.o gcc -O2 -fPIC -I/home/anant/torch/install/include -c readline.c -o readline.o gcc -shared -o readline.so -L/home/anant/torch/install/lib readline.o -lreadline Updating manifest for /home/anant/torch/install/lib/luarocks/rocks trepl scm-1 is now built and installed in /home/anant/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/anant/torch/install/lib/luarocks/rocks/sys/1.1-0" && make -- Found Torch7 in /home/anant/torch/install -- Configuring done -- Generating done -- Build files have been written to: /home/anant/torch/pkg/sys/build [100%] Built target sys cd build && make install [100%] Built target sys Install the project... -- Install configuration: "Release" -- Installing: /home/anant/torch/install/lib/luarocks/rocks/sys/1.1-0/lib/libsys.so -- Set runtime path of "/home/anant/torch/install/lib/luarocks/rocks/sys/1.1-0/lib/libsys.so" to "$ORIGIN/../lib:/home/anant/torch/install/lib:/opt/OpenBLAS/lib" -- Installing: /home/anant/torch/install/lib/luarocks/rocks/sys/1.1-0/lua/sys/init.lua -- Installing: /home/anant/torch/install/lib/luarocks/rocks/sys/1.1-0/lua/sys/colors.lua -- Installing: /home/anant/torch/install/lib/luarocks/rocks/sys/1.1-0/lua/sys/fpath.lua Updating manifest for /home/anant/torch/install/lib/luarocks/rocks sys 1.1-0 is now built and installed in /home/anant/torch/install/ (license: BSD)

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

Updating manifest for /home/anant/torch/install/lib/luarocks/rocks moses 1.6.1-1 is now built and installed in /home/anant/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/anant/torch/install/bin/.." -DCMAKE_INSTALL_PREFIX="/home/anant/torch/install/lib/luarocks/rocks/nn/scm-1" -DLUA_INCDIR="/home/anant/torch/install/include" -DLUA_LIBDIR="/home/anant/torch/install/lib" && make

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

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

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

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

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

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

-- Found Torch7 in /home/anant/torch/install CMake Warning (dev) at /usr/share/cmake-3.9/Modules/FindOpenMP.cmake:277 (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.9/Modules/FindOpenMP.cmake:380 (_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.9/Modules/FindOpenMP.cmake:277 (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.9/Modules/FindOpenMP.cmake:380 (_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/anant/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/anant/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lib/libppm.so -- Set runtime path of "/home/anant/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lib/libppm.so" to "$ORIGIN/../lib:/home/anant/torch/install/lib:/opt/OpenBLAS/lib" -- Installing: /home/anant/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lib/libjpeg.so -- Set runtime path of "/home/anant/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lib/libjpeg.so" to "$ORIGIN/../lib:/home/anant/torch/install/lib:/opt/OpenBLAS/lib" -- Installing: /home/anant/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lib/liblua_png.so -- Set runtime path of "/home/anant/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lib/liblua_png.so" to "$ORIGIN/../lib:/home/anant/torch/install/lib:/opt/OpenBLAS/lib" -- Installing: /home/anant/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lib/libimage.so -- Set runtime path of "/home/anant/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lib/libimage.so" to "$ORIGIN/../lib:/home/anant/torch/install/lib:/opt/OpenBLAS/lib" -- Installing: /home/anant/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/init.lua -- Installing: /home/anant/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/win.ui -- Installing: /home/anant/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/test.lua -- Installing: /home/anant/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets -- Installing: /home/anant/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/corrupt-ihdr.png -- Installing: /home/anant/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/fabio.jpg -- Installing: /home/anant/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/foobar.png -- Installing: /home/anant/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/gray3x1.png -- Installing: /home/anant/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/grace_hopper_512.png -- Installing: /home/anant/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/bmp-without-ext -- Installing: /home/anant/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/rectangle.png -- Installing: /home/anant/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/P2.pgm -- Installing: /home/anant/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/grace_hopper_512.jpg -- Installing: /home/anant/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/rgb16-2x1.png -- Installing: /home/anant/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/P6.ppm -- Installing: /home/anant/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/fabio.png -- Installing: /home/anant/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/P5.pgm -- Installing: /home/anant/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/rgb2x1.png -- Installing: /home/anant/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/gray16-1x2.png -- Installing: /home/anant/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/P4.pbm -- Installing: /home/anant/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/README.md Updating manifest for /home/anant/torch/install/lib/luarocks/rocks image 1.1.alpha-0 is now built and installed in /home/anant/torch/install/ (license: BSD)

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

-- Found Torch7 in /home/anant/torch/install -- Configuring done -- Generating done -- Build files have been written to: /home/anant/torch/pkg/optim/build cd build && make install Install the project... -- Install configuration: "Release" -- Installing: /home/anant/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/ConfusionMatrix.lua -- Installing: /home/anant/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/Logger.lua -- Installing: /home/anant/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/adadelta.lua -- Installing: /home/anant/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/adagrad.lua -- Installing: /home/anant/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/adam.lua -- Installing: /home/anant/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/adamax.lua -- Installing: /home/anant/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/asgd.lua -- Installing: /home/anant/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/cg.lua -- Installing: /home/anant/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/checkgrad.lua -- Installing: /home/anant/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/cmaes.lua -- Installing: /home/anant/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/de.lua -- Installing: /home/anant/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/fista.lua -- Installing: /home/anant/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/init.lua -- Installing: /home/anant/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/lbfgs.lua -- Installing: /home/anant/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/lswolfe.lua -- Installing: /home/anant/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/nag.lua -- Installing: /home/anant/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/polyinterp.lua -- Installing: /home/anant/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/rmsprop.lua -- Installing: /home/anant/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/rprop.lua -- Installing: /home/anant/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/sgd.lua -- Installing: /home/anant/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/doc -- Installing: /home/anant/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/doc/logger.md -- Installing: /home/anant/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/doc/image -- Installing: /home/anant/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/doc/image/parameterflattening.svg.png -- Installing: /home/anant/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/doc/image/parameterflattening.png -- Installing: /home/anant/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/doc/image/parameterflattening.svg -- Installing: /home/anant/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/doc/algos.md -- Installing: /home/anant/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/doc/intro.md -- Installing: /home/anant/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/doc/logger_plot.png -- Installing: /home/anant/torch/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/README.md Updating manifest for /home/anant/torch/install/lib/luarocks/rocks optim 1.0.5-0 is now built and installed in /home/anant/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/anant/torch/install/include -DCMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS} -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/home/anant/torch/install/bin/.." -DCMAKE_INSTALL_PREFIX="/home/anant/torch/install/lib/luarocks/rocks/cutorch/scm-1" && make -j$jopts install

Building on 16 cores -- Found Torch7 in /home/anant/torch/install -- Removing -DNDEBUG from compile flags -- TH_LIBRARIES: TH -- MAGMA not found. Compiling without MAGMA support -- Autodetected CUDA architecture(s): 6.1 -- got cuda version 9.0 -- Found CUDA with FP16 support, compiling with torch.CudaHalfTensor -- CUDA_NVCC_FLAGS: -gencode;arch=compute_61,code=sm_61;-DCUDA_HAS_FP16=1 -- THC_SO_VERSION: 0 -- Configuring done -- Generating done -- Build files have been written to: /home/anant/torch/extra/cutorch/build [ 1%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCSleep.cu.o [ 2%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCHalf.cu.o [ 3%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMath2.cu.o [ 5%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMathScan.cu.o [ 5%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorIndex.cu.o [ 6%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorCopy.cu.o [ 7%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCReduceApplyUtils.cu.o [ 13%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMathReduce.cu.o [ 14%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCStorage.cu.o [ 10%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensor.cu.o [ 10%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCStorageCopy.cu.o [ 11%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMath.cu.o [ 12%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCBlas.cu.o [ 15%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMathMagma.cu.o [ 16%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMathBlas.cu.o [ 17%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMathPairwise.cu.o [ 18%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorConv.cu.o /home/anant/torch/extra/cutorch/lib/THC/generic/THCTensorMathPairwise.cu(66): error: more than one operator "!=" matches these operands: function "operator!=(const half &, const half &)" function "operator!=(half, half)" operand types are: half != half

[ 20%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorRandom.cu.o /home/anant/torch/extra/cutorch/lib/THC/generic/THCTensorMath.cu(393): error: more than one operator "==" matches these operands: function "operator==(const half &, const half &)" function "operator==(half, half)" operand types are: half == half

/home/anant/torch/extra/cutorch/lib/THC/generic/THCTensorMath.cu(414): error: more than one operator "==" matches these operands: function "operator==(const half &, const half &)" function "operator==(half, half)" operand types are: half == half

1 error detected in the compilation of "/tmp/tmpxft_0000093c_00000000-6_THCTensorMathPairwise.cpp1.ii". [ 21%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorScatterGather.cu.o CMake Error at THC_generated_THCTensorMathPairwise.cu.o.cmake:267 (message): Error generating file /home/anant/torch/extra/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCTensorMathPairwise.cu.o

lib/THC/CMakeFiles/THC.dir/build.make:140: recipe for target 'lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMathPairwise.cu.o' failed make[2]: [lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMathPairwise.cu.o] Error 1 make[2]: Waiting for unfinished jobs.... 2 errors detected in the compilation of "/tmp/tmpxft_00000975_00000000-6_THCTensorMath.cpp1.ii". CMake Error at THC_generated_THCTensorMath.cu.o.cmake:267 (message): Error generating file /home/anant/torch/extra/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCTensorMath.cu.o

lib/THC/CMakeFiles/THC.dir/build.make:112: recipe for target 'lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMath.cu.o' failed make[2]: ** [lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMath.cu.o] Error 1 /home/anant/torch/extra/cutorch/lib/THC/THCTensorRandom.cuh(156): warning: specified alignment (4) is different from alignment (2) specified on a previous declaration detected during instantiation of "void sampleMultinomialOnce<T,AccT>(long , long, int, T , T ) [with T=half, AccT=float]" /home/anant/torch/extra/cutorch/lib/THC/generic/THCTensorRandom.cu(169): here

/home/anant/torch/extra/cutorch/lib/THC/THCTensorRandom.cuh(95): warning: specified alignment (4) is different from alignment (2) specified on a previous declaration detected during instantiation of "void renormRowsL1(T *, long, long) [with T=float]" /home/anant/torch/extra/cutorch/lib/THC/generic/THCTensorRandom.cu(98): here

/home/anant/torch/extra/cutorch/lib/THC/THCTensorRandom.cuh(156): warning: specified alignment (4) is different from alignment (2) specified on a previous declaration detected during instantiation of "void sampleMultinomialOnce<T,AccT>(long , long, int, T , T *) [with T=float, AccT=float]" /home/anant/torch/extra/cutorch/lib/THC/generic/THCTensorRandom.cu(169): here

/home/anant/torch/extra/cutorch/lib/THC/THCTensorRandom.cuh(95): warning: specified alignment (8) is different from alignment (2) specified on a previous declaration detected during instantiation of "void renormRowsL1(T *, long, long) [with T=double]" /home/anant/torch/extra/cutorch/lib/THC/generic/THCTensorRandom.cu(98): here

/home/anant/torch/extra/cutorch/lib/THC/THCTensorRandom.cuh(156): warning: specified alignment (8) is different from alignment (2) specified on a previous declaration detected during instantiation of "void sampleMultinomialOnce<T,AccT>(long , long, int, T , T *) [with T=double, AccT=double]" /home/anant/torch/extra/cutorch/lib/THC/generic/THCTensorRandom.cu(169): here

CMakeFiles/Makefile2:172: recipe for target 'lib/THC/CMakeFiles/THC.dir/all' failed make[1]: [lib/THC/CMakeFiles/THC.dir/all] Error 2 Makefile:129: recipe for target 'all' failed make: [all] Error 2

Error: Build error: Failed building.

anant10 commented 6 years ago

This worked for me :

./clean.sh export TORCH_NVCC_FLAGS="-D__CUDA_NO_HALF_OPERATORS__" ./install.sh

From : https://github.com/torch/distro/issues/239