i'm trying install torch 7 on win7 system run rnn, , it's insane. installed on ubuntu vm, can't access gpu cuda acceleration, either try experimental pci passthrough software, or try torch on windows. i've managed install lua , luarocks far (but can't run anywhere c:\program files (x86)\luarocks\2.2 path). i've installed mingw , cmake. tried installing torch using following command:
luarocks --server=https://raw.githubusercontent.com/torch/rocks/master install torch (source: installing torch7 luarocks on windows mingw build error)
but get:
missing dependencies torch: paths >= 1.0 using https://raw.githubusercontent.com/torch/rocks/master/paths-scm-1.rocksp cloning 'paths'... remote: counting objects: 10, done. remote: compressing objects: 100% (9/9), done. remote: total 10 (delta 0), reused 5 (delta 0), pack-reused 0 receiving objects: 100% (10/10), 12.81 kib | 0 bytes/s, done. checking connectivity... done. cmake -e make_directory build && cd build && cmake .. -dcmake_build_type=rele gram files (x86)/lua/5.3/include/" -dlua_libdir="c:/program files (x86)/lua/5 uarocks\systree/lib/luarocks/rocks/paths/scm-1/lua" -dlibdir="c:\program file /paths/scm-1/lib" -dcmake_install_prefix="c:\program files (x86)\luarocks\sys gw32-make -- building for: nmake makefiles cmake warning in : use nmake generator, cmake must run shell can use compiler cl command line. environment not contain include, lib, or libpath, , these must set cl compiler work. -- c compiler identification unknown -- cxx compiler identification unknown cmake error in : cmake_c_compiler: cl not full path , not found in path. tell cmake find compiler setting either environment variable "cc" or cmake cache entry cmake_c_compiler full path compiler, or compiler name if in path. cmake error in : cmake_cxx_compiler: cl not full path , not found in path. tell cmake find compiler setting either environment variable "cxx" or cmake cache entry cmake_cxx_compiler full path compiler, or compiler name if in path. i don't know cl compiler is, or if have on system. regarding path variable, it's apparently user variable, not system 1 (i don't have system path variable). don't know if that's problem. looks this:
c:\users\username\appdata\roaming\npm;c:\mingw\bin;c:\program files (x86)\lua\5.3\bin;c\program files (x86)\luarocks\2.2;c:\users\username\appdata\roaming\luarocks\bin;c:\program files (x86)\luarocks\systree\bin i have no clue if that's correct, if it's meant let me run lua or luarocks outside respective bin directories, fails @ that. if has easier way of installing torch on windows, please let me know (or heck, way of enabling gpu acceleration in vm. out of stuck situation).
cl command line compiler visual studio. cmake looking default settings use it. use mingw have, need provide additional option (as described here), i'm not sure how pass luarocks command line directly.
you may try follow steps in answer linked; there details in torch7 ticket referenced. in short, steps involve:
- clone, compile , install torch/paths;
- clone, compile , install torch/cwrap;
- clone, compile , install torch/torch; make sure grab latest code includes changes submitted mingw compilation.
- clone, compile , install torch/nn. see discussion in this ticket 1 change may need apply.
the ticket provides specific commands can run compile command line.
Comments
Post a Comment