Skip to content

could not load library "libmkl_rt" #130

Closed
@AshtonSBradley

Description

@AshtonSBradley

Not sure I am doing this correctly, but:

julia> ENV["JULIA_FFTW_PROVIDER"]="MKL"
"MKL"

(v1.3) pkg> build FFTW
  Building Conda  `~/.julia/packages/Conda/kLXeC/deps/build.log`
  Building FFTW ─ `~/.julia/packages/FFTW/loJ3F/deps/build.log`
┌ Error: Error building `FFTW`:
│ ERROR: LoadError: could not load library "libmkl_rt"dlopen(libmkl_rt.dylib, 1): image not found
│ Stacktrace:
│  [1] #dlopen#3(::Bool, ::typeof(Libdl.dlopen), ::String, ::UInt32) at /Applications/Julia-1.3.app/Contents/Resources/julia/lib/julia/sys.dylib:?
│  [2] dlopen at /Applications/Julia-1.3.app/Contents/Resources/julia/share/julia/stdlib/v1.3/Libdl/src/Libdl.jl:109 [inlined] (repeats 2 times)
│  [3] dlpath(::String) at /Applications/Julia-1.3.app/Contents/Resources/julia/share/julia/stdlib/v1.3/Libdl/src/Libdl.jl:232
│  [4] top-level scope at /Users/abradley/.julia/packages/FFTW/loJ3F/deps/build.jl:22
│  [5] include_relative(::Module, ::String) at /Applications/Julia-1.3.app/Contents/Resources/julia/lib/julia/sys.dylib:?
│  [6] include(::Module, ::String) at /Applications/Julia-1.3.app/Contents/Resources/julia/lib/julia/sys.dylib:?
│  [7] include(::String) at ./client.jl:424
│  [8] top-level scope at none:5in expression starting at /Users/abradley/.julia/packages/FFTW/loJ3F/deps/build.jl:20
└ @ Pkg.Operations /Applications/Julia-1.3.app/Contents/Resources/julia/share/julia/stdlib/v1.3/Pkg/src/backwards_compatible_isolation.jl:649
(v1.3) pkg> st MKL FFTW
    Status `~/.julia/environments/v1.3/Project.toml`
  [7a1cc6ca] FFTW v1.1.0
  [33e6dc65] MKL v0.0.0 #master (https://github.com/JuliaComputing/MKL.jl)
julia> versioninfo()
Julia Version 1.3.0
Commit 46ce4d7933 (2019-11-26 06:09 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin19.0.0)
  CPU: Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.1 (ORCJIT, skylake)
Environment:
  JULIA_FFTW_PROVIDER = MKL

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions