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

libpng12-dev has no installation candidate and ./install.sh fails without it #23

Open
thijser opened this issue Mar 13, 2017 · 10 comments

Comments

@thijser
Copy link

thijser commented Mar 13, 2017

I'm on a relatively new ubuntu 16.10 install and tried to install torch-cl. 

bash install-debs works fine except for one line 
`E: Package 'libpng12-dev' has no installation candidate`
removing the package libpng-12-dev and the install-debs file runs fine. However subsequently running the installer end in a build error: 

$ sudo ./install.sh 
Prefix set to /home/thijs/torch-cl/install
Installing Lua version: LUAJIT21
Installing common Lua packages
gcc -O2 -fPIC -I/home/thijs/torch-cl/install/include -c src/lfs.c -o src/lfs.o
gcc -shared -o lfs.so -L/home/thijs/torch-cl/install/lib src/lfs.o
Updating manifest for /home/thijs/torch-cl/install/lib/luarocks/rocks
luafilesystem 1.6.3-1 is now built and installed in /home/thijs/torch-cl/install/ (license: MIT/X11)

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

gcc -O2 -fPIC -I/home/thijs/torch-cl/install/include -c lua_cjson.c -o lua_cjson.o
In file included from lua_cjson.c:47:0:
fpconv.h:15:20: warning: inline function ‘fpconv_init’ declared but never defined
 extern inline void fpconv_init();
                    ^~~~~~~~~~~
gcc -O2 -fPIC -I/home/thijs/torch-cl/install/include -c strbuf.c -o strbuf.o
gcc -O2 -fPIC -I/home/thijs/torch-cl/install/include -c fpconv.c -o fpconv.o
gcc -shared -o cjson.so -L/home/thijs/torch-cl/install/lib lua_cjson.o strbuf.o fpconv.o
Updating manifest for /home/thijs/torch-cl/install/lib/luarocks/rocks
lua-cjson 2.1devel-1 is now built and installed in /home/thijs/torch-cl/install/ (license: MIT)

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

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

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

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

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

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

-- Compiling with OpenMP support
-- Compiling with OpenMP support
-- Could not find hardware support for NEON on this machine.
-- No OMAP3 processor on this on this machine.
-- No OMAP4 processor on this on this machine.
-- Atomics: using GCC intrinsics
-- 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_gnu_thread - mkl_core - pthread - m]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - pthread - m]
--   Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl - guide - pthread - m]
--   Library mkl: not found
-- MKL library not found
-- Checking for [openblas]
--   Library openblas: /opt/OpenBLAS/lib/libopenblas.so
-- Found a library with BLAS API (open).
-- Found a library with LAPACK API. (open)
-- C inline is supported (inline)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/thijs/torch-cl/pkg/torch/build
[  5%] Built target luaT
[ 52%] Built target TH
[100%] Built target torch
cd build && make install
[  5%] Built target luaT
[ 52%] Built target TH
[100%] Built target torch
Install the project...
-- Install configuration: "Release"
-- Up-to-date: /home/thijs/torch-cl/install/share/cmake/torch/TorchExports.cmake
-- Installing: /home/thijs/torch-cl/install/share/cmake/torch/TorchExports-release.cmake
-- Up-to-date: /home/thijs/torch-cl/install/share/cmake/torch/TorchConfig.cmake
-- Up-to-date: /home/thijs/torch-cl/install/share/cmake/torch/TorchWrap.cmake
-- Up-to-date: /home/thijs/torch-cl/install/share/cmake/torch/TorchPathsInit.cmake
-- Up-to-date: /home/thijs/torch-cl/install/share/cmake/torch/TorchPackage.cmake
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/torch/scm-1/lib/libtorch.so
-- Set runtime path of "/home/thijs/torch-cl/install/lib/luarocks/rocks/torch/scm-1/lib/libtorch.so" to "$ORIGIN/../lib:/home/thijs/torch-cl/install/lib:/opt/OpenBLAS/lib"
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/torch/scm-1/lua/torch/init.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/torch/scm-1/lua/torch/File.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/torch/scm-1/lua/torch/Tensor.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/torch/scm-1/lua/torch/CmdLine.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/torch/scm-1/lua/torch/FFI.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/torch/scm-1/lua/torch/Tester.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/torch/scm-1/lua/torch/TestSuite.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/torch/scm-1/lua/torch/test.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/torch/scm-1/lua/torch/README.md
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/timer.md
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/file.md
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/gather.png
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/utility.md
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/memoryfile.md
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/serialization.md
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/storage.md
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/pipefile.md
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/index.md
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/cmdline.md
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/tester.md
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/tensor.md
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/diskfile.md
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/random.md
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/torch/scm-1/lua/torch/doc/maths.md
-- Up-to-date: /home/thijs/torch-cl/install/lib/libTH.so
-- Up-to-date: /home/thijs/torch-cl/install/include/TH/TH.h
-- Up-to-date: /home/thijs/torch-cl/install/include/TH/THAllocator.h
-- Up-to-date: /home/thijs/torch-cl/install/include/TH/THMath.h
-- Up-to-date: /home/thijs/torch-cl/install/include/TH/THBlas.h
-- Up-to-date: /home/thijs/torch-cl/install/include/TH/THDiskFile.h
-- Up-to-date: /home/thijs/torch-cl/install/include/TH/THFile.h
-- Up-to-date: /home/thijs/torch-cl/install/include/TH/THFilePrivate.h
-- Up-to-date: /home/thijs/torch-cl/install/include/TH/THGeneral.h
-- Up-to-date: /home/thijs/torch-cl/install/include/TH/THGenerateAllTypes.h
-- Up-to-date: /home/thijs/torch-cl/install/include/TH/THGenerateFloatTypes.h
-- Up-to-date: /home/thijs/torch-cl/install/include/TH/THGenerateIntTypes.h
-- Up-to-date: /home/thijs/torch-cl/install/include/TH/THLapack.h
-- Up-to-date: /home/thijs/torch-cl/install/include/TH/THLogAdd.h
-- Up-to-date: /home/thijs/torch-cl/install/include/TH/THMemoryFile.h
-- Up-to-date: /home/thijs/torch-cl/install/include/TH/THRandom.h
-- Up-to-date: /home/thijs/torch-cl/install/include/TH/THStorage.h
-- Up-to-date: /home/thijs/torch-cl/install/include/TH/THTensor.h
-- Up-to-date: /home/thijs/torch-cl/install/include/TH/THTensorApply.h
-- Up-to-date: /home/thijs/torch-cl/install/include/TH/THTensorDimApply.h
-- Up-to-date: /home/thijs/torch-cl/install/include/TH/THTensorMacros.h
-- Up-to-date: /home/thijs/torch-cl/install/include/TH/THVector.h
-- Up-to-date: /home/thijs/torch-cl/install/include/TH/THAtomic.h
-- Up-to-date: /home/thijs/torch-cl/install/include/TH/generic/THBlas.c
-- Up-to-date: /home/thijs/torch-cl/install/include/TH/generic/THBlas.h
-- Up-to-date: /home/thijs/torch-cl/install/include/TH/generic/THLapack.c
-- Up-to-date: /home/thijs/torch-cl/install/include/TH/generic/THLapack.h
-- Up-to-date: /home/thijs/torch-cl/install/include/TH/generic/THStorage.c
-- Up-to-date: /home/thijs/torch-cl/install/include/TH/generic/THStorage.h
-- Up-to-date: /home/thijs/torch-cl/install/include/TH/generic/THStorageCopy.c
-- Up-to-date: /home/thijs/torch-cl/install/include/TH/generic/THStorageCopy.h
-- Up-to-date: /home/thijs/torch-cl/install/include/TH/generic/THTensor.c
-- Up-to-date: /home/thijs/torch-cl/install/include/TH/generic/THTensor.h
-- Up-to-date: /home/thijs/torch-cl/install/include/TH/generic/THTensorConv.c
-- Up-to-date: /home/thijs/torch-cl/install/include/TH/generic/THTensorConv.h
-- Up-to-date: /home/thijs/torch-cl/install/include/TH/generic/THTensorCopy.c
-- Up-to-date: /home/thijs/torch-cl/install/include/TH/generic/THTensorCopy.h
-- Up-to-date: /home/thijs/torch-cl/install/include/TH/generic/THTensorLapack.c
-- Up-to-date: /home/thijs/torch-cl/install/include/TH/generic/THTensorLapack.h
-- Up-to-date: /home/thijs/torch-cl/install/include/TH/generic/THTensorMath.c
-- Up-to-date: /home/thijs/torch-cl/install/include/TH/generic/THTensorMath.h
-- Up-to-date: /home/thijs/torch-cl/install/include/TH/generic/THTensorRandom.c
-- Up-to-date: /home/thijs/torch-cl/install/include/TH/generic/THTensorRandom.h
-- Up-to-date: /home/thijs/torch-cl/install/include/TH/generic/THVector.c
-- Up-to-date: /home/thijs/torch-cl/install/share/cmake/torch/THConfig.cmake
-- Up-to-date: /home/thijs/torch-cl/install/lib/libluaT.so
-- Up-to-date: /home/thijs/torch-cl/install/include/luaT.h
-- Up-to-date: /home/thijs/torch-cl/install/share/cmake/torch/luaTConfig.cmake
Updating manifest for /home/thijs/torch-cl/install/lib/luarocks/rocks
torch scm-1 is now built and installed in /home/thijs/torch-cl/install/ (license: BSD)

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

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

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

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

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

