Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install torch7 on manjaro #1228

Open
iGeralt opened this issue Sep 13, 2020 · 2 comments
Open

Unable to install torch7 on manjaro #1228

iGeralt opened this issue Sep 13, 2020 · 2 comments

Comments

@iGeralt
Copy link

iGeralt commented Sep 13, 2020

-- 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: 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: /usr/lib/libopenblas.so
-- Looking for sgemm_
-- Looking for sgemm_ - 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 (open).
-- Looking for cheev_
-- Looking for cheev_ - found
-- Found a library with LAPACK API. (open)
-- 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: /home/stark/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
[  7%] Building C object lib/TH/CMakeFiles/TH.dir/THHalf.c.o
[  7%] Building C object lib/TH/CMakeFiles/TH.dir/THGeneral.c.o
[ 10%] Building C object lib/TH/CMakeFiles/TH.dir/THAllocator.c.o
[ 12%] Building C object lib/TH/CMakeFiles/TH.dir/THSize.c.o
[ 15%] Building C object lib/TH/CMakeFiles/TH.dir/THStorage.c.o
[ 17%] Building C object lib/TH/CMakeFiles/TH.dir/THTensor.c.o
[ 20%] Building C object lib/TH/CMakeFiles/TH.dir/THBlas.c.o
[ 23%] Building C object lib/TH/CMakeFiles/TH.dir/THLapack.c.o
[ 25%] Building C object lib/TH/CMakeFiles/TH.dir/THLogAdd.c.o
[ 28%] Building C object lib/TH/CMakeFiles/TH.dir/THRandom.c.o
[ 30%] Building C object lib/TH/CMakeFiles/TH.dir/THFile.c.o
[ 35%] Building C object lib/TH/CMakeFiles/TH.dir/THDiskFile.c.o
[ 35%] Building C object lib/TH/CMakeFiles/TH.dir/THMemoryFile.c.o
[ 38%] Building C object lib/TH/CMakeFiles/TH.dir/THAtomic.c.o
[ 41%] Building C object lib/TH/CMakeFiles/TH.dir/THVector.c.o
[ 43%] Building C object lib/TH/CMakeFiles/TH.dir/generic/simd/convolve.c.o
[ 46%] Building C object lib/TH/CMakeFiles/TH.dir/generic/simd/convolve5x5_sse.c.o
[ 48%] Building C object lib/TH/CMakeFiles/TH.dir/vector/AVX.c.o
[ 51%] Building C object lib/TH/CMakeFiles/TH.dir/generic/simd/convolve5x5_avx.c.o
[ 53%] Building C object lib/TH/CMakeFiles/TH.dir/vector/AVX2.c.o
[ 56%] Linking C shared library libluaT.so
[ 56%] Built target luaT
[ 58%] Linking C shared library libTH.so
[ 58%] Built target TH
[ 64%] Generating random.c
[ 64%] Generating TensorMath.c
Scanning dependencies of target torch
[ 69%] Building C object CMakeFiles/torch.dir/File.c.o
[ 69%] Building C object CMakeFiles/torch.dir/DiskFile.c.o
[ 71%] Building C object CMakeFiles/torch.dir/MemoryFile.c.o
[ 74%] Building C object CMakeFiles/torch.dir/PipeFile.c.o
[ 79%] Building C object CMakeFiles/torch.dir/Storage.c.o
[ 79%] Building C object CMakeFiles/torch.dir/Tensor.c.o
[ 82%] Building C object CMakeFiles/torch.dir/Timer.c.o
[ 84%] Building C object CMakeFiles/torch.dir/utils.c.o
[ 87%] Building C object CMakeFiles/torch.dir/init.c.o
[ 89%] Building C object CMakeFiles/torch.dir/TensorOperator.c.o
[ 92%] Building C object CMakeFiles/torch.dir/TensorMath.c.o
[ 94%] Building C object CMakeFiles/torch.dir/random.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
[ 58%] Built target TH
[100%] Built target torch
Install the project...
-- Install configuration: "Release"
-- Installing: /home/stark/torch/install/share/cmake/torch/TorchExports.cmake
-- Installing: /home/stark/torch/install/share/cmake/torch/TorchExports-release.cmake
-- Installing: /home/stark/torch/install/share/cmake/torch/TorchConfig.cmake
-- Installing: /home/stark/torch/install/share/cmake/torch/TorchWrap.cmake
-- Installing: /home/stark/torch/install/share/cmake/torch/TorchPathsInit.cmake
-- Installing: /home/stark/torch/install/share/cmake/torch/TorchPackage.cmake
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lib/libtorch.so
-- Set runtime path of "/home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lib/libtorch.so" to "$ORIGIN/../lib:/home/stark/torch/install/lib"
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/init.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/File.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/Tensor.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/CmdLine.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/FFInterface.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/Tester.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/TestSuite.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/paths.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/test.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/README.md
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/utility.md
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/file.md
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/gather.png
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/diskfile.md
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/memoryfile.md
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/random.md
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/index.md
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/pipefile.md
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/timer.md
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/storage.md
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/cmdline.md
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/maths.md
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/tester.md
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/tensor.md
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/serialization.md
-- Installing: /home/stark/torch/install/lib/libTH.so.0
-- Set runtime path of "/home/stark/torch/install/lib/libTH.so.0" to "$ORIGIN/../lib"
-- Installing: /home/stark/torch/install/lib/libTH.so
-- Installing: /home/stark/torch/install/include/TH/TH.h
-- Installing: /home/stark/torch/install/include/TH/THAllocator.h
-- Installing: /home/stark/torch/install/include/TH/THMath.h
-- Installing: /home/stark/torch/install/include/TH/THBlas.h
-- Installing: /home/stark/torch/install/include/TH/THDiskFile.h
-- Installing: /home/stark/torch/install/include/TH/THFile.h
-- Installing: /home/stark/torch/install/include/TH/THFilePrivate.h
-- Installing: /home/stark/torch/install/include/TH/THGeneral.h
-- Installing: /home/stark/torch/install/include/TH/THGenerateAllTypes.h
-- Installing: /home/stark/torch/install/include/TH/THGenerateDoubleType.h
-- Installing: /home/stark/torch/install/include/TH/THGenerateFloatType.h
-- Installing: /home/stark/torch/install/include/TH/THGenerateHalfType.h
-- Installing: /home/stark/torch/install/include/TH/THGenerateLongType.h
-- Installing: /home/stark/torch/install/include/TH/THGenerateIntType.h
-- Installing: /home/stark/torch/install/include/TH/THGenerateShortType.h
-- Installing: /home/stark/torch/install/include/TH/THGenerateCharType.h
-- Installing: /home/stark/torch/install/include/TH/THGenerateByteType.h
-- Installing: /home/stark/torch/install/include/TH/THGenerateFloatTypes.h
-- Installing: /home/stark/torch/install/include/TH/THGenerateIntTypes.h
-- Installing: /home/stark/torch/install/include/TH/THLapack.h
-- Installing: /home/stark/torch/install/include/TH/THLogAdd.h
-- Installing: /home/stark/torch/install/include/TH/THMemoryFile.h
-- Installing: /home/stark/torch/install/include/TH/THRandom.h
-- Installing: /home/stark/torch/install/include/TH/THSize.h
-- Installing: /home/stark/torch/install/include/TH/THStorage.h
-- Installing: /home/stark/torch/install/include/TH/THTensor.h
-- Installing: /home/stark/torch/install/include/TH/THTensorApply.h
-- Installing: /home/stark/torch/install/include/TH/THTensorDimApply.h
-- Installing: /home/stark/torch/install/include/TH/THTensorMacros.h
-- Installing: /home/stark/torch/install/include/TH/THVector.h
-- Installing: /home/stark/torch/install/include/TH/THAtomic.h
-- Installing: /home/stark/torch/install/include/TH/THHalf.h
-- Installing: /home/stark/torch/install/include/TH/vector/AVX.h
-- Installing: /home/stark/torch/install/include/TH/vector/AVX2.h
-- Installing: /home/stark/torch/install/include/TH/generic/THBlas.c
-- Installing: /home/stark/torch/install/include/TH/generic/THBlas.h
-- Installing: /home/stark/torch/install/include/TH/generic/THLapack.c
-- Installing: /home/stark/torch/install/include/TH/generic/THLapack.h
-- Installing: /home/stark/torch/install/include/TH/generic/THStorage.c
-- Installing: /home/stark/torch/install/include/TH/generic/THStorage.h
-- Installing: /home/stark/torch/install/include/TH/generic/THStorageCopy.c
-- Installing: /home/stark/torch/install/include/TH/generic/THStorageCopy.h
-- Installing: /home/stark/torch/install/include/TH/generic/THTensor.c
-- Installing: /home/stark/torch/install/include/TH/generic/THTensor.h
-- Installing: /home/stark/torch/install/include/TH/generic/THTensorConv.c
-- Installing: /home/stark/torch/install/include/TH/generic/THTensorConv.h
-- Installing: /home/stark/torch/install/include/TH/generic/THTensorCopy.c
-- Installing: /home/stark/torch/install/include/TH/generic/THTensorCopy.h
-- Installing: /home/stark/torch/install/include/TH/generic/THTensorLapack.c
-- Installing: /home/stark/torch/install/include/TH/generic/THTensorLapack.h
-- Installing: /home/stark/torch/install/include/TH/generic/THTensorMath.c
-- Installing: /home/stark/torch/install/include/TH/generic/THTensorMath.h
-- Installing: /home/stark/torch/install/include/TH/generic/THTensorRandom.c
-- Installing: /home/stark/torch/install/include/TH/generic/THTensorRandom.h
-- Installing: /home/stark/torch/install/include/TH/generic/THVectorDispatch.c
-- Installing: /home/stark/torch/install/include/TH/generic/THVector.h
-- Installing: /home/stark/torch/install/share/cmake/torch/THConfig.cmake
-- Installing: /home/stark/torch/install/lib/libluaT.so.0
-- Set runtime path of "/home/stark/torch/install/lib/libluaT.so.0" to "$ORIGIN/../lib"
-- Installing: /home/stark/torch/install/lib/libluaT.so
-- Installing: /home/stark/torch/install/include/luaT.h
-- Installing: /home/stark/torch/install/share/cmake/torch/luaTConfig.cmake
Updating manifest for /home/stark/torch/install/lib/luarocks/rocks
torch scm-1 is now built and installed in /home/stark/torch/install/ (license: BSD)

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

gcc -O2 -fPIC -I/home/stark/torch/install/include -c utils.c -o utils.o
gcc -shared -o treplutils.so -L/home/stark/torch/install/lib utils.o
gcc -O2 -fPIC -I/home/stark/torch/install/include -c readline.c -o readline.o
gcc -shared -o readline.so -L/home/stark/torch/install/lib readline.o -lreadline
Updating manifest for /home/stark/torch/install/lib/luarocks/rocks
trepl scm-1 is now built and installed in /home/stark/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/stark/torch/install/lib/luarocks/rocks/sys/1.1-0" && make
CMake Warning (dev) in CMakeLists.txt:
  No project() command is present.  The top-level CMakeLists.txt file must
  contain a literal, direct call to the project() command.  Add a line of
  code such as

    project(ProjectName)

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

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

-- The C compiler identification is GNU 4.9.4
-- The CXX compiler identification is GNU 10.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Torch7 in /home/stark/torch/install
-- Configuring done
-- Generating done
-- Build files have been written to: /home/stark/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: /home/stark/torch/install/lib/luarocks/rocks/sys/1.1-0/lib/libsys.so
-- Set runtime path of "/home/stark/torch/install/lib/luarocks/rocks/sys/1.1-0/lib/libsys.so" to "$ORIGIN/../lib:/home/stark/torch/install/lib"
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/sys/1.1-0/lua/sys/init.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/sys/1.1-0/lua/sys/colors.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/sys/1.1-0/lua/sys/fpath.lua
Updating manifest for /home/stark/torch/install/lib/luarocks/rocks
sys 1.1-0 is now built and installed in /home/stark/torch/install/ (license: BSD)

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

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

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

    project(ProjectName)

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

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

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

cmake -E make_directory build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/home/stark/torch/install/bin/.." -DCMAKE_INSTALL_PREFIX="/home/stark/torch/install/lib/luarocks/rocks/graph/scm-1" && make
   
CMake Warning (dev) in CMakeLists.txt:
  No project() command is present.  The top-level CMakeLists.txt file must
  contain a literal, direct call to the project() command.  Add a line of
  code such as

    project(ProjectName)

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

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

-- The C compiler identification is GNU 4.9.4
-- The CXX compiler identification is GNU 10.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Torch7 in /home/stark/torch/install
-- Configuring done
-- Generating done
-- Build files have been written to: /home/stark/torch/extra/graph/build
cd build && make install
Install the project...
-- Install configuration: "Release"
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/graph/scm-1/lua/graph/Edge.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/graph/scm-1/lua/graph/Node.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/graph/scm-1/lua/graph/graphviz.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/graph/scm-1/lua/graph/init.lua
Updating manifest for /home/stark/torch/install/lib/luarocks/rocks
graph scm-1 is now built and installed in /home/stark/torch/install/ (license: UNKNOWN)

cmake -E make_directory build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/home/stark/torch/install/bin/.." -DCMAKE_INSTALL_PREFIX="/home/stark/torch/install/lib/luarocks/rocks/nngraph/scm-1" && make
   
