{"action":"created","issue":{"url":"https://api.github.com/repos/numba/numba/issues/2451","repository_url":"https://api.github.com/repos/numba/numba","labels_url":"https://api.github.com/repos/numba/numba/issues/2451/labels{/name}","comments_url":"https://api.github.com/repos/numba/numba/issues/2451/comments","events_url":"https://api.github.com/repos/numba/numba/issues/2451/events","html_url":"https://github.com/numba/numba/issues/2451","id":240888694,"number":2451,"title":"test case failure ( segmentation fault ) in ppc64le","user":{"login":"ghatwala","id":14157728,"avatar_url":"https://avatars1.githubusercontent.com/u/14157728?v=4","gravatar_id":"","url":"https://api.github.com/users/ghatwala","html_url":"https://github.com/ghatwala","followers_url":"https://api.github.com/users/ghatwala/followers","following_url":"https://api.github.com/users/ghatwala/following{/other_user}","gists_url":"https://api.github.com/users/ghatwala/gists{/gist_id}","starred_url":"https://api.github.com/users/ghatwala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghatwala/subscriptions","organizations_url":"https://api.github.com/users/ghatwala/orgs","repos_url":"https://api.github.com/users/ghatwala/repos","events_url":"https://api.github.com/users/ghatwala/events{/privacy}","received_events_url":"https://api.github.com/users/ghatwala/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":114,"created_at":"2017-07-06T08:58:43Z","updated_at":"2018-04-09T12:59:01Z","closed_at":null,"author_association":"NONE","body":"Hi All,\r\n\r\nI was trying to build numba on ubuntu/ppc64le. I have installed the required dependencies - llvmlite, numpy, funcsigs\r\n\r\nMachine + other details.\r\n```\r\n# arch\r\nppc64le\r\n\r\n# cat /etc/os-release\r\nNAME=\"Ubuntu\"\r\n\r\n# llvm-config --version\r\n4.0.1\r\n\r\n# ls -l /usr/local/lib/python2.7/dist-packages/ | grep llvmlite\r\ndrwxr-sr-x  6 root staff  4096 Jul  5 15:53 llvmlite\r\ndrwxr-sr-x  2 root staff  4096 Jul  5 15:39 llvmlite-0.16.0+0.g964cf1d.dirty.egg-info\r\ndrwxr-sr-x  2 root staff  4096 Jul  5 15:53 llvmlite-0.19.0.dev0+22.g6ac74c8.egg-info\r\n\r\n# ls -l /usr/local/lib/python2.7/dist-packages/ | grep numpy\r\ndrwxr-sr-x 16 root staff  4096 Jul  5 14:59 numpy\r\ndrwxr-sr-x  2 root staff  4096 Jul  5 14:59 numpy-1.13.0.dist-info\r\n\r\n# ls -l /usr/local/lib/python2.7/dist-packages/ | grep funcsigs\r\ndrwxr-sr-x  4 root staff  4096 Jul  5 15:31 funcsigs-1.0.2-py2.7.egg\r\n\r\n```\r\n1) Now facing below issue whilst building \"numba\"\r\n```\r\n# pip install -r requirements.txt\r\nRequirement already satisfied: numpy>=1.7 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 1))\r\nCollecting llvmlite>=0.19 (from -r requirements.txt (line 3))\r\n  Could not find a version that satisfies the requirement llvmlite>=0.19 (from -r requirements.txt (line 3)) (from versions: 0.2.0, 0.2.1, 0.2.2, 0.4.0, 0.5.0, 0.6.0, 0.7.0, 0.8.0, 0.9.0, 0.10.0, 0.11.0, 0.12.0.1, 0.12.1, 0.13.0, 0.14.0, 0.15.0, 0.16.0, 0.17.0, 0.17.1, 0.18.0)\r\nNo matching distribution found for llvmlite>=0.19 (from -r requirements.txt (line 3))\r\n\r\n```\r\nThereafter did the below change to ensure we check for correct llvm version tag in \"requirements.txt\"\r\n```\r\nllvmlite>=v0.19.0.dev\r\n\r\n```\r\nGuess the above changed is needed till it changes from 0.19.0.dev --> 0.19.0  as seen here : https://github.com/numba/llvmlite/tags\r\n\r\n2 ) After above change , was able to successfully run the next build steps - \r\n```\r\n$ python setup.py build_ext --inplace\r\n$ python setup.py install\r\n```\r\nAlso numba does gets installed too as seen below\r\n\r\n```\r\n# ls -l /usr/local/lib/python2.7/dist-packages/ | grep numba\r\ndrwxr-sr-x  4 root staff  4096 Jul  6 14:24 numba-0.34.0rc1+0.g11ae5f1.dirty-py2.7-linux-ppc64le.egg\r\ndrwxr-sr-x  4 root staff  4096 Jul  5 15:31 numba-0.34.0rc1-py2.7-linux-ppc64le.egg\r\n\r\n```\r\nHowever when i am trying to run the test cases for numba , getting segmentation fault\r\n```\r\na# python runtests.py -v\r\nskipped CUDA tests\r\nskipped CUDA tests\r\ntest_gufunc (numba.tests.npyufunc.test_gufunc.TestGUFunc) ... ok\r\ntest_guvectorize_decor (numba.tests.npyufunc.test_gufunc.TestGUFunc) ... ok\r\ntest_ufunc_like (numba.tests.npyufunc.test_gufunc.TestGUFunc) ... ok\r\ntest_gufunc (numba.tests.npyufunc.test_gufunc.TestGUFuncParallel) ... ok\r\ntest_guvectorize_decor (numba.tests.npyufunc.test_gufunc.TestGUFuncParallel) ... ok\r\ntest_ufunc_like (numba.tests.npyufunc.test_gufunc.TestGUFuncParallel) ... ok\r\ntest_ndim_mismatch (numba.tests.npyufunc.test_gufunc.TestGUVectorizeScalar) ... ok\r\ntest_scalar_input (numba.tests.npyufunc.test_gufunc.TestGUVectorizeScalar) ... ok\r\ntest_scalar_input_core_type (numba.tests.npyufunc.test_gufunc.TestGUVectorizeScalar) ... ok\r\ntest_scalar_input_core_type_error (numba.tests.npyufunc.test_gufunc.TestGUVectorizeScalar) ... ok\r\ntest_scalar_output (numba.tests.npyufunc.test_gufunc.TestGUVectorizeScalar) ... ok\r\ntest_ndim_mismatch (numba.tests.npyufunc.test_gufunc.TestGUVectorizeScalarParallel) ... ok\r\ntest_scalar_input (numba.tests.npyufunc.test_gufunc.TestGUVectorizeScalarParallel) ... ok\r\ntest_scalar_input_core_type (numba.tests.npyufunc.test_gufunc.TestGUVectorizeScalarParallel) ... ok\r\ntest_scalar_input_core_type_error (numba.tests.npyufunc.test_gufunc.TestGUVectorizeScalarParallel) ... ok\r\ntest_scalar_output (numba.tests.npyufunc.test_gufunc.TestGUVectorizeScalarParallel) ... ok\r\ntest_gil_reacquire_deadlock (numba.tests.npyufunc.test_parallel_ufunc_issues.TestParGUfuncIssues) ... Segmentation fault\r\n\r\n```\r\n \r\nAny pointers/inputs to resolve the test case failure and if change done in \"requirements.txt\" is correct ?\r\n"},"comment":{"url":"https://api.github.com/repos/numba/numba/issues/comments/379742894","html_url":"https://github.com/numba/numba/issues/2451#issuecomment-379742894","issue_url":"https://api.github.com/repos/numba/numba/issues/2451","id":379742894,"user":{"login":"edelsohn","id":667700,"avatar_url":"https://avatars1.githubusercontent.com/u/667700?v=4","gravatar_id":"","url":"https://api.github.com/users/edelsohn","html_url":"https://github.com/edelsohn","followers_url":"https://api.github.com/users/edelsohn/followers","following_url":"https://api.github.com/users/edelsohn/following{/other_user}","gists_url":"https://api.github.com/users/edelsohn/gists{/gist_id}","starred_url":"https://api.github.com/users/edelsohn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edelsohn/subscriptions","organizations_url":"https://api.github.com/users/edelsohn/orgs","repos_url":"https://api.github.com/users/edelsohn/repos","events_url":"https://api.github.com/users/edelsohn/events{/privacy}","received_events_url":"https://api.github.com/users/edelsohn/received_events","type":"User","site_admin":false},"created_at":"2018-04-09T12:59:01Z","updated_at":"2018-04-09T12:59:01Z","author_association":"NONE","body":"@obilaniu Great. You now may declare victory."}}
{"actor":{"display_login":"edelsohn"}}