-- Found Torch7 in /home/thijs/torch-cl/install
-- Compiling with OpenMP support
-- Configuring done
-- Generating done
-- Build files have been written to: /home/thijs/torch-cl/extra/nn/build
[ 50%] Built target nn
[100%] Built target THNN
cd build && make install
[ 50%] Built target nn
[100%] Built target THNN
Install the project...
-- Install configuration: "Release"
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lib/libnn.so
-- Set runtime path of "/home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lib/libnn.so" to "$ORIGIN/../lib:/home/thijs/torch-cl/install/lib:/opt/OpenBLAS/lib"
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Abs.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/AbsCriterion.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Add.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/AddConstant.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/BCECriterion.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/BatchNormalization.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Bilinear.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/CAddTable.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/CDivTable.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/CMul.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/CMulTable.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/CSubTable.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Clamp.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/ClassNLLCriterion.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Concat.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/ConcatTable.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Container.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Contiguous.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Copy.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Cosine.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/CosineDistance.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/CosineEmbeddingCriterion.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Criterion.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/CriterionTable.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/CrossEntropyCriterion.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/DepthConcat.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/DistKLDivCriterion.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/DotProduct.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Dropout.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/ELU.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/ErrorMessages.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Euclidean.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Exp.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/FlattenTable.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/GradientReversal.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/HardShrink.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/HardTanh.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/HingeEmbeddingCriterion.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Identity.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Index.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Jacobian.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/JoinTable.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/L1Cost.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/L1HingeEmbeddingCriterion.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/L1Penalty.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/LeakyReLU.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Linear.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Log.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/LogSigmoid.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/LogSoftMax.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/LookupTable.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/MM.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/MSECriterion.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/MarginCriterion.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/MarginRankingCriterion.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Max.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Mean.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Min.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/MixtureTable.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Module.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Mul.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/MulConstant.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/MultiCriterion.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/MultiLabelMarginCriterion.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/MultiMarginCriterion.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Narrow.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/NarrowTable.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Normalize.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/PReLU.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Padding.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/PairwiseDistance.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Parallel.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/ParallelCriterion.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/ParallelTable.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Power.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/RReLU.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/ReLU.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Replicate.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Reshape.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Select.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SelectTable.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Sequential.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Sigmoid.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SmoothL1Criterion.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SoftMax.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SoftMin.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SoftPlus.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SoftShrink.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SoftSign.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SparseJacobian.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SparseLinear.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialAdaptiveMaxPooling.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialAveragePooling.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialBatchNormalization.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialContrastiveNormalization.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialConvolution.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialConvolutionLocal.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialConvolutionMM.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialConvolutionMap.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialCrossMapLRN.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialDivisiveNormalization.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialDropout.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialFractionalMaxPooling.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialFullConvolution.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialFullConvolutionMap.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialLPPooling.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialMaxPooling.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialMaxUnpooling.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialSoftMax.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialSubSampling.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialSubtractiveNormalization.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialUpSamplingNearest.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SpatialZeroPadding.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/SplitTable.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Sqrt.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Square.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/StochasticGradient.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Sum.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/THNN.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Tanh.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/TanhShrink.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/TemporalConvolution.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/TemporalMaxPooling.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/TemporalSubSampling.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Threshold.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/Transpose.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/View.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/VolumetricAveragePooling.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/VolumetricConvolution.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/VolumetricFullConvolution.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/VolumetricMaxPooling.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/VolumetricMaxUnpooling.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/WeightedEuclidean.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/WeightedMSECriterion.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/hessian.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/init.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/test.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/utils.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/overview.md
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/criterion.md
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/containers.md
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/square.png
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/lenap.jpg
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/prelu.png
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/sqrt.png
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/sigmoid.png
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/rrelu.png
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/softmax.png
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/power.png
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/lena.jpg
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/abs.png
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/softmin.png
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/sigmmoid.png
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/elu.png
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/softsign.png
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/htanh.png
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/logsigmoid.png
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/relu.png
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/exp.png
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/sshrink.png
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/tanh.png
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/softplus.png
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/logsoftmax.png
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/image/hshrink.png
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/transfer.md
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/index.md
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/module.md
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/table.md
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/convolution.md
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/simple.md
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/training.md
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/doc/testing.md
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lua/nn/README.md
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lib/libTHNN.so
-- Set runtime path of "/home/thijs/torch-cl/install/lib/luarocks/rocks/nn/scm-1/lib/libTHNN.so" to "$ORIGIN/../lib:/home/thijs/torch-cl/install/lib:/opt/OpenBLAS/lib"
Updating manifest for /home/thijs/torch-cl/install/lib/luarocks/rocks
nn scm-1 is now built and installed in /home/thijs/torch-cl/install/ (license: BSD)

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

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