CMake Warning (dev) in CMakeLists.txt:
  No project() command is present.  The top-level CMakeLists.txt file must
  contain a literal, direct call to the project() command.  Add a line of
  code such as

    project(ProjectName)

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

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

-- The C compiler identification is GNU 4.9.4
-- The CXX compiler identification is GNU 10.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Torch7 in /home/stark/torch/install
-- Configuring done
-- Generating done
-- Build files have been written to: /home/stark/torch/extra/nngraph/build
cd build && make install
Install the project...
-- Install configuration: "Release"
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nngraph/scm-1/lua/nngraph/JustElement.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nngraph/scm-1/lua/nngraph/JustTable.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nngraph/scm-1/lua/nngraph/ModuleFromCriterion.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nngraph/scm-1/lua/nngraph/gmodule.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nngraph/scm-1/lua/nngraph/graphinspecting.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nngraph/scm-1/lua/nngraph/init.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nngraph/scm-1/lua/nngraph/nest.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nngraph/scm-1/lua/nngraph/nesting.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nngraph/scm-1/lua/nngraph/node.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nngraph/scm-1/lua/nngraph/simple_print.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/nngraph/scm-1/lua/nngraph/utils.lua
Updating manifest for /home/stark/torch/install/lib/luarocks/rocks
nngraph scm-1 is now built and installed in /home/stark/torch/install/ (license: UNKNOWN)

Warning: unmatched variable LUALIB
cmake -E make_directory build && cd build && cmake .. -DLUALIB= -DLUA_INCDIR="/home/stark/torch/install/include" -DLUA_LIBDIR="/home/stark/torch/install/lib"  -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/home/stark/torch/install/bin/.." -DCMAKE_INSTALL_PREFIX="/home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0" && make
   
CMake Warning (dev) in CMakeLists.txt:
  No project() command is present.  The top-level CMakeLists.txt file must
  contain a literal, direct call to the project() command.  Add a line of
  code such as

    project(ProjectName)

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

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

-- The C compiler identification is GNU 4.9.4
-- The CXX compiler identification is GNU 10.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Torch7 in /home/stark/torch/install
-- Found JPEG: /usr/lib/libjpeg.so (found version "80") 
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.11") 
-- Found PNG: /usr/lib/libpng.so (found version "1.6.37") 
-- Found OpenMP_C: -fopenmp (found version "4.0") 
-- Found OpenMP_CXX: -fopenmp (found version "4.5") 
-- 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: /home/stark/torch/pkg/image/build
Scanning dependencies of target image
[ 12%] Building C object CMakeFiles/image.dir/image.c.o
[ 25%] Linking C shared module libimage.so
[ 25%] Built target image
Scanning dependencies of target lua_png
[ 37%] Building C object CMakeFiles/lua_png.dir/png.c.o
[ 50%] Linking C shared module liblua_png.so
[ 50%] Built target lua_png
Scanning dependencies of target jpeg
[ 62%] Building C object CMakeFiles/jpeg.dir/jpeg.c.o
[ 75%] Linking C shared module libjpeg.so
[ 75%] Built target jpeg
Scanning dependencies of target ppm
[ 87%] Building C object CMakeFiles/ppm.dir/ppm.c.o
[100%] Linking C shared module libppm.so
[100%] Built target ppm
cd build && make install
[ 25%] Built target image
[ 50%] Built target lua_png
[ 75%] Built target jpeg
[100%] Built target ppm
Install the project...
-- Install configuration: "Release"
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lib/libppm.so
-- Set runtime path of "/home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lib/libppm.so" to "$ORIGIN/../lib:/home/stark/torch/install/lib"
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lib/libjpeg.so
-- Set runtime path of "/home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lib/libjpeg.so" to "$ORIGIN/../lib:/home/stark/torch/install/lib"
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lib/liblua_png.so
-- Set runtime path of "/home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lib/liblua_png.so" to "$ORIGIN/../lib:/home/stark/torch/install/lib"
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lib/libimage.so
-- Set runtime path of "/home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lib/libimage.so" to "$ORIGIN/../lib:/home/stark/torch/install/lib"
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/init.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/win.ui
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/test.lua
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/grace_hopper_512.jpg
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/fabio.png
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/corrupt-ihdr.png
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/gray3x1.png
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/grace_hopper_512.png
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/fabio.jpg
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/P4.pbm
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/P5.pgm
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/P6.ppm
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/bmp-without-ext
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/rectangle.png
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/P2.pgm
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/gray16-1x2.png
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/rgb2x1.png
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/rgb16-2x1.png
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/foobar.png
-- Installing: /home/stark/torch/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/README.md
Updating manifest for /home/stark/torch/install/lib/luarocks/rocks
image 1.1.alpha-0 is now built and installed in /home/stark/torch/install/ (license: BSD)

cmake -E make_directory build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/home/stark/torch/install/bin/.." -DCMAKE_INSTALL_PREFIX="/home/stark/torch/install/lib/luarocks/rocks/optim/1.0.5-0" && make
   
CMake Warning (dev) in CMakeLists.txt:
  No project() command is present.  The top-level CMakeLists.txt file must
  contain a literal, direct call to the project() command.  Add a line of
  code such as

    project(ProjectName)

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

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

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

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

    project(ProjectName)

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

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

-- The C compiler identification is GNU 4.9.4
-- The CXX compiler identification is GNU 10.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Torch7 in /home/stark/torch/install
-- Found CUDA: /opt/cuda (found suitable version "10.1", 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;6.1+PTX
-- got cuda version 10.1
-- 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_61,code=compute_61;-DCUDA_HAS_FP16=1
-- THC_SO_VERSION: 0
-- Performing Test HAS_LUAL_SETFUNCS
-- Performing Test HAS_LUAL_SETFUNCS - Failed
-- Configuring done
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CUDA_cublas_device_LIBRARY (ADVANCED)
    linked by target "THC" in directory /home/stark/torch/extra/cutorch/lib/THC

-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.

Error: Build error: Failed building.

I am following this http://torch.ch/docs/getting-started.html guide to install .

gcc version:

gcc (GCC) 4.9.4 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

cmake version :

cmake version 3.18.2

CMake suite maintained and supported by Kitware (kitware.com/cmake).

nvcc --version :

nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Sun_Jul_28_19:07:16_PDT_2019
Cuda compilation tools, release 10.1, V10.1.243

cudnn version : 7.6

This did not work:

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

Please someone help me .

@iGeralt
Copy link
Author

iGeralt commented Sep 13, 2020

Tried with this https://github.com/nagadomi/distro and it worked . Previously tried with the same repo but it did not worked . After reinstalling cmake and changing gcc version from 6 to 4.9 its working (I am not sure what was issue before).

@blp92
Copy link

blp92 commented Feb 2, 2021

I'm trying to install this to resume playing around with https://github.com/jcjohnson/neural-style but I'm seeing that torch7 is orphaned in the AUR. When I click the link you mentioned for nagadomi/distro I get a no results match. Is it still working for you?

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

No branches or pull requests

2 participants