Closed fabioperez closed 8 years ago
you likely had install errors on parallel.
luarocks install parallel
will show you the issues.
When installing parallel, I got this:
$ luarocks install parallel
Installing https://raw.githubusercontent.com/torch/rocks/master/parallel-1.1-0.rockspec...
Using https://raw.githubusercontent.com/torch/rocks/master/parallel-1.1-0.rockspec... switching to 'build' mode
Cloning into 'lua---parallel'...
remote: Counting objects: 18, done.
remote: Compressing objects: 100% (16/16), done.
remote: Total 18 (delta 1), reused 7 (delta 0), pack-reused 0
Unpacking objects: 100% (18/18), done.
Checking connectivity... done.
cmake -E make_directory build;
cd build;
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/usr/local/bin/.." -DCMAKE_INSTALL_PREFIX="/usr/local/lib/luarocks/rocks/parallel/1.1-0";
make
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found Torch7 in /usr/local
-- ** WARNING no ZMQ_ROOT setting to $HOME/local
-- ** you can set the correct ZMQ_ROOT in your environment
-- ** eg. bash: export ZMQ_ROOT=<somewhere>/local
-- Searching for libzmq in : /root/local/lib
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:
ZMQ_INCLUDE_DIR
used as include directory in directory /tmp/luarocks_parallel-1.1-0-6067/lua---parallel
used as include directory in directory /tmp/luarocks_parallel-1.1-0-6067/lua---parallel
ZMQ_LIBRARY
linked by target "luazmq" in directory /tmp/luarocks_parallel-1.1-0-6067/lua---parallel
-- Configuring incomplete, errors occurred!
See also "/tmp/luarocks_parallel-1.1-0-6067/lua---parallel/build/CMakeFiles/CMakeOutput.log".
make: *** No targets specified and no makefile found. Stop.
Error: Build error: Failed building.
I don't know if this is still in use, but
th -lparallel
gives: