error of loading torch after install

19 views
Skip to first unread message

Yao Lu

unread,
Aug 17, 2017, 5:44:25 AM8/17/17
to torch7
Hi,

After I installed a local Torch on a server, I typed
th -ltorch
and got
could not load torch, skipping
/home/lu033/torch/install/share/lua/5.1/torch/init.lua:13: cannot load '/home/lu033/torch/install/lib/lua/5.1/libtorch.so'
stack traceback:
[C]: in function 'require'
/home/lu033/torch/install/share/lua/5.1/torch/init.lua:13: in main chunk
[C]: in function 'require'
...u033/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:48: in function <...u033/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:48>
[C]: in function 'xpcall'
...u033/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:48: in main chunk
[C]: at 0x00406800


Then I typed
luajit -llibtorch
and got
luajit: error loading module 'libtorch' from file '/home/lu033/torch/install/lib/lua/5.1/libtorch.so':
/home/lu033/torch/install/lib/libTH.so.0: undefined symbol: THDoubleVector_cadd_AVX2
stack traceback:
[C]: at 0x0047d060
[C]: at 0x0046d960
[C]: at 0x00406800

What is wrong here? How should I fix it?

Yao
Reply all
Reply to author
Forward
0 new messages