-
-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segmentation fault on import of openBLAS-based numpy #60
Comments
Thanks for the report @knedlsepp. That looks pretty bad. Hopefully can get some movement in the OpenBLAS issue, and then we can rebuild numpy. This must be fairly system-specific, otherwise we would be getting loads more bug reports. |
Could you please share the details of your environment as well, @knedlsepp? |
My environment is a clean miniconda + numpy from conda-forge environment on openSUSE11. |
So am asking about the environment as this isn't something I have encountered on Linux and would like to see if I can reproduce it. Exact environment details would be very helpful on this regard. Also are you setting As far as the fix goes, we could always patch |
Closing due to lack of activity. @knedlsepp please re-open if you are still experiencing this. I could not reproduce that with our latest |
@ocefpaf I'm actually still experiencing this on my opensuse11 (2.6.37.6-0.5-desktop) machines. I'm currently mitigating this by using the intel-mkl based builds of numpy. I'm still hoping for the next openBLAS release to fix this, as the commits are already in master. Sadly I have no idea how to locally build and test with a pre-release openBLAS. |
Same problem here when using Ubuntu 16.04.4 LTS on AMD nodes in a Sun Grid Engine 6.2u5. |
Thanks for the info. Sounds like there was a patch upstream that might help. ( OpenMathLib/OpenBLAS#1299 ) If someone would like to backport that patch and make a PR here to include the patch, think that would be a viable path forward short term. |
Raised issue ( conda-forge/openblas-feedstock#42 ) on patching |
This is too old now. Please open a new issue if this is still an issue. |
I'm currently having problems with numpy.
This only happens now that I have updated numpy to a version that uses openblas. Trying to import numpy leads to a Segmentation fault in about 1 out of 10 occasions.
The numpy version is:
numpy-1.13.1, py27_blas_openblas_200
. Sometimes it outputs something along those lines, but most of the time it just crashes.Here is are stack traces of two different crashes:
Setting
OMP_NUM_THREADS=1
seems to get rid of the problem, but is a pretty ugly workaround.Related issue: OpenMathLib/OpenBLAS#888
The text was updated successfully, but these errors were encountered: