{"action":"created","issue":{"url":"https://api.github.com/repos/JPaulMora/Pyrit/issues/479","labels_url":"https://api.github.com/repos/JPaulMora/Pyrit/issues/479/labels{/name}","comments_url":"https://api.github.com/repos/JPaulMora/Pyrit/issues/479/comments","events_url":"https://api.github.com/repos/JPaulMora/Pyrit/issues/479/events","html_url":"https://github.com/JPaulMora/Pyrit/issues/479","id":115201559,"number":479,"title":"Pyrit 0.5.0 CUDA. error for CUDA module.","user":{"login":"xflyboy","id":15664126,"avatar_url":"https://avatars.githubusercontent.com/u/15664126?v=3","gravatar_id":"","url":"https://api.github.com/users/xflyboy","html_url":"https://github.com/xflyboy","followers_url":"https://api.github.com/users/xflyboy/followers","following_url":"https://api.github.com/users/xflyboy/following{/other_user}","gists_url":"https://api.github.com/users/xflyboy/gists{/gist_id}","starred_url":"https://api.github.com/users/xflyboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xflyboy/subscriptions","organizations_url":"https://api.github.com/users/xflyboy/orgs","repos_url":"https://api.github.com/users/xflyboy/repos","events_url":"https://api.github.com/users/xflyboy/events{/privacy}","received_events_url":"https://api.github.com/users/xflyboy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-05T03:27:11Z","updated_at":"2015-11-08T03:25:16Z","closed_at":null,"body":"Hello.\r\nI have NVIDIA-Linux-x86_64-340.93.run and cuda_7.5.18_linux.run installed on KALI 2\r\nLinux SSD-PC 4.0.0-kali1-amd64 #1 SMP Debian 4.0.4-1+kali2 (2015-06-03) x86_64 GNU/Linux\r\n\r\nroot@SSD-PC:~/Downloads# nvcc -V\r\nnvcc: NVIDIA (R) Cuda compiler driver\r\nCopyright (c) 2005-2015 NVIDIA Corporation\r\nBuilt on Tue_Aug_11_14:27:32_CDT_2015\r\nCuda compilation tools, release 7.5, V7.5.17\r\n\r\nInstalled Pyrit 0.5.0 from GIT.\r\nPyrit was able to list all CPU cores, perform benchmark on all cores.\r\nThen enabled use_CUDA = true in ~/.pyrit/config\r\nand installed cpyrit-cuda.\r\nNow not able to use pyrit due to following error:\r\n\r\nroot@SSD-PC:~/Downloads# pyrit list_cores\r\nPyrit 0.5.0 (C) 2008-2011 Lukas Lueg - 2015 John Mora\r\nhttps://github.com/JPaulMora/Pyrit\r\nThis code is distributed under the GNU General Public License v3+\r\n\r\nTraceback (most recent call last):\r\n  File \"/usr/local/bin/pyrit\", line 6, in <module>\r\n    pyrit_cli.Pyrit_CLI().initFromArgv()\r\n  File \"/usr/local/lib/python2.7/dist-packages/pyrit_cli.py\", line 118, in initFromArgv\r\n    func(self, **options)\r\n  File \"/usr/local/lib/python2.7/dist-packages/pyrit_cli.py\", line 295, in list_cores\r\n    with cpyrit.cpyrit.CPyrit() as cp:\r\n  File \"/usr/local/lib/python2.7/dist-packages/cpyrit/cpyrit.py\", line 442, in __init__\r\n    CUDA =  cpyrit_cuda.listDevices()\r\nNameError: global name 'cpyrit_cuda' is not defined\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/JPaulMora/Pyrit/issues/comments/154773422","html_url":"https://github.com/JPaulMora/Pyrit/issues/479#issuecomment-154773422","issue_url":"https://api.github.com/repos/JPaulMora/Pyrit/issues/479","id":154773422,"user":{"login":"JPaulMora","id":8335656,"avatar_url":"https://avatars.githubusercontent.com/u/8335656?v=3","gravatar_id":"","url":"https://api.github.com/users/JPaulMora","html_url":"https://github.com/JPaulMora","followers_url":"https://api.github.com/users/JPaulMora/followers","following_url":"https://api.github.com/users/JPaulMora/following{/other_user}","gists_url":"https://api.github.com/users/JPaulMora/gists{/gist_id}","starred_url":"https://api.github.com/users/JPaulMora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JPaulMora/subscriptions","organizations_url":"https://api.github.com/users/JPaulMora/orgs","repos_url":"https://api.github.com/users/JPaulMora/repos","events_url":"https://api.github.com/users/JPaulMora/events{/privacy}","received_events_url":"https://api.github.com/users/JPaulMora/received_events","type":"User","site_admin":false},"created_at":"2015-11-08T03:25:16Z","updated_at":"2015-11-08T03:25:16Z","body":"Sorry to hear about your CUDA issues, I have personally had some problems too since my primary dev platform has been OS X and CUDA 7.5 doesn't support the Xcode v7 version of clang. As an alternative, id suggest you use the openCL module since it is newer code and thus provides better performance, specially on newer cards like yours. Please feel free to post any recommendation or important info."}}