{"action":"created","issue":{"url":"https://api.github.com/repos/torch/cutorch/issues/479","repository_url":"https://api.github.com/repos/torch/cutorch","labels_url":"https://api.github.com/repos/torch/cutorch/issues/479/labels{/name}","comments_url":"https://api.github.com/repos/torch/cutorch/issues/479/comments","events_url":"https://api.github.com/repos/torch/cutorch/issues/479/events","html_url":"https://github.com/torch/cutorch/issues/479","id":172533475,"number":479,"title":"Cutorch fails to load","user":{"login":"fagg","id":1742468,"avatar_url":"https://avatars.githubusercontent.com/u/1742468?v=3","gravatar_id":"","url":"https://api.github.com/users/fagg","html_url":"https://github.com/fagg","followers_url":"https://api.github.com/users/fagg/followers","following_url":"https://api.github.com/users/fagg/following{/other_user}","gists_url":"https://api.github.com/users/fagg/gists{/gist_id}","starred_url":"https://api.github.com/users/fagg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fagg/subscriptions","organizations_url":"https://api.github.com/users/fagg/orgs","repos_url":"https://api.github.com/users/fagg/repos","events_url":"https://api.github.com/users/fagg/events{/privacy}","received_events_url":"https://api.github.com/users/fagg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-08-22T19:25:52Z","updated_at":"2016-08-22T22:58:25Z","closed_at":null,"body":"I have reinstalled Cutorch on my Mac after installing MAGMA. Everything builds fine, however when I try to actually use cutorch, I get the following error:\r\n\r\nth> require 'cutorch'\r\n/Users/fagg/torch/install/share/lua/5.1/trepl/init.lua:384: /Users/fagg/torch/install/share/lua/5.1/cutorch/init.lua:2: cannot load '/Users/fagg/torch/install/lib/lua/5.1/libcutorch.so'\r\nstack traceback:\r\n\t[C]: in function 'error'\r\n\t/Users/fagg/torch/install/share/lua/5.1/trepl/init.lua:384: in function 'require'\r\n\t[string \"_RESULT={require 'cutorch'}\"]:1: in main chunk\r\n\t[C]: in function 'xpcall'\r\n\t/Users/fagg/torch/install/share/lua/5.1/trepl/init.lua:652: in function 'repl'\r\n\t...fagg/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:199: in main chunk\r\n\t[C]: at 0x010bb23d10\t\r\n\r\n\r\nThe library, it seems, is present:\r\n\r\n[fagg@battlebook:~]\r\n$ file torch/install/lib/lua/5.1/libcutorch.so\r\ntorch/install/lib/lua/5.1/libcutorch.so: Mach-O 64-bit bundle x86_64\r\n\r\n\r\nCan anyone suggest anything to try? I have already completely reinstalled Torch (rm -rf ~/torch and reinstalled everything) and also made sure my CUDA drivers and tool kit are up to date.\r\n\r\nI am running OSX 10.11.6.\r\n"},"comment":{"url":"https://api.github.com/repos/torch/cutorch/issues/comments/241576657","html_url":"https://github.com/torch/cutorch/issues/479#issuecomment-241576657","issue_url":"https://api.github.com/repos/torch/cutorch/issues/479","id":241576657,"user":{"login":"soumith","id":1310570,"avatar_url":"https://avatars.githubusercontent.com/u/1310570?v=3","gravatar_id":"","url":"https://api.github.com/users/soumith","html_url":"https://github.com/soumith","followers_url":"https://api.github.com/users/soumith/followers","following_url":"https://api.github.com/users/soumith/following{/other_user}","gists_url":"https://api.github.com/users/soumith/gists{/gist_id}","starred_url":"https://api.github.com/users/soumith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soumith/subscriptions","organizations_url":"https://api.github.com/users/soumith/orgs","repos_url":"https://api.github.com/users/soumith/repos","events_url":"https://api.github.com/users/soumith/events{/privacy}","received_events_url":"https://api.github.com/users/soumith/received_events","type":"User","site_admin":false},"created_at":"2016-08-22T22:58:25Z","updated_at":"2016-08-22T22:58:25Z","body":"So, your this error:\r\n\r\n> $ luajit -llibcutorch\r\nluajit: Torch internal problem: cannot find metatable for type <torch.Allocator>\r\n\r\nThat is expected."}}
{"actor":{"display_login":"soumith"}}