error calling cuda on Mac 10.11.6 with cuda 8

62 views
Skip to first unread message

YuenK

unread,
Apr 23, 2017, 5:37:57 AM4/23/17
to torch7
I was trying to install Torch 7 on my 2013 MacBook Pro running OS 10.11.6, following the instructions on torch.ch.

I successfully installed everything without error, but when I launched an interactive session and tried to execute

a = a:cuda()

I got the following error message:

THCudaCheck FAIL file=/Users/multimedia/torch/extra/cutorch/lib/THC/generic/THCStorage.cu line=66 error=63 : OS call failed or operation not supported on this OS
...ultimedia/torch/install/share/lua/5.1/cutorch/Tensor.lua:14: cuda runtime error (63) : OS call failed or operation not supported on this OS at /Users/multimedia/torch/extra/cutorch/lib/THC/generic/THCStorage.cu:66
stack traceback:
[C]: in function 'resize'
...ultimedia/torch/install/share/lua/5.1/cutorch/Tensor.lua:14: in function 'cuda'
[string "a=a:cuda()"]:1: in main chunk
[C]: in function 'xpcall'
...rs/multimedia/torch/install/share/lua/5.1/trepl/init.lua:679: in function 'repl'
...edia/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:204: in main chunk
[C]: at 0x010c5b1d00

I tried removing torch and reinstalling everything from scratch even reinstalling CUDA 8 to no avail. Does anyone have any idea what's going on here?

lei xiang

unread,
May 8, 2017, 11:05:14 AM5/8/17
to torch7
I run into the same error. Do you have fixed it?

在 2017年4月23日星期日 UTC-4上午5:37:57,YuenK写道:
Reply all
Reply to author
Forward
0 new messages