Skip to content
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

numpy fails to build when MKLROOT environment variable is set #24362

Closed
sagetrac-tmonteil mannequin opened this issue Dec 10, 2017 · 11 comments
Closed

numpy fails to build when MKLROOT environment variable is set #24362

sagetrac-tmonteil mannequin opened this issue Dec 10, 2017 · 11 comments

Comments

@sagetrac-tmonteil
Copy link
Mannequin

sagetrac-tmonteil mannequin commented Dec 10, 2017

numpy fails to build on a 40-core 64bit PC running Debian 8. I used sage's gcc (with export SAGE_INSTALL_GCC='yes'). Log attached.

CC: @jdemeyer @kiwifb

Component: packages: standard

Author: Thierry Monteil

Branch/Commit: 5ae04cd

Reviewer: François Bissey

Issue created by migration from https://trac.sagemath.org/ticket/24362

@sagetrac-tmonteil sagetrac-tmonteil mannequin added this to the sage-8.2 milestone Dec 10, 2017
@sagetrac-tmonteil
Copy link
Mannequin Author

sagetrac-tmonteil mannequin commented Dec 10, 2017

comment:1

Attachment: numpy-1.13.3.p0.log

Unfortunately, I can reproduce the issue with make -j1 (i was secretly hoping a race condition).

@sagetrac-tmonteil
Copy link
Mannequin Author

sagetrac-tmonteil mannequin commented Dec 10, 2017

Branch: u/tmonteil/numpy_fails_to_build

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Dec 10, 2017

Commit: 5ae04cd

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Dec 10, 2017

Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:

5ae04cdTrac 24362 : unset MKLROOT environment variable

@sagetrac-tmonteil
Copy link
Mannequin Author

sagetrac-tmonteil mannequin commented Dec 10, 2017

comment:4

Apparently, i found the culprit: MKL blas was installed on the computer, but unsetting MKL is not enough, we also have to unset MKLROOT.


New commits:

5ae04cdTrac 24362 : unset MKLROOT environment variable

@sagetrac-tmonteil
Copy link
Mannequin Author

sagetrac-tmonteil mannequin commented Dec 10, 2017

Author: Thierry Monteil

@sagetrac-tmonteil sagetrac-tmonteil mannequin changed the title numpy fails to build numpy fails to build when MKLROOT environment variable is set Dec 10, 2017
@kiwifb
Copy link
Member

kiwifb commented Dec 10, 2017

comment:5

Yes numpy is stupid that way. It knows better than your settings unless you disable any other possibility.

@sagetrac-tmonteil
Copy link
Mannequin Author

sagetrac-tmonteil mannequin commented Dec 11, 2017

comment:6

make ptestlong leads to "All tests passed!"

@kiwifb
Copy link
Member

kiwifb commented Dec 11, 2017

comment:7

Looks good to me.

@kiwifb
Copy link
Member

kiwifb commented Dec 11, 2017

Reviewer: François Bissey

@vbraun
Copy link
Member

vbraun commented Dec 16, 2017

Changed branch from u/tmonteil/numpy_fails_to_build to 5ae04cd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants