{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/785","repository_url":"https://api.github.com/repos/Microsoft/BashOnWindows","labels_url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/785/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/785/comments","events_url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/785/events","html_url":"https://github.com/Microsoft/BashOnWindows/issues/785","id":169660546,"number":785,"title":"Anaconda's scipy.test() fails with \"OMP: Error #100: Fatal system error detected","user":{"login":"Evfro","id":5283394,"avatar_url":"https://avatars.githubusercontent.com/u/5283394?v=3","gravatar_id":"","url":"https://api.github.com/users/Evfro","html_url":"https://github.com/Evfro","followers_url":"https://api.github.com/users/Evfro/followers","following_url":"https://api.github.com/users/Evfro/following{/other_user}","gists_url":"https://api.github.com/users/Evfro/gists{/gist_id}","starred_url":"https://api.github.com/users/Evfro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Evfro/subscriptions","organizations_url":"https://api.github.com/users/Evfro/orgs","repos_url":"https://api.github.com/users/Evfro/repos","events_url":"https://api.github.com/users/Evfro/events{/privacy}","received_events_url":"https://api.github.com/users/Evfro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-05T17:48:37Z","updated_at":"2016-08-05T18:58:19Z","closed_at":null,"body":"* A brief description\r\n\r\nSciPy is a python package for scientific computing. Normally it's installed with Anaconda distribution, that also ships Intel's MKL library (with LAPACK and BLAS routines).\r\n\r\n* Expected results\r\n\r\nExecuting `scipy.test()` from within python completes with the report on all errors and failures discovered.\r\n\r\n* Actual results (with terminal output if applicable)\r\n\r\n`scipy.test()` doesn't complete and terminates python with the following error:\r\n```\r\nOMP: Error #100: Fatal system error detected.\r\nOMP: System error #22: Invalid argument\r\nAborted (core dumped)\r\n```\r\n\r\n* Your Windows build number\r\n\r\nMicrosoft Windows [Version 10.0.14393]\r\n\r\n* Steps / commands required to reproduce the error\r\n\r\nRun from terminal:\r\n```bash\r\npython -c 'import scipy; scipy.test()'\r\n```\r\n* Strace of the failing command\r\n\r\nhttps://gist.github.com/Evfro/2d0d83745a92d3f6e2f52ce3675a273d\r\n\r\nThe last thing before error there is the following line:\r\n`sched_getaffinity(0, 4, 0x7fc7757a7e00) = -1 EINVAL (Invalid argument)`\r\n\r\n* Required packages and commands to install\r\n\r\nInstall latest miniconda (Python 2.7):\r\n```bash\r\nwget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh\r\nbash Miniconda*.sh\r\n```\r\nUpdate apt-get (prevents some errors):\r\n```bash\r\nsudo apt-get update -qq\r\n```\r\nInstall scipy, numpy and nose (for running tests):\r\n```bash\r\nconda install numpy scipy nose\r\n```\r\nThis will additionally install MKL and libgfortran-3. \r\n**Note**: test doesn't fail if *nomkl* versions of numpy and scipy are installed, however, MKL (especially its LAPACK and BLAS) is required for some other packages, so it's not really an option."},"comment":{"url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/comments/237934616","html_url":"https://github.com/Microsoft/BashOnWindows/issues/785#issuecomment-237934616","issue_url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/785","id":237934616,"user":{"login":"deto","id":551879,"avatar_url":"https://avatars.githubusercontent.com/u/551879?v=3","gravatar_id":"","url":"https://api.github.com/users/deto","html_url":"https://github.com/deto","followers_url":"https://api.github.com/users/deto/followers","following_url":"https://api.github.com/users/deto/following{/other_user}","gists_url":"https://api.github.com/users/deto/gists{/gist_id}","starred_url":"https://api.github.com/users/deto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deto/subscriptions","organizations_url":"https://api.github.com/users/deto/orgs","repos_url":"https://api.github.com/users/deto/repos","events_url":"https://api.github.com/users/deto/events{/privacy}","received_events_url":"https://api.github.com/users/deto/received_events","type":"User","site_admin":false},"created_at":"2016-08-05T18:58:19Z","updated_at":"2016-08-05T18:58:19Z","body":"Which packages is MKL required for?  As far as I know, it was only added recently to their free-tier Linux installer so most things should work fine with nomkl."}}
{"actor":{"display_login":"deto"}}