diff options
author | Frederik Rietdijk <freddyrietdijk@fridh.nl> | 2020-04-21 19:59:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-21 19:59:16 +0200 |
commit | ec21df329aef9b299dcedd46cc5901c670ac2726 (patch) | |
tree | 9311b016fd43ed4c6e0caf0305d1a4cf28d9be5a /doc/languages-frameworks | |
parent | e7593313a62984ee2fd9b12f60fbb1e008f2ada5 (diff) | |
parent | 3c41d61514029d5aa4ea748c1e46098767ae448b (diff) | |
download | nixpkgs-ec21df329aef9b299dcedd46cc5901c670ac2726.tar nixpkgs-ec21df329aef9b299dcedd46cc5901c670ac2726.tar.gz nixpkgs-ec21df329aef9b299dcedd46cc5901c670ac2726.tar.bz2 nixpkgs-ec21df329aef9b299dcedd46cc5901c670ac2726.tar.lz nixpkgs-ec21df329aef9b299dcedd46cc5901c670ac2726.tar.xz nixpkgs-ec21df329aef9b299dcedd46cc5901c670ac2726.tar.zst nixpkgs-ec21df329aef9b299dcedd46cc5901c670ac2726.zip |
Merge pull request #85636 from matthewbauer/blas-lapack-fix-fallout-from-83888
BLAS/LAPACK fix fallout from #83888
Diffstat (limited to 'doc/languages-frameworks')
-rw-r--r-- | doc/languages-frameworks/python.section.md | 29 |
1 files changed, 3 insertions, 26 deletions
diff --git a/doc/languages-frameworks/python.section.md b/doc/languages-frameworks/python.section.md index f8884785e90..e6f0b64fa9c 100644 --- a/doc/languages-frameworks/python.section.md +++ b/doc/languages-frameworks/python.section.md @@ -1290,32 +1290,9 @@ self: super: { ### How to use Intel's MKL with numpy and scipy? -A `site.cfg` is created that configures BLAS based on the `blas` parameter of -the `numpy` derivation. By passing in `mkl`, `numpy` and packages depending on -`numpy` will be built with `mkl`. - -The following is an overlay that configures `numpy` to use `mkl`: - -```nix -self: super: { - python37 = super.python37.override { - packageOverrides = python-self: python-super: { - numpy = python-super.numpy.override { - blas = super.pkgs.mkl; - }; - }; - }; -} -``` - -`mkl` requires an `openmp` implementation when running with multiple processors. -By default, `mkl` will use Intel's `iomp` implementation if no other is -specified, but this is a runtime-only dependency and binary compatible with the -LLVM implementation. To use that one instead, Intel recommends users set it with -`LD_PRELOAD`. - -Note that `mkl` is only available on `x86_64-{linux,darwin}` platforms; -moreover, Hydra is not building and distributing pre-compiled binaries using it. +MKL can be configured using an overlay. See the section “[Using +overlays to configure +alternatives](#sec-overlays-alternatives-blas-lapack)”. ### What inputs do `setup_requires`, `install_requires` and `tests_require` map to? |