Warning: unmatched variable LUALIB
cmake -E make_directory build && cd build && cmake .. -DLUALIB= -DLUA_INCDIR="/home/thijs/torch-cl/install/include" -DLUA_LIBDIR="/home/thijs/torch-cl/install/lib"  -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/home/thijs/torch-cl/install/bin/.." -DCMAKE_INSTALL_PREFIX="/home/thijs/torch-cl/install/lib/luarocks/rocks/image/1.1.alpha-0" && make
   
-- Found Torch7 in /home/thijs/torch-cl/install
-- Compiling with OpenMP support
-- Configuring done
-- Generating done
-- Build files have been written to: /home/thijs/torch-cl/pkg/image/build
[ 25%] Built target ppm
[ 50%] Built target jpeg
[ 75%] Built target png
[100%] Built target image
cd build && make install
[ 25%] Built target ppm
[ 50%] Built target jpeg
[ 75%] Built target png
[100%] Built target image
Install the project...
-- Install configuration: "Release"
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/image/1.1.alpha-0/lib/libppm.so
-- Set runtime path of "/home/thijs/torch-cl/install/lib/luarocks/rocks/image/1.1.alpha-0/lib/libppm.so" to "$ORIGIN/../lib:/home/thijs/torch-cl/install/lib:/opt/OpenBLAS/lib"
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/image/1.1.alpha-0/lib/libjpeg.so
-- Set runtime path of "/home/thijs/torch-cl/install/lib/luarocks/rocks/image/1.1.alpha-0/lib/libjpeg.so" to "$ORIGIN/../lib:/home/thijs/torch-cl/install/lib:/opt/OpenBLAS/lib"
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/image/1.1.alpha-0/lib/libpng.so
-- Set runtime path of "/home/thijs/torch-cl/install/lib/luarocks/rocks/image/1.1.alpha-0/lib/libpng.so" to "$ORIGIN/../lib:/home/thijs/torch-cl/install/lib:/opt/OpenBLAS/lib"
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/image/1.1.alpha-0/lib/libimage.so
-- Set runtime path of "/home/thijs/torch-cl/install/lib/luarocks/rocks/image/1.1.alpha-0/lib/libimage.so" to "$ORIGIN/../lib:/home/thijs/torch-cl/install/lib:/opt/OpenBLAS/lib"
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/init.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/win.ui
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/test.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/P2.pgm
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/foobar.png
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/P4.pbm
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/rgb2x1.png
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/lena.jpg
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/fabio.png
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/lena.png
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/gray16-1x2.png
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/gray3x1.png
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/rgb16-2x1.png
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/fabio.jpg
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/corrupt-ihdr.png
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/P6.ppm
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/assets/P5.pgm
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/image/1.1.alpha-0/lua/image/README.md
Updating manifest for /home/thijs/torch-cl/install/lib/luarocks/rocks
image 1.1.alpha-0 is now built and installed in /home/thijs/torch-cl/install/ (license: BSD)

cmake -E make_directory build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/home/thijs/torch-cl/install/bin/.." -DCMAKE_INSTALL_PREFIX="/home/thijs/torch-cl/install/lib/luarocks/rocks/optim/1.0.5-0" && make
   
-- Found Torch7 in /home/thijs/torch-cl/install
-- Configuring done
-- Generating done
-- Build files have been written to: /home/thijs/torch-cl/pkg/optim/build
cd build && make install
Install the project...
-- Install configuration: "Release"
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/ConfusionMatrix.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/Logger.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/adadelta.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/adagrad.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/adam.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/adamax.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/asgd.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/cg.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/checkgrad.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/cmaes.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/fista.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/init.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/lbfgs.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/lswolfe.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/nag.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/polyinterp.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/rmsprop.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/rprop.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/optim/1.0.5-0/lua/optim/sgd.lua
Updating manifest for /home/thijs/torch-cl/install/lib/luarocks/rocks
optim 1.0.5-0 is now built and installed in /home/thijs/torch-cl/install/ (license: BSD)

cmake -E make_directory build;
cd build;
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/home/thijs/torch-cl/install/bin/.." -DCMAKE_INSTALL_PREFIX="/home/thijs/torch-cl/install/lib/luarocks/rocks/loadcaffe/1.0-0"; 
make
   
-- Found Torch7 in /home/thijs/torch-cl/install
-- Configuring done
-- Generating done
-- Build files have been written to: /home/thijs/torch-cl/extra/loadcaffe/build
[100%] Built target loadcaffe
cd build && make install
[100%] Built target loadcaffe
Install the project...
-- Install configuration: "Release"
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/loadcaffe/1.0-0/lib/libloadcaffe.so
-- Set runtime path of "/home/thijs/torch-cl/install/lib/luarocks/rocks/loadcaffe/1.0-0/lib/libloadcaffe.so" to "$ORIGIN/../lib:/home/thijs/torch-cl/install/lib:/opt/OpenBLAS/lib"
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/loadcaffe/1.0-0/lua/loadcaffe/ffi.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/loadcaffe/1.0-0/lua/loadcaffe/init.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/loadcaffe/1.0-0/lua/loadcaffe/loadcaffe.lua
-- Installing: /home/thijs/torch-cl/install/lib/luarocks/rocks/loadcaffe/1.0-0/lua/loadcaffe/test.lua
Updating manifest for /home/thijs/torch-cl/install/lib/luarocks/rocks
loadcaffe 1.0-0 is now built and installed in /home/thijs/torch-cl/install/ (license: BSD)

Found CUDA on your machine. Installing CUDA packages
cmake -E make_directory build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/home/thijs/torch-cl/install/bin/.." -DCMAKE_INSTALL_PREFIX="/home/thijs/torch-cl/install/lib/luarocks/rocks/findcuda/scm-1" && make install

-- Found Torch7 in /home/thijs/torch-cl/install
-- Configuring done
-- Generating done
-- Build files have been written to: /home/thijs/torch-cl/extra/FindCUDA/build
Install the project...
-- Install configuration: "Release"
-- Up-to-date: /home/thijs/torch-cl/install/share/cmake/torch/FindCUDA.cmake
-- Up-to-date: /home/thijs/torch-cl/install/share/cmake/torch/FindCUDA/make2cmake.cmake
-- Up-to-date: /home/thijs/torch-cl/install/share/cmake/torch/FindCUDA/parse_cubin.cmake
-- Up-to-date: /home/thijs/torch-cl/install/share/cmake/torch/FindCUDA/run_nvcc.cmake
cd build
Updating manifest for /home/thijs/torch-cl/install/lib/luarocks/rocks
findcuda scm-1 is now built and installed in /home/thijs/torch-cl/install/ (license: MIT)

Warning: unmatched variable LUALIB
cmake -E make_directory build && cd build && cmake .. -DLUALIB= -DCMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS} -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/home/thijs/torch-cl/install/bin/.." -DCMAKE_INSTALL_PREFIX="/home/thijs/torch-cl/install/lib/luarocks/rocks/cutorch/scm-1" && make -j$(getconf _NPROCESSORS_ONLN) install

-- Found Torch7 in /home/thijs/torch-cl/install
-- Automatic GPU detection failed. Building for all known architectures.
-- Compiling for CUDA architecture: 2.0 2.1(2.0) 3.0 3.5 5.0 5.2
-- Configuring done
-- Generating done
-- Build files have been written to: /home/thijs/torch-cl/extra/cutorch/build
[  2%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCBlas.cu.o
[  5%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCReduceApplyUtils.cu.o
[  7%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCStorage.cu.o
[ 10%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorTopK.cu.o
[ 12%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCStorageCopy.cu.o
[ 15%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorCopy.cu.o
[ 17%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensor.cu.o
[ 20%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMath.cu.o
nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
In file included from /usr/local/cuda/include/cuda_runtime.h:78:0,
                 from <command-line>:0:
/usr/local/cuda/include/host_config.h:119:2: error: #error -- unsupported GNU version! gcc versions later than 5 are not supported!
 #error -- unsupported GNU version! gcc versions later than 5 are not supported!
  ^~~~~
In file included from /usr/local/cuda/include/cuda_runtime.h:78:0,
                 from <command-line>:0:
/usr/local/cuda/include/host_config.h:119:2: error: #error -- unsupported GNU version! gcc versions later than 5 are not supported!
 #error -- unsupported GNU version! gcc versions later than 5 are not supported!
  ^~~~~
In file included from /usr/local/cuda/include/cuda_runtime.h:78:0,
                 from <command-line>:0:
/usr/local/cuda/include/host_config.h:119:2: error: #error -- unsupported GNU version! gcc versions later than 5 are not supported!
 #error -- unsupported GNU version! gcc versions later than 5 are not supported!
  ^~~~~
nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
In file included from /usr/local/cuda/include/cuda_runtime.h:78:0,
                 from <command-line>:0:
/usr/local/cuda/include/host_config.h:119:2: error: #error -- unsupported GNU version! gcc versions later than 5 are not supported!
 #error -- unsupported GNU version! gcc versions later than 5 are not supported!
  ^~~~~
nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
In file included from /usr/local/cuda/include/cuda_runtime.h:78:0,
                 from <command-line>:0:
/usr/local/cuda/include/host_config.h:119:2: error: #error -- unsupported GNU version! gcc versions later than 5 are not supported!
 #error -- unsupported GNU version! gcc versions later than 5 are not supported!
  ^~~~~
In file included from /usr/local/cuda/include/cuda_runtime.h:78:0,
                 from <command-line>:0:
/usr/local/cuda/include/host_config.h:119:2: error: #error -- unsupported GNU version! gcc versions later than 5 are not supported!
 #error -- unsupported GNU version! gcc versions later than 5 are not supported!
  ^~~~~
nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
In file included from /usr/local/cuda/include/cuda_runtime.h:78:0,
                 from <command-line>:0:
/usr/local/cuda/include/host_config.h:119:2: error: #error -- unsupported GNU version! gcc versions later than 5 are not supported!
 #error -- unsupported GNU version! gcc versions later than 5 are not supported!
  ^~~~~
In file included from /usr/local/cuda/include/cuda_runtime.h:78:0,
                 from <command-line>:0:
/usr/local/cuda/include/host_config.h:119:2: error: #error -- unsupported GNU version! gcc versions later than 5 are not supported!
 #error -- unsupported GNU version! gcc versions later than 5 are not supported!
  ^~~~~
CMake Error at THC_generated_THCBlas.cu.o.cmake:207 (message):
  Error generating
  /home/thijs/torch-cl/extra/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCBlas.cu.o


lib/THC/CMakeFiles/THC.dir/build.make:66: recipe for target 'lib/THC/CMakeFiles/THC.dir/THC_generated_THCBlas.cu.o' failed
make[2]: *** [lib/THC/CMakeFiles/THC.dir/THC_generated_THCBlas.cu.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMake Error at THC_generated_THCReduceApplyUtils.cu.o.cmake:207 (message):
  Error generating
  /home/thijs/torch-cl/extra/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCReduceApplyUtils.cu.o


lib/THC/CMakeFiles/THC.dir/build.make:61: recipe for target 'lib/THC/CMakeFiles/THC.dir/THC_generated_THCReduceApplyUtils.cu.o' failed
make[2]: *** [lib/THC/CMakeFiles/THC.dir/THC_generated_THCReduceApplyUtils.cu.o] Error 1
CMake Error at THC_generated_THCStorageCopy.cu.o.cmake:207 (message):
  Error generating
  /home/thijs/torch-cl/extra/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCStorageCopy.cu.o


lib/THC/CMakeFiles/THC.dir/build.make:76: recipe for target 'lib/THC/CMakeFiles/THC.dir/THC_generated_THCStorageCopy.cu.o' failed
make[2]: *** [lib/THC/CMakeFiles/THC.dir/THC_generated_THCStorageCopy.cu.o] Error 1
CMake Error at THC_generated_THCTensor.cu.o.cmake:207 (message):
  Error generating
  /home/thijs/torch-cl/extra/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCTensor.cu.o


CMake Error at THC_generated_THCTensorCopy.cu.o.cmake:207 (message):
  Error generating
  /home/thijs/torch-cl/extra/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCTensorCopy.cu.o


lib/THC/CMakeFiles/THC.dir/build.make:81: recipe for target 'lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensor.cu.o' failed
make[2]: *** [lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensor.cu.o] Error 1
lib/THC/CMakeFiles/THC.dir/build.make:86: recipe for target 'lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorCopy.cu.o' failed
make[2]: *** [lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorCopy.cu.o] Error 1
CMake Error at THC_generated_THCTensorMath.cu.o.cmake:207 (message):
  Error generating
  /home/thijs/torch-cl/extra/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCTensorMath.cu.o


lib/THC/CMakeFiles/THC.dir/build.make:91: recipe for target 'lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMath.cu.o' failed
make[2]: *** [lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorMath.cu.o] Error 1
CMake Error at THC_generated_THCStorage.cu.o.cmake:207 (message):
  Error generating
  /home/thijs/torch-cl/extra/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCStorage.cu.o


lib/THC/CMakeFiles/THC.dir/build.make:71: recipe for target 'lib/THC/CMakeFiles/THC.dir/THC_generated_THCStorage.cu.o' failed
make[2]: *** [lib/THC/CMakeFiles/THC.dir/THC_generated_THCStorage.cu.o] Error 1
CMake Error at THC_generated_THCTensorTopK.cu.o.cmake:207 (message):
  Error generating
  /home/thijs/torch-cl/extra/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCTensorTopK.cu.o


lib/THC/CMakeFiles/THC.dir/build.make:176: recipe for target 'lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorTopK.cu.o' failed
make[2]: *** [lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorTopK.cu.o] Error 1
CMakeFiles/Makefile2:172: recipe for target 'lib/THC/CMakeFiles/THC.dir/all' failed
make[1]: *** [lib/THC/CMakeFiles/THC.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

Error: Build error: Failed building.

Note thatlibpng16-16 libpng-dev libpng-tools are already installed.

@RobCranfill
Copy link

Sorry if "me too" comments are un-cool, but I too have this issue under "Ubuntu Studio", which is 16.10-based.

@hughperkins
Copy link
Owner

"Me too"s are fine :-) I'm still running 16.04 personally, and will probably run it until 18.04 comes out. What happens if you type 'sudo apt-get install libpng', and then press the 'tab' key? does it come up with some newer version of libpng?

@RobCranfill
Copy link

RobCranfill commented Apr 6, 2017 via email

@hughperkins
Copy link
Owner

Yeah, I would try either or both of those.

@RobCranfill
Copy link

RobCranfill commented Apr 7, 2017 via email

@hughperkins
Copy link
Owner

Ah, I didnt read the errors very carefully. The errors are unrelated to libpng.

For the gcc errors, it means you have an older version of CUDA toolkit. You need at least 8.0 patch 1 to build using gcc 5. But cltorch itself doesnt need CUDA toolkit at all: this is because it's trying to build cuda torch, since it detected you have the cuda toolkit intsllaed. You can probably try removing cuda toolkit from your PATH, and/or renaming /usr/local/cuda to eg /usr/local/cuda_hidden. Or modify install.sh to not install cuda torch. Or upgrade your cuda toolkit to at least 8.0 patch 1.

(I guess modifying install.sh to not install cuda torch might be the easiest? lines 142, 143,119,120,121)

@RobCranfill
Copy link

RobCranfill commented Apr 7, 2017 via email

@hughperkins
Copy link
Owner

ah yeah, please try replacing libpng12-dev with eg libpng-dev ,in the script.

@RobCranfill
Copy link

RobCranfill commented Apr 8, 2017 via email

@StoneCypher
Copy link

this may be resolved with the merge of #45

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

4 participants