{"action":"created","issue":{"url":"https://api.github.com/repos/xianyi/OpenBLAS/issues/603","labels_url":"https://api.github.com/repos/xianyi/OpenBLAS/issues/603/labels{/name}","comments_url":"https://api.github.com/repos/xianyi/OpenBLAS/issues/603/comments","events_url":"https://api.github.com/repos/xianyi/OpenBLAS/issues/603/events","html_url":"https://github.com/xianyi/OpenBLAS/issues/603","id":94490280,"number":603,"title":"Segfault in sgesdd under Windows with the Barcelona architecture","user":{"login":"ogrisel","id":89061,"avatar_url":"https://avatars.githubusercontent.com/u/89061?v=3","gravatar_id":"","url":"https://api.github.com/users/ogrisel","html_url":"https://github.com/ogrisel","followers_url":"https://api.github.com/users/ogrisel/followers","following_url":"https://api.github.com/users/ogrisel/following{/other_user}","gists_url":"https://api.github.com/users/ogrisel/gists{/gist_id}","starred_url":"https://api.github.com/users/ogrisel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ogrisel/subscriptions","organizations_url":"https://api.github.com/users/ogrisel/orgs","repos_url":"https://api.github.com/users/ogrisel/repos","events_url":"https://api.github.com/users/ogrisel/events{/privacy}","received_events_url":"https://api.github.com/users/ogrisel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":29,"created_at":"2015-07-11T16:50:49Z","updated_at":"2015-08-17T12:58:26Z","closed_at":null,"body":"I used openblas build for Python / Numpy with mingwpy by @carlkl. You can install it embedded in numpy with:\r\n\r\n```\r\nC:\\Python3.4_x64\\python -m pip install -i https://pypi.binstar.org/carlkl/simple numpy\r\n```\r\nI installed the 64 bit version of Python using the official installer from python.org.\r\nIf you want to install the compilers for debugging on that plateform you can use:\r\n\r\n```\r\nC:\\Python3.4_x64\\python -m pip install -i https://pypi.binstar.org/carlkl/simple mingwpy\r\n```\r\n\r\nCarl said on the numpy mailing list that the OpenBLAS version embedded in his numpy package has digest: fb02cb0 (from April).\r\n\r\nThe problem can be triggered with the following call:\r\n\r\n```\r\nC:\\Python34_x64\\python -c\"import numpy as np; print(np.linalg.svd(np.ones((129, 129), dtype=np.float64))\"\r\n```\r\n\r\nI used [this script](https://gist.github.com/ogrisel/ad4e547a32d0eb18b4ff#file-openblas_get_corename-py) and apparently the `Barcelona` architecture is detected by OpenBLAS on this VM.\r\n\r\nWith smaller data, e.g. `(128, 128)` it works as expected and if I force the Nehalem core type it works as well (it prints the results of the SVD):\r\n\r\n```\r\n$env:OPENBLAS_CORETYPE=\"Nehalem\"\r\nC:\\Python34_x64\\python -c\"import numpy as np; print(np.linalg.svd(np.ones((129, 129), dtype=np.float64))\"\r\n```\r\n\r\nTo reproduce this I used the 2GB Standard instance on rackspace cloud. I can give you access to such a VM in private message if that helps.\r\n\r\nI also tried to reproduce this issue by building OpenBLAS and numpy on the same instance type under Ubuntu 15.04 instead and I cannot reproduce the crash under Linux although I checked that the Barcelona core is detected there as well."},"comment":{"url":"https://api.github.com/repos/xianyi/OpenBLAS/issues/comments/131809239","html_url":"https://github.com/xianyi/OpenBLAS/issues/603#issuecomment-131809239","issue_url":"https://api.github.com/repos/xianyi/OpenBLAS/issues/603","id":131809239,"user":{"login":"carlkl","id":5476002,"avatar_url":"https://avatars.githubusercontent.com/u/5476002?v=3","gravatar_id":"","url":"https://api.github.com/users/carlkl","html_url":"https://github.com/carlkl","followers_url":"https://api.github.com/users/carlkl/followers","following_url":"https://api.github.com/users/carlkl/following{/other_user}","gists_url":"https://api.github.com/users/carlkl/gists{/gist_id}","starred_url":"https://api.github.com/users/carlkl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlkl/subscriptions","organizations_url":"https://api.github.com/users/carlkl/orgs","repos_url":"https://api.github.com/users/carlkl/repos","events_url":"https://api.github.com/users/carlkl/events{/privacy}","received_events_url":"https://api.github.com/users/carlkl/received_events","type":"User","site_admin":false},"created_at":"2015-08-17T12:58:26Z","updated_at":"2015-08-17T12:58:26Z","body":"@ogrisel, concerning https://github.com/xianyi/OpenBLAS/issues/603#issuecomment-131529812: does the segfault still happen with the newer numpy/scipy wheels from https://anaconda.org/carlkl? \r\n\r\nI can again make a OpenBLAS debug build (I used https://github.com/wernsaar/OpenBLAS due to newer haswell kernels) for these builds. Is 64bit only ok for you?\r\n"}}