Skip to content

Commit

Permalink
Improve position of MKL.jl mention in build documentation (#38923)
Browse files Browse the repository at this point in the history
* Improve position of MKL.jl mention

* Clarify that SuiteSparse will not use MKL if going down the MKL.jl path

Co-authored-by: Viral B. Shah <ViralBShah@users.noreply.github.com>
(cherry picked from commit 996dd55)
  • Loading branch information
carstenbauer authored and KristofferC committed Dec 18, 2020
1 parent f90e2f3 commit 7eb2d30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/build/build.md
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,8 @@ As a high-performance numerical language, Julia should be linked to a multi-thre

### Intel MKL

**Note:** If you are building Julia for the sole purpose of incorporating Intel MKL, it may be beneficial to first try [MKL.jl](https://github.com/JuliaComputing/MKL.jl). This package will automatically download MKL and rebuild Julia's system image against it, sidestepping the need to set up a working build environment just to add MKL functionality. MKL.jl replaces OpenBLAS with MKL for dense linear algebra functions called directly from Julia, but SuiteSparse and other C/Fortran libraries will continue to use the BLAS they were linked against at build time. If you want SuiteSparse to use MKL, you will need to build from source.
For a 64-bit architecture, the environment should be set up as follows:
```sh
# bash
Expand All @@ -263,8 +265,6 @@ Add the following to the `Make.user` file:
It is highly recommended to start with a fresh clone of the Julia repository.
If you are building Julia for the sole purpose of incorporating Intel MKL, it may be beneficial to first try [MKL.jl](https://github.com/JuliaComputing/MKL.jl). This package will automatically download MKL and rebuild Julia's system image against it, sidestepping the need to set up a working build environment just to add MKL functionality.
## Source distributions of releases
Each pre-release and release of Julia has a "full" source distribution and a "light" source
Expand Down

0 comments on commit 7eb2d30

Please sign in to comment.