【发布时间】:2017-06-10 16:23:51
【问题描述】:
我正在尝试为 Torch 安装 cunn,但 make install 失败。 Cuda 是 7.5.27,因为 8 不再支持 OSX 10.10。
我一直在尝试调试它一段时间,但我已经没有东西可以尝试了。
在搜索解决方案时,我发现很少有人遇到类似问题(https://github.com/TRIQS/cthyb/issues/8、https://github.com/jcjohnson/neural-style/issues/134),但没有找到任何可以解决此问题的解决方案。这似乎是一个与 OSX/Xcode 相关的普遍问题,不一定是 cunn。
非常感谢所有帮助。
$ luarocks install cunn
...
...
-- Installing: /Users/foo/torch/install/lib/luarocks/rocks/cunn/scm-1/lib/libTHCUNN.so
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: for:
/Users/foo/torch/install/lib/luarocks/rocks/cunn/scm-1/lib/libTHCUNN.so (for architecture x86_64) option "-add_rpath /usr/local/cuda/lib"
would duplicate path, file already has LC_RPATH for: /usr/local/cuda/lib
【问题讨论】:
标签: torch