{"action":"created","issue":{"url":"https://api.github.com/repos/arrayfire/arrayfire-python/issues/183","repository_url":"https://api.github.com/repos/arrayfire/arrayfire-python","labels_url":"https://api.github.com/repos/arrayfire/arrayfire-python/issues/183/labels{/name}","comments_url":"https://api.github.com/repos/arrayfire/arrayfire-python/issues/183/comments","events_url":"https://api.github.com/repos/arrayfire/arrayfire-python/issues/183/events","html_url":"https://github.com/arrayfire/arrayfire-python/issues/183","id":328809262,"node_id":"MDU6SXNzdWUzMjg4MDkyNjI=","number":183,"title":"jupyter notebook jit problem with af.gaussian_kernel()","user":{"login":"matkraj","id":32445707,"node_id":"MDQ6VXNlcjMyNDQ1NzA3","avatar_url":"https://avatars1.githubusercontent.com/u/32445707?v=4","gravatar_id":"","url":"https://api.github.com/users/matkraj","html_url":"https://github.com/matkraj","followers_url":"https://api.github.com/users/matkraj/followers","following_url":"https://api.github.com/users/matkraj/following{/other_user}","gists_url":"https://api.github.com/users/matkraj/gists{/gist_id}","starred_url":"https://api.github.com/users/matkraj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matkraj/subscriptions","organizations_url":"https://api.github.com/users/matkraj/orgs","repos_url":"https://api.github.com/users/matkraj/repos","events_url":"https://api.github.com/users/matkraj/events{/privacy}","received_events_url":"https://api.github.com/users/matkraj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-06-03T08:12:07Z","updated_at":"2018-06-04T07:58:53Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Hi, after updating to the latest arrayfire jupyter notebook seems to have a problem with `af.gaussian_kernel()` function. Standard `ipython` works without a problem but in notebook the call ends up with:\r\n\r\n```\r\nRuntimeError                          Traceback (most recent call last)\r\n<ipython-input-3-e9e47878ee5a> in <module>()\r\n----> 1 lala = af.gaussian_kernel(128,128,5,5)\r\n\r\n~/anaconda3/lib/python3.6/site-packages/arrayfire/image.py in gaussian_kernel(rows, cols, sigma_r, sigma_c)\r\n    778     safe_call(backend.get().af_gaussian_kernel(c_pointer(out.arr),\r\n    779                                                c_int_t(rows), c_int_t(cols),\r\n--> 780                                                c_double_t(sigma_r), c_double_t(sigma_c)))\r\n    781     return out\r\n    782 \r\n\r\n~/anaconda3/lib/python3.6/site-packages/arrayfire/util.py in safe_call(af_error)\r\n     77         err_len = c_dim_t(0)\r\n     78         backend.get().af_get_last_error(c_pointer(err_str), c_pointer(err_len))\r\n---> 79         raise RuntimeError(to_str(err_str))\r\n     80 \r\n     81 def get_version():\r\n\r\nRuntimeError: In function std::vector<char> cuda::compileToPTX(const char*, std::string)\r\nIn file src/backend/cuda/jit.cpp:\r\n```\r\nI tried complete reinstall of python, cleaned any personal settings in .local .bashrc .config and installed completely new anaconda. Still whatever I do I cant get it to run\r\n\r\nNOTE:  `af.constant()` function works without problem\r\nSYSTEM: ubuntu 17.10; CUDA 9-2; arrayfire v3.6 binary; arrayfire-python git master "},"comment":{"url":"https://api.github.com/repos/arrayfire/arrayfire-python/issues/comments/394267163","html_url":"https://github.com/arrayfire/arrayfire-python/issues/183#issuecomment-394267163","issue_url":"https://api.github.com/repos/arrayfire/arrayfire-python/issues/183","id":394267163,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDI2NzE2Mw==","user":{"login":"matkraj","id":32445707,"node_id":"MDQ6VXNlcjMyNDQ1NzA3","avatar_url":"https://avatars1.githubusercontent.com/u/32445707?v=4","gravatar_id":"","url":"https://api.github.com/users/matkraj","html_url":"https://github.com/matkraj","followers_url":"https://api.github.com/users/matkraj/followers","following_url":"https://api.github.com/users/matkraj/following{/other_user}","gists_url":"https://api.github.com/users/matkraj/gists{/gist_id}","starred_url":"https://api.github.com/users/matkraj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matkraj/subscriptions","organizations_url":"https://api.github.com/users/matkraj/orgs","repos_url":"https://api.github.com/users/matkraj/repos","events_url":"https://api.github.com/users/matkraj/events{/privacy}","received_events_url":"https://api.github.com/users/matkraj/received_events","type":"User","site_admin":false},"created_at":"2018-06-04T07:58:53Z","updated_at":"2018-06-04T07:58:53Z","author_association":"CONTRIBUTOR","body":"Problem still there, fresh ubuntu 18.04, CUDA 9.1, binary af v3.6, python from ubuntu repo, arrayfire-python git-master\r\n\r\n**os.environ** diff:\r\n\r\n- ipython3\r\n`'_': '/usr/bin/python3'`\r\n\r\n- jupyter-notebook\r\n`'_': '/usr/bin/jupyter-notebook', 'JPY_PARENT_PID': '20126', 'CLICOLOR': '1', 'PAGER': 'cat', 'GIT_PAGER': 'cat', 'MPLBACKEND': 'module://ipykernel.pylab.backend_inline'`\r\n\r\n**sys.path** diff:\r\n- jupyter-notebook\r\n`'/usr/lib/python3/dist-packages/IPython/extensions', \r\n'/home/mk/.ipython'`\r\n\r\n**sys.executable** is the same"}}
{"actor":{"display_login":"matkraj"}}