nagadomi / distro

Unofficial maintenance repository of Torch7. It supports CUDA10.1, Volta, Turing, Docker https://hub.docker.com/r/nagadomi/torch7
BSD 3-Clause "New" or "Revised" License
201 stars 57 forks source link

Unable to compile Torch7 on Ubuntu 16.04 and CUDA 9.0/9.2 #6

Closed Amir-Arsalan closed 4 years ago

Amir-Arsalan commented 4 years ago

I am trying to compile Torch7 with CUDA 9.0 using your repo but I get the following errors before the compilation ends. I know I didn't have to use your repo to build Torch7 with CUDA 9.0 but I was just trying to see whether I can do it or not. I also tried CUDA 9.2 and got similar errors. I'm afraid the changes you've made to make this work with CUDA 10.0 has broken some other stuff down.

Additionally, there are some CMake warnings that you may want to take a look at before it crashes when newer versions of CMake are released. Here, I was using CMake 3.12.4.

./install.sh Prefix set to /torch/install Installing Lua version: LUAJIT21 CMake Warning (dev) at /usr/share/cmake-3.12/Modules/CheckIncludeFile.cmake:70 (message): Policy CMP0075 is not set: Include file check macros honor CMAKE_REQUIRED_LIBRARIES. Run "cmake --help-policy CMP0075" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

CMAKE_REQUIRED_LIBRARIES is set to:

/usr/lib/x86_64-linux-gnu/libdl.so

For compatibility with CMake 3.11 and below this check is ignoring it. Call Stack (most recent call first): /usr/share/cmake-3.12/Modules/FindThreads.cmake:121 (CHECK_INCLUDE_FILE) exe/luajit-rocks/luajit-2.1/CMakeLists.txt:174 (FIND_PACKAGE) This warning is for project developers. Use -Wno-dev to suppress it.

Found CUDA on your machine. Installing CMake 3.6 modules to get up-to-date FindCUDA -- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is GNU 5.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 -- Configuring done -- Generating done -- Build files have been written to: /torch/cmake/3.6/build Install the project... -- Install configuration: "" -- Installing: /torch/install/share/cmake/torch -- Installing: /torch/install/share/cmake/torch/FindCUDA.cmake -- Installing: /torch/install/share/cmake/torch/FindCUDA -- Installing: /torch/install/share/cmake/torch/FindCUDA/make2cmake.cmake -- Installing: /torch/install/share/cmake/torch/FindCUDA/select_compute_arch.cmake -- Installing: /torch/install/share/cmake/torch/FindCUDA/run_nvcc.cmake -- Installing: /torch/install/share/cmake/torch/FindCUDA/parse_cubin.cmake FindCuda bits of CMake 3.6 installed Installing common Lua packages gcc -O2 -fPIC -I/torch/install/include -c src/lfs.c -o src/lfs.o gcc -shared -o lfs.so -L/torch/install/lib src/lfs.o Updating manifest for /torch/install/lib/luarocks/rocks No existing manifest. Attempting to rebuild... luafilesystem 1.6.3-1 is now built and installed in /torch/install/ (license: MIT/X11)

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

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

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

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

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

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

-- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is GNU 5.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 -- Looking for include file fcntl.h -- Looking for include file fcntl.h - found -- Looking for include file unistd.h -- Looking for include file unistd.h - found -- Looking for include file dirent.h -- Looking for include file dirent.h - found -- Looking for include file time.h -- Looking for include file time.h - found -- Looking for include file sys/time.h -- Looking for include file sys/time.h - found -- Looking for include file sys/ndir.h -- Looking for include file sys/ndir.h - not found -- Looking for include file sys/utsname.h -- Looking for include file sys/utsname.h - found -- Looking for include file sys/dir.h -- Looking for include file sys/dir.h - found -- Looking for include file ndir.h -- Looking for include file ndir.h - not found -- Looking for getcwd -- Looking for getcwd - found -- Looking for dlopen in dl -- Looking for dlopen in dl - found -- Configuring done -- Generating done -- Build files have been written to: /torch/pkg/paths/build Scanning dependencies of target paths [ 50%] Building C object CMakeFiles/paths.dir/paths.c.o [100%] Linking C shared module libpaths.so CMakeFiles/paths.dir/paths.c.o: In function lua_tmpname': paths.c:(.text+0x627): warning: the use oftempnam' is dangerous, better use `mkstemp' [100%] Built target paths cd build && make install [100%] Built target paths Install the project... -- Install configuration: "Release" -- Installing: /torch/install/lib/luarocks/rocks/paths/scm-1/lua/paths/init.lua -- Installing: /torch/install/lib/luarocks/rocks/paths/scm-1/lib/libpaths.so Updating manifest for /torch/install/lib/luarocks/rocks paths scm-1 is now built and installed in /torch/install/ (license: BSD)

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

-- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is GNU 5.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 OpenMP_C: -fopenmp (found version "4.0") -- Found OpenMP_CXX: -fopenmp (found version "4.0") -- Found OpenMP: TRUE (found version "4.0")
-- 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 version "4.0") -- Found OpenMP_CXX: -fopenmp (found version "4.0") -- 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. -- Looking for cpuid.h -- Looking for cpuid.h - found -- Performing Test HAVE_GCC_GET_CPUID -- Performing Test HAVE_GCC_GET_CPUID - Success -- Performing Test NO_GCC_EBX_FPIC_BUG -- Performing Test NO_GCC_EBX_FPIC_BUG - Success -- Performing Test C_HAS_SSE1_1 -- Performing Test C_HAS_SSE1_1 - Success -- Performing Test C_HAS_SSE2_1 -- Performing Test C_HAS_SSE2_1 - Success -- Performing Test C_HAS_SSE3_1 -- Performing Test C_HAS_SSE3_1 - Failed -- Performing Test C_HAS_SSE3_2 -- Performing Test C_HAS_SSE3_2 - Success -- Performing Test C_HAS_SSE4_1_1 -- Performing Test C_HAS_SSE4_1_1 - Failed -- Performing Test C_HAS_SSE4_1_2 -- Performing Test C_HAS_SSE4_1_2 - Success -- Performing Test C_HAS_SSE4_2_1 -- Performing Test C_HAS_SSE4_2_1 - Failed -- Performing Test C_HAS_SSE4_2_2 -- Performing Test C_HAS_SSE4_2_2 - Success -- Performing Test C_HAS_AVX_1 -- Performing Test C_HAS_AVX_1 - Failed -- Performing Test C_HAS_AVX_2 -- Performing Test C_HAS_AVX_2 - Success -- Performing Test C_HAS_AVX2_1 -- Performing Test C_HAS_AVX2_1 - Failed -- Performing Test C_HAS_AVX2_2 -- Performing Test C_HAS_AVX2_2 - Failed -- Performing Test C_HAS_AVX2_3 -- Performing Test C_HAS_AVX2_3 - Failed -- Performing Test CXX_HAS_SSE1_1 -- Performing Test CXX_HAS_SSE1_1 - Success -- Performing Test CXX_HAS_SSE2_1 -- Performing Test CXX_HAS_SSE2_1 - Success -- Performing Test CXX_HAS_SSE3_1 -- Performing Test CXX_HAS_SSE3_1 - Failed -- Performing Test CXX_HAS_SSE3_2 -- Performing Test CXX_HAS_SSE3_2 - Success -- Performing Test CXX_HAS_SSE4_1_1 -- Performing Test CXX_HAS_SSE4_1_1 - Failed -- Performing Test CXX_HAS_SSE4_1_2 -- Performing Test CXX_HAS_SSE4_1_2 - Success -- Performing Test CXX_HAS_SSE4_2_1 -- Performing Test CXX_HAS_SSE4_2_1 - Failed -- Performing Test CXX_HAS_SSE4_2_2 -- Performing Test CXX_HAS_SSE4_2_2 - Success -- Performing Test CXX_HAS_AVX_1 -- Performing Test CXX_HAS_AVX_1 - Failed -- Performing Test CXX_HAS_AVX_2 -- Performing Test CXX_HAS_AVX_2 - Success -- Performing Test CXX_HAS_AVX2_1 -- Performing Test CXX_HAS_AVX2_1 - Failed -- Performing Test CXX_HAS_AVX2_2 -- Performing Test CXX_HAS_AVX2_2 - Failed -- Performing Test CXX_HAS_AVX2_3 -- Performing Test CXX_HAS_AVX2_3 - Failed -- SSE2 Found -- SSE3 Found -- AVX Found -- Performing Test HAS_C11_ATOMICS -- Performing Test HAS_C11_ATOMICS - Failed -- Performing Test HAS_MSC_ATOMICS -- Performing Test HAS_MSC_ATOMICS - Failed -- Performing Test HAS_GCC_ATOMICS -- Performing Test HAS_GCC_ATOMICS - Success -- TH_SO_VERSION: 0 -- Atomics: using GCC intrinsics -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of void -- Check size of void - done -- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - iomp5 - pthread - m] -- Library mkl_gf_lp64: /usr/local/lib/libmkl_gf_lp64.so -- Library mkl_gnu_thread: /usr/local/lib/libmkl_gnu_thread.so -- Library mkl_core: /usr/local/lib/libmkl_core.so -- Library iomp5: /usr/local/lib/libiomp5.so -- Library pthread: /usr/lib/x86_64-linux-gnu/libpthread.so -- Library m: /usr/lib/x86_64-linux-gnu/libm.so -- Looking for cblas_sgemm -- Looking for cblas_sgemm - found -- MKL library found -- Performing Test BLAS_F2C_DOUBLE_WORKS -- Performing Test BLAS_F2C_DOUBLE_WORKS - Failed -- Performing Test BLAS_F2C_FLOAT_WORKS -- Performing Test BLAS_F2C_FLOAT_WORKS - Success -- Performing Test BLAS_USE_CBLAS_DOT -- Performing Test BLAS_USE_CBLAS_DOT - Success -- Found a library with BLAS API (mkl). -- Found a library with LAPACK API. (mkl) -- Looking for clock_gettime in rt -- Looking for clock_gettime in rt - found -- Looking for mmap -- Looking for mmap - found -- Looking for shm_open -- Looking for shm_open - found -- Looking for shm_unlink -- Looking for shm_unlink - found -- Looking for malloc_usable_size -- Looking for malloc_usable_size - found -- Performing Test C_HAS_THREAD -- Performing Test C_HAS_THREAD - Success 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: /torch/pkg/torch/build Scanning dependencies of target luaT Scanning dependencies of target TH [ 2%] Building C object lib/luaT/CMakeFiles/luaT.dir/luaT.c.o [ 5%] Building C object lib/TH/CMakeFiles/TH.dir/THGeneral.c.o [ 10%] Building C object lib/TH/CMakeFiles/TH.dir/THAllocator.c.o [ 10%] Building C object lib/TH/CMakeFiles/TH.dir/THHalf.c.o [ 13%] Building C object lib/TH/CMakeFiles/TH.dir/THStorage.c.o [ 15%] Building C object lib/TH/CMakeFiles/TH.dir/THSize.c.o [ 18%] Building C object lib/TH/CMakeFiles/TH.dir/THTensor.c.o [ 21%] Building C object lib/TH/CMakeFiles/TH.dir/THBlas.c.o [ 23%] Building C object lib/TH/CMakeFiles/TH.dir/THLapack.c.o [ 26%] Building C object lib/TH/CMakeFiles/TH.dir/THLogAdd.c.o [ 28%] Building C object lib/TH/CMakeFiles/TH.dir/THRandom.c.o [ 31%] Building C object lib/TH/CMakeFiles/TH.dir/THFile.c.o [ 34%] Building C object lib/TH/CMakeFiles/TH.dir/THDiskFile.c.o [ 36%] Building C object lib/TH/CMakeFiles/TH.dir/THMemoryFile.c.o [ 39%] Building C object lib/TH/CMakeFiles/TH.dir/THAtomic.c.o [ 42%] Building C object lib/TH/CMakeFiles/TH.dir/THVector.c.o [ 44%] Building C object lib/TH/CMakeFiles/TH.dir/generic/simd/convolve.c.o [ 47%] Building C object lib/TH/CMakeFiles/TH.dir/generic/simd/convolve5x5_sse.c.o [ 50%] Building C object lib/TH/CMakeFiles/TH.dir/vector/AVX.c.o [ 52%] Building C object lib/TH/CMakeFiles/TH.dir/generic/simd/convolve5x5_avx.c.o [ 55%] Linking C shared library libluaT.so [ 55%] Built target luaT [ 57%] Linking C shared library libTH.so [ 57%] Built target TH [ 60%] Generating random.c [ 63%] Generating TensorMath.c Scanning dependencies of target torch [ 68%] Building C object CMakeFiles/torch.dir/PipeFile.c.o [ 68%] Building C object CMakeFiles/torch.dir/DiskFile.c.o [ 76%] Building C object CMakeFiles/torch.dir/Storage.c.o [ 73%] Building C object CMakeFiles/torch.dir/File.c.o [ 76%] Building C object CMakeFiles/torch.dir/MemoryFile.c.o [ 78%] Building C object CMakeFiles/torch.dir/Tensor.c.o [ 81%] Building C object CMakeFiles/torch.dir/Timer.c.o [ 84%] Building C object CMakeFiles/torch.dir/init.c.o [ 86%] Building C object CMakeFiles/torch.dir/utils.c.o [ 92%] Building C object CMakeFiles/torch.dir/random.c.o [ 92%] Building C object CMakeFiles/torch.dir/TensorOperator.c.o [ 94%] Building C object CMakeFiles/torch.dir/TensorMath.c.o [ 97%] Building C object CMakeFiles/torch.dir/Generator.c.o [100%] Linking C shared module libtorch.so [100%] Built target torch cd build && make install [ 5%] Built target luaT [ 57%] Built target TH [100%] Built target torch Install the project... -- Install configuration: "Release" -- Installing: /torch/install/share/cmake/torch/TorchExports.cmake -- Installing: /torch/install/share/cmake/torch/TorchExports-release.cmake -- Installing: /torch/install/share/cmake/torch/TorchConfig.cmake -- Installing: /torch/install/share/cmake/torch/TorchWrap.cmake -- Installing: /torch/install/share/cmake/torch/TorchPathsInit.cmake -- Installing: /torch/install/share/cmake/torch/TorchPackage.cmake -- Installing: /torch/install/lib/luarocks/rocks/torch/scm-1/lib/libtorch.so -- Set runtime path of "/torch/install/lib/luarocks/rocks/torch/scm-1/lib/libtorch.so" to "$ORIGIN/../lib:/torch/install/lib:/usr/local/lib" -- Installing: /torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/init.lua -- Installing: /torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/File.lua -- Installing: /torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/Tensor.lua -- Installing: /torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/CmdLine.lua -- Installing: /torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/FFInterface.lua -- Installing: /torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/Tester.lua -- Installing: /torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/TestSuite.lua -- Installing: /torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/paths.lua -- Installing: /torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/test.lua -- Installing: /torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/README.md -- Installing: /torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc -- Installing: /torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/file.md -- Installing: /torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/cmdline.md -- Installing: /torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/diskfile.md -- Installing: /torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/timer.md -- Installing: /torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/utility.md -- Installing: /torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/maths.md -- Installing: /torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/pipefile.md -- Installing: /torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/serialization.md -- Installing: /torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/gather.png -- Installing: /torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/random.md -- Installing: /torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/memoryfile.md -- Installing: /torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/tester.md -- Installing: /torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/storage.md -- Installing: /torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/index.md -- Installing: /torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/tensor.md -- Installing: /torch/install/lib/libTH.so.0 -- Set runtime path of "/torch/install/lib/libTH.so.0" to "$ORIGIN/../lib:/usr/local/lib" -- Installing: /torch/install/lib/libTH.so -- Installing: /torch/install/include/TH/TH.h -- Installing: /torch/install/include/TH/THAllocator.h -- Installing: /torch/install/include/TH/THMath.h -- Installing: /torch/install/include/TH/THBlas.h -- Installing: /torch/install/include/TH/THDiskFile.h -- Installing: /torch/install/include/TH/THFile.h -- Installing: /torch/install/include/TH/THFilePrivate.h -- Installing: /torch/install/include/TH/THGeneral.h -- Installing: /torch/install/include/TH/THGenerateAllTypes.h -- Installing: /torch/install/include/TH/THGenerateDoubleType.h -- Installing: /torch/install/include/TH/THGenerateFloatType.h -- Installing: /torch/install/include/TH/THGenerateHalfType.h -- Installing: /torch/install/include/TH/THGenerateLongType.h -- Installing: /torch/install/include/TH/THGenerateIntType.h -- Installing: /torch/install/include/TH/THGenerateShortType.h -- Installing: /torch/install/include/TH/THGenerateCharType.h -- Installing: /torch/install/include/TH/THGenerateByteType.h -- Installing: /torch/install/include/TH/THGenerateFloatTypes.h -- Installing: /torch/install/include/TH/THGenerateIntTypes.h -- Installing: /torch/install/include/TH/THLapack.h -- Installing: /torch/install/include/TH/THLogAdd.h -- Installing: /torch/install/include/TH/THMemoryFile.h -- Installing: /torch/install/include/TH/THRandom.h -- Installing: /torch/install/include/TH/THSize.h -- Installing: /torch/install/include/TH/THStorage.h -- Installing: /torch/install/include/TH/THTensor.h -- Installing: /torch/install/include/TH/THTensorApply.h -- Installing: /torch/install/include/TH/THTensorDimApply.h -- Installing: /torch/install/include/TH/THTensorMacros.h -- Installing: /torch/install/include/TH/THVector.h -- Installing: /torch/install/include/TH/THAtomic.h -- Installing: /torch/install/include/TH/THHalf.h -- Installing: /torch/install/include/TH/vector/AVX.h -- Installing: /torch/install/include/TH/vector/AVX2.h -- Installing: /torch/install/include/TH/generic/THBlas.c -- Installing: /torch/install/include/TH/generic/THBlas.h -- Installing: /torch/install/include/TH/generic/THLapack.c -- Installing: /torch/install/include/TH/generic/THLapack.h -- Installing: /torch/install/include/TH/generic/THStorage.c -- Installing: /torch/install/include/TH/generic/THStorage.h -- Installing: /torch/install/include/TH/generic/THStorageCopy.c -- Installing: /torch/install/include/TH/generic/THStorageCopy.h -- Installing: /torch/install/include/TH/generic/THTensor.c -- Installing: /torch/install/include/TH/generic/THTensor.h -- Installing: /torch/install/include/TH/generic/THTensorConv.c -- Installing: /torch/install/include/TH/generic/THTensorConv.h -- Installing: /torch/install/include/TH/generic/THTensorCopy.c -- Installing: /torch/install/include/TH/generic/THTensorCopy.h -- Installing: /torch/install/include/TH/generic/THTensorLapack.c -- Installing: /torch/install/include/TH/generic/THTensorLapack.h -- Installing: /torch/install/include/TH/generic/THTensorMath.c -- Installing: /torch/install/include/TH/generic/THTensorMath.h -- Installing: /torch/install/include/TH/generic/THTensorRandom.c -- Installing: /torch/install/include/TH/generic/THTensorRandom.h -- Installing: /torch/install/include/TH/generic/THVectorDispatch.c -- Installing: /torch/install/include/TH/generic/THVector.h -- Installing: /torch/install/share/cmake/torch/THConfig.cmake -- Installing: /torch/install/lib/libluaT.so.0 -- Set runtime path of "/torch/install/lib/libluaT.so.0" to "$ORIGIN/../lib" -- Installing: /torch/install/lib/libluaT.so -- Installing: /torch/install/include/luaT.h -- Installing: /torch/install/share/cmake/torch/luaTConfig.cmake Updating manifest for /torch/install/lib/luarocks/rocks torch scm-1 is now built and installed in /torch/install/ (license: BSD)

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

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

Warning: unmatched variable LUALIB cmake -E make_directory build && cd build && cmake .. -DLUALIB= -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="/torch/install/lib/luarocks/rocks/sys/1.1-0" && make -- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is GNU 5.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 /torch/install -- Configuring done -- Generating done -- Build files have been written to: /torch/pkg/sys/build Scanning dependencies of target sys [ 50%] Building C object CMakeFiles/sys.dir/sys.c.o [100%] Linking C shared module libsys.so [100%] Built target sys cd build && make install [100%] Built target sys Install the project... -- Install configuration: "Release" -- Installing: /torch/install/lib/luarocks/rocks/sys/1.1-0/lib/libsys.so -- Set runtime path of "/torch/install/lib/luarocks/rocks/sys/1.1-0/lib/libsys.so" to "$ORIGIN/../lib:/torch/install/lib:/usr/local/lib" -- Installing: /torch/install/lib/luarocks/rocks/sys/1.1-0/lua/sys/init.lua -- Installing: /torch/install/lib/luarocks/rocks/sys/1.1-0/lua/sys/colors.lua -- Installing: /torch/install/lib/luarocks/rocks/sys/1.1-0/lua/sys/fpath.lua Updating manifest for /torch/install/lib/luarocks/rocks sys 1.1-0 is now built and installed in /torch/install/ (license: BSD)

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

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

-- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is GNU 5.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 /torch/install -- TH_LIBRARIES: TH -- Found OpenMP_C: -fopenmp (found version "4.0") -- Found OpenMP_CXX: -fopenmp (found version "4.0") -- Found OpenMP: TRUE (found version "4.0")
-- Compiling with OpenMP support -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project:

LUA_INCDIR
LUA_LIBDIR

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

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

-- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is GNU 5.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 /torch/install -- Configuring done -- Generating done -- Build files have been written to: /torch/extra/graph/build cd build && make install Install the project... -- Install configuration: "Release" -- Installing: /torch/install/lib/luarocks/rocks/graph/scm-1/lua/graph/Edge.lua -- Installing: /torch/install/lib/luarocks/rocks/graph/scm-1/lua/graph/Node.lua -- Installing: /torch/install/lib/luarocks/rocks/graph/scm-1/lua/graph/graphviz.lua -- Installing: /torch/install/lib/luarocks/rocks/graph/scm-1/lua/graph/init.lua Updating manifest for /torch/install/lib/luarocks/rocks graph scm-1 is now built and installed in /torch/install/ (license: UNKNOWN)

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

-- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is GNU 5.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 /torch/install -- Configuring done -- Generating done -- Build files have been written to: /torch/extra/nngraph/build cd build && make install Install the project... -- Install configuration: "Release" -- Installing: /torch/install/lib/luarocks/rocks/nngraph/scm-1/lua/nngraph/JustElement.lua -- Installing: /torch/install/lib/luarocks/rocks/nngraph/scm-1/lua/nngraph/JustTable.lua -- Installing: /torch/install/lib/luarocks/rocks/nngraph/scm-1/lua/nngraph/ModuleFromCriterion.lua -- Installing: /torch/install/lib/luarocks/rocks/nngraph/scm-1/lua/nngraph/gmodule.lua -- Installing: /torch/install/lib/luarocks/rocks/nngraph/scm-1/lua/nngraph/graphinspecting.lua -- Installing: /torch/install/lib/luarocks/rocks/nngraph/scm-1/lua/nngraph/init.lua -- Installing: /torch/install/lib/luarocks/rocks/nngraph/scm-1/lua/nngraph/nest.lua -- Installing: /torch/install/lib/luarocks/rocks/nngraph/scm-1/lua/nngraph/nesting.lua -- Installing: /torch/install/lib/luarocks/rocks/nngraph/scm-1/lua/nngraph/node.lua -- Installing: /torch/install/lib/luarocks/rocks/nngraph/scm-1/lua/nngraph/simple_print.lua -- Installing: /torch/install/lib/luarocks/rocks/nngraph/scm-1/lua/nngraph/utils.lua Updating manifest for /torch/install/lib/luarocks/rocks nngraph scm-1 is now built and installed in /torch/install/ (license: UNKNOWN)

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

-- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is GNU 5.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 /torch/install -- Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so (found version "80") -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8") -- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version "1.2.54") -- Found OpenMP_C: -fopenmp (found version "4.0") -- Found OpenMP_CXX: -fopenmp (found version "4.0") -- Found OpenMP: TRUE (found version "4.0")
-- Compiling with OpenMP support -- Looking for jpeg_mem_src -- Looking for jpeg_mem_src - found -- Looking for jpeg_mem_dest -- Looking for jpeg_mem_dest - found -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project:

LUA_INCDIR
LUA_LIBDIR

-- Build files have been written to: /torch/pkg/image/build Scanning dependencies of target jpeg [ 12%] Building C object CMakeFiles/jpeg.dir/jpeg.c.o [ 25%] Linking C shared module libjpeg.so [ 25%] Built target jpeg Scanning dependencies of target ppm [ 37%] Building C object CMakeFiles/ppm.dir/ppm.c.o [ 50%] Linking C shared module libppm.so [ 50%] Built target ppm Scanning dependencies of target lua_png [ 62%] Building C object CMakeFiles/lua_png.dir/png.c.o [ 75%] Linking C shared module liblua_png.so [ 75%] Built target lua_png Scanning dependencies of target image [ 87%] Building C object CMakeFiles/image.dir/image.c.o [100%] Linking C shared module libimage.so [100%] Built target image cd build && make install [ 25%] Built target jpeg [ 50%] Built target ppm [ 75%] Built target lua_png [100%] Built target image Install the project... -- Install configuration: "Release" -- Installing: /torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lib/libppm.so -- Set runtime path of "/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lib/libppm.so" to "$ORIGIN/../lib:/torch/install/lib:/usr/local/lib" -- Installing: /torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lib/libjpeg.so -- Set runtime path of "/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lib/libjpeg.so" to "$ORIGIN/../lib:/torch/install/lib:/usr/local/lib" -- Installing: /torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lib/liblua_png.so -- Set runtime path of "/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lib/liblua_png.so" to "$ORIGIN/../lib:/torch/install/lib:/usr/local/lib" -- Installing: /torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lib/libimage.so -- Set runtime path of "/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lib/libimage.so" to "$ORIGIN/../lib:/torch/install/lib:/usr/local/lib" -- Installing: /torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/init.lua -- Installing: /torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/win.ui -- Installing: /torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/test.lua -- Installing: /torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets -- Installing: /torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/rgb2x1.png -- Installing: /torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/grace_hopper_512.png -- Installing: /torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/gray3x1.png -- Installing: /torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/P4.pbm -- Installing: /torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/fabio.png -- Installing: /torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/grace_hopper_512.jpg -- Installing: /torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/gray16-1x2.png -- Installing: /torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/rgb16-2x1.png -- Installing: /torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/foobar.png -- Installing: /torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/P5.pgm -- Installing: /torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/P2.pgm -- Installing: /torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/fabio.jpg -- Installing: /torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/corrupt-ihdr.png -- Installing: /torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/P6.ppm -- Installing: /torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/bmp-without-ext -- Installing: /torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/rectangle.png -- Installing: /torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/README.md Updating manifest for /torch/install/lib/luarocks/rocks image 1.1.alpha-0 is now built and installed in /torch/install/ (license: BSD)

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

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

Building on 64 cores -- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is GNU 5.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 /torch/install -- Found CUDA: /usr/local/cuda (found suitable version "9.0", minimum required is "6.5") -- Removing -DNDEBUG from compile flags -- TH_LIBRARIES: TH -- MAGMA not found. Compiling without MAGMA support -- Automatic GPU detection failed. Building for common architectures. -- Autodetected CUDA architecture(s): 3.0;3.5;5.0;5.2;6.0;6.1;7.0;7.0+PTX -- got cuda version 9.0 -- Found CUDA with FP16 support, compiling with torch.CudaHalfTensor -- CUDA_NVCC_FLAGS: -D__CUDA_NO_HALF_OPERATORS__;-gencode;arch=compute_30,code=sm_30;-gencode;arch=compute_35,code=sm_35;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_52,code=sm_52;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_70,code=compute_70;-DCUDA_HAS_FP16=1 -- THC_SO_VERSION: 0 -- Performing Test HAS_LUAL_SETFUNCS -- Performing Test HAS_LUAL_SETFUNCS - Failed -- Configuring done -- Generating done -- Build files have been written to: /torch/extra/cutorch/build [ 1%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCHalf.cu.o [ 2%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCBlas.cu.o [ 4%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCReduceApplyUtils.cu.o [ 4%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCSleep.cu.o [ 5%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCStorage.cu.o [ 7%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensor.cu.o [ 7%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCStorageCopy.cu.o [ 8%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorCopy.cu.o [ 10%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMath2.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_THCTensorMathBlas.cu.o [ 14%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMathMagma.cu.o [ 14%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMathPairwise.cu.o [ 15%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMathReduce.cu.o [ 16%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMathScan.cu.o [ 17%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorConv.cu.o [ 18%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorIndex.cu.o [ 21%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorTopK.cu.o [ 21%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorSort.cu.o [ 23%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorTypeUtils.cu.o [ 23%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorScatterGather.cu.o [ 24%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorRandom.cu.o [ 25%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCSortUtils.cu.o [ 26%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMode.cu.o [ 27%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/generated/THC_generated_THCTensorSortByte.cu.o [ 28%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/generated/THC_generated_THCTensorMathCompareTByte.cu.o [ 30%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/generated/THC_generated_THCTensorMathPointwiseByte.cu.o [ 31%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/generated/THC_generated_THCTensorMathCompareByte.cu.o [ 32%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/generated/THC_generated_THCTensorMathReduceByte.cu.o [ 33%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/generated/THC_generated_THCTensorMaskedByte.cu.o [ 34%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/generated/THC_generated_THCTensorSortChar.cu.o [ 35%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/generated/THC_generated_THCTensorMathCompareTChar.cu.o [ 36%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/generated/THC_generated_THCTensorMathPointwiseChar.cu.o [ 38%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/generated/THC_generated_THCTensorMathReduceChar.cu.o [ 38%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/generated/THC_generated_THCTensorMathCompareChar.cu.o [ 40%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/generated/THC_generated_THCTensorMaskedChar.cu.o [ 42%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/generated/THC_generated_THCTensorSortShort.cu.o [ 42%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/generated/THC_generated_THCTensorMathCompareTShort.cu.o [ 43%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/generated/THC_generated_THCTensorMathPointwiseShort.cu.o [ 45%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/generated/THC_generated_THCTensorMathReduceShort.cu.o [ 45%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/generated/THC_generated_THCTensorMathCompareShort.cu.o [ 46%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/generated/THC_generated_THCTensorMaskedShort.cu.o [ 47%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/generated/THC_generated_THCTensorSortInt.cu.o [ 48%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/generated/THC_generated_THCTensorMathCompareTInt.cu.o [ 50%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/generated/THC_generated_THCTensorMathPointwiseInt.cu.o [ 51%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/generated/THC_generated_THCTensorMathCompareInt.cu.o [ 52%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/generated/THC_generated_THCTensorMathReduceInt.cu.o [ 53%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/generated/THC_generated_THCTensorMaskedInt.cu.o [ 54%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/generated/THC_generated_THCTensorSortLong.cu.o [ 55%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/generated/THC_generated_THCTensorMathCompareTLong.cu.o [ 56%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/generated/THC_generated_THCTensorMathPointwiseLong.cu.o [ 57%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/generated/THC_generated_THCTensorMathCompareLong.cu.o [ 58%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/generated/THC_generated_THCTensorMathReduceLong.cu.o [ 60%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/generated/THC_generated_THCTensorMaskedLong.cu.o [ 61%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/generated/THC_generated_THCTensorSortHalf.cu.o [ 62%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/generated/THC_generated_THCTensorMathCompareTHalf.cu.o [ 63%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/generated/THC_generated_THCTensorMathPointwiseHalf.cu.o [ 64%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/generated/THC_generated_THCTensorMathCompareHalf.cu.o [ 65%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/generated/THC_generated_THCTensorMathReduceHalf.cu.o [ 66%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/generated/THC_generated_THCTensorMaskedHalf.cu.o [ 67%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/generated/THC_generated_THCTensorSortFloat.cu.o [ 68%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/generated/THC_generated_THCTensorMathCompareTFloat.cu.o [ 70%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/generated/THC_generated_THCTensorMathPointwiseFloat.cu.o [ 71%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/generated/THC_generated_THCTensorMathCompareFloat.cu.o /torch/extra/cutorch/lib/THC/THCTensorScatterGather.cu(154): error: no instance of overloaded function "atomicAdd" matches the argument list argument types are: (half *, half) detected during instantiation of "void THCudaTensor_scatterAddKernel<IndexType,Real,Dims>(TensorInfo<Real, IndexType>, TensorInfo<Real, IndexType>, TensorInfo<long, IndexType>, int, IndexType) [with IndexType=unsigned int, Real=half, Dims=1]" /torch/extra/cutorch/lib/THC/generic/THCTensorScatterGather.cu(240): here

/torch/extra/cutorch/lib/THC/THCTensorScatterGather.cu(154): error: no instance of overloaded function "atomicAdd" matches the argument list argument types are: (half *, half) detected during instantiation of "void THCudaTensor_scatterAddKernel<IndexType,Real,Dims>(TensorInfo<Real, IndexType>, TensorInfo<Real, IndexType>, TensorInfo<long, IndexType>, int, IndexType) [with IndexType=unsigned int, Real=half, Dims=2]" /torch/extra/cutorch/lib/THC/generic/THCTensorScatterGather.cu(243): here

/torch/extra/cutorch/lib/THC/THCTensorScatterGather.cu(154): error: no instance of overloaded function "atomicAdd" matches the argument list argument types are: (half *, half) detected during instantiation of "void THCudaTensor_scatterAddKernel<IndexType,Real,Dims>(TensorInfo<Real, IndexType>, TensorInfo<Real, IndexType>, TensorInfo<long, IndexType>, int, IndexType) [with IndexType=unsigned int, Real=half, Dims=3]" /torch/extra/cutorch/lib/THC/generic/THCTensorScatterGather.cu(246): here

/torch/extra/cutorch/lib/THC/THCTensorScatterGather.cu(154): error: no instance of overloaded function "atomicAdd" matches the argument list argument types are: (half *, half) detected during instantiation of "void THCudaTensor_scatterAddKernel<IndexType,Real,Dims>(TensorInfo<Real, IndexType>, TensorInfo<Real, IndexType>, TensorInfo<long, IndexType>, int, IndexType) [with IndexType=unsigned int, Real=half, Dims=-1]" /torch/extra/cutorch/lib/THC/generic/THCTensorScatterGather.cu(249): here

/torch/extra/cutorch/lib/THC/THCTensorScatterGather.cu(154): error: no instance of overloaded function "atomicAdd" matches the argument list argument types are: (half *, half) detected during instantiation of "void THCudaTensor_scatterAddKernel<IndexType,Real,Dims>(TensorInfo<Real, IndexType>, TensorInfo<Real, IndexType>, TensorInfo<long, IndexType>, int, IndexType) [with IndexType=unsigned long, Real=half, Dims=-1]" /torch/extra/cutorch/lib/THC/generic/THCTensorScatterGather.cu(260): here

5 errors detected in the compilation of "/tmp/tmpxft_0000b973_00000000-12_THCTensorScatterGather.compute_70.cpp1.ii". CMake Error at THC_generated_THCTensorScatterGather.cu.o.cmake:267 (message): Error generating file /torch/extra/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCTensorScatterGather.cu.o

lib/THC/CMakeFiles/THC.dir/build.make:182: recipe for target 'lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorScatterGather.cu.o' failed make[2]: [lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorScatterGather.cu.o] Error 1 make[2]: Waiting for unfinished jobs.... /torch/extra/cutorch/lib/THC/THCTensorIndex.cu(136): error: no instance of overloaded function "atomicAdd" matches the argument list argument types are: (half *, half) detected during instantiation of "void indexAddSmallIndex<T,IndexType,DstDim,SrcDim,IdxDim>(TensorInfo<T, IndexType>, TensorInfo<T, IndexType>, TensorInfo<long, IndexType>, int, int, IndexType, long) [with T=half, IndexType=unsigned int, DstDim=1, SrcDim=1, IdxDim=-2]" /torch/extra/cutorch/lib/THC/generic/THCTensorIndex.cu(220): here

/torch/extra/cutorch/lib/THC/THCTensorIndex.cu(136): error: no instance of overloaded function "atomicAdd" matches the argument list argument types are: (half *, half) detected during instantiation of "void indexAddSmallIndex<T,IndexType,DstDim,SrcDim,IdxDim>(TensorInfo<T, IndexType>, TensorInfo<T, IndexType>, TensorInfo<long, IndexType>, int, int, IndexType, long) [with T=half, IndexType=unsigned int, DstDim=2, SrcDim=2, IdxDim=-2]" /torch/extra/cutorch/lib/THC/generic/THCTensorIndex.cu(222): here

/torch/extra/cutorch/lib/THC/THCTensorIndex.cu(136): error: no instance of overloaded function "atomicAdd" matches the argument list argument types are: (half *, half) detected during instantiation of "void indexAddSmallIndex<T,IndexType,DstDim,SrcDim,IdxDim>(TensorInfo<T, IndexType>, TensorInfo<T, IndexType>, TensorInfo<long, IndexType>, int, int, IndexType, long) [with T=half, IndexType=unsigned int, DstDim=3, SrcDim=3, IdxDim=-2]" /torch/extra/cutorch/lib/THC/generic/THCTensorIndex.cu(224): here

/torch/extra/cutorch/lib/THC/THCTensorIndex.cu(136): error: no instance of overloaded function "atomicAdd" matches the argument list argument types are: (half *, half) detected during instantiation of "void indexAddSmallIndex<T,IndexType,DstDim,SrcDim,IdxDim>(TensorInfo<T, IndexType>, TensorInfo<T, IndexType>, TensorInfo<long, IndexType>, int, int, IndexType, long) [with T=half, IndexType=unsigned int, DstDim=-1, SrcDim=-1, IdxDim=-1]" /torch/extra/cutorch/lib/THC/generic/THCTensorIndex.cu(226): here

/torch/extra/cutorch/lib/THC/THCTensorIndex.cu(176): error: no instance of overloaded function "atomicAdd" matches the argument list argument types are: (half *, half) detected during instantiation of "void indexAddLargeIndex<T,IndexType,DstDim,SrcDim,IdxDim>(TensorInfo<T, IndexType>, TensorInfo<T, IndexType>, TensorInfo<long, IndexType>, int, int, IndexType, long) [with T=half, IndexType=unsigned int, DstDim=1, SrcDim=1, IdxDim=-2]" /torch/extra/cutorch/lib/THC/generic/THCTensorIndex.cu(230): here

/torch/extra/cutorch/lib/THC/THCTensorIndex.cu(176): error: no instance of overloaded function "atomicAdd" matches the argument list argument types are: (half *, half) detected during instantiation of "void indexAddLargeIndex<T,IndexType,DstDim,SrcDim,IdxDim>(TensorInfo<T, IndexType>, TensorInfo<T, IndexType>, TensorInfo<long, IndexType>, int, int, IndexType, long) [with T=half, IndexType=unsigned int, DstDim=2, SrcDim=2, IdxDim=-2]" /torch/extra/cutorch/lib/THC/generic/THCTensorIndex.cu(232): here

/torch/extra/cutorch/lib/THC/THCTensorIndex.cu(176): error: no instance of overloaded function "atomicAdd" matches the argument list argument types are: (half *, half) detected during instantiation of "void indexAddLargeIndex<T,IndexType,DstDim,SrcDim,IdxDim>(TensorInfo<T, IndexType>, TensorInfo<T, IndexType>, TensorInfo<long, IndexType>, int, int, IndexType, long) [with T=half, IndexType=unsigned int, DstDim=3, SrcDim=3, IdxDim=-2]" /torch/extra/cutorch/lib/THC/generic/THCTensorIndex.cu(234): here

/torch/extra/cutorch/lib/THC/THCTensorIndex.cu(176): error: no instance of overloaded function "atomicAdd" matches the argument list argument types are: (half *, half) detected during instantiation of "void indexAddLargeIndex<T,IndexType,DstDim,SrcDim,IdxDim>(TensorInfo<T, IndexType>, TensorInfo<T, IndexType>, TensorInfo<long, IndexType>, int, int, IndexType, long) [with T=half, IndexType=unsigned int, DstDim=-1, SrcDim=-1, IdxDim=-1]" /torch/extra/cutorch/lib/THC/generic/THCTensorIndex.cu(236): here

/torch/extra/cutorch/lib/THC/THCTensorIndex.cu(176): error: no instance of overloaded function "atomicAdd" matches the argument list argument types are: (half *, half) detected during instantiation of "void indexAddLargeIndex<T,IndexType,DstDim,SrcDim,IdxDim>(TensorInfo<T, IndexType>, TensorInfo<T, IndexType>, TensorInfo<long, IndexType>, int, int, IndexType, long) [with T=half, IndexType=unsigned long, DstDim=-1, SrcDim=-1, IdxDim=-1]" /torch/extra/cutorch/lib/THC/generic/THCTensorIndex.cu(254): here

9 errors detected in the compilation of "/tmp/tmpxft_0000b9e1_00000000-12_THCTensorIndex.compute_70.cpp1.ii". CMake Error at THC_generated_THCTensorIndex.cu.o.cmake:267 (message): Error generating file /torch/extra/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCTensorIndex.cu.o

lib/THC/CMakeFiles/THC.dir/build.make:161: recipe for target 'lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorIndex.cu.o' failed make[2]: *** [lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorIndex.cu.o] Error 1

nagadomi commented 4 years ago

In this repo, automicAdd function has been removed from cutorch because a function with the same name is added to CUDA10 and conflicts. It cannot be compiled on CUDA9 because automicAdd is missing. It is possible to make this repo compatible with CUDA9, but I think it is better to use the official torch7 repo