Skip to content

Commit

Permalink
Merge branch 'systemmkl2' of github.com:crstnbr/MKL.jl into systemmkl2
Browse files Browse the repository at this point in the history
  • Loading branch information
carstenbauer committed Jul 20, 2021
2 parents 8e67f8c + 060bfff commit bf98319
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ If you already have an Intel MKL installation available (as on most HPC clusters
* `system`: The package will try to automatically locate the libmkl_rt library (i.e. find it on the linker search path).
* `path/to/my/libmkl_rt.<EXT>`: Explicit path to the `libmkl_rt.<EXT>` where `<EXT>` is the shared library extension of the system at hand (e.g. `.so`, `.dll`, `.dylib`)

Note that, in contrast to the preference, the environment variable only has an effect when MKL.jl is (re-)precompiled. To force a change of the MKL path after the compilation has happened, use the function `MKL.set_mkl_path`, which takes the options listed above as input.
Note that, in contrast to the preference, the environment variable only has an effect when MKL.jl is (re-)precompiled. To force a change of the MKL path after the compilation has happened, use the function `MKL.set_mkl_path`, which takes the options listed above as input. The usecase for the environment variable convenience is for automated installs such as CI systems, where the initial default choice should be set with no human interaction whatsoever.

## Installation (Julia 1.6 and older)

Expand Down
4 changes: 2 additions & 2 deletions deps/build.jl
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
using MKL

if MKL.is_lbt_available()
@info "Using LBT"
@info "Using LBT, so exiting MKL build step immediately"
exit() # Don't want to build the system image, since we will use LBT
end

@info "Using PackageCompiler"
@info "LBT unavailable, so using PackageCompiler, to construct MKL-compatible system image"
using PackageCompiler
using MKL_jll

Expand Down

0 comments on commit bf98319

Please sign in to comment.