As I understand it, MKL pardiso is included in the MKL library.So I download from web.
After registering, I received an email with a download link. On the download page, I chose Intel math kernel library for windows.
Then I got the documents:w_mkl_2019.4.245.exe,I installed it completely on the computer.
Build Pardiso.jl:
Pkg. build ("Pardiso")
julia> using Pardiso
┌ Warning: No Pardiso library found when Pkg.build("Pardiso") ran, this package will not currently be usable. See the installation instructions and rerun Pkg.build("Pardiso").
└ @ Pardiso C:\Users\huoze\.julia\packages\Pardiso\66TFF\src\Pardiso.jl:105
Question:
As mentioned above, I made a mistake in Julia. I think my MKL did not configure environment variables correctly, but I don’t know how to do this step.
julia> versioninfo()
Julia Version 1.1.1
Commit 55e36cc308 (2019-05-16 04:10 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: Intel(R) Core(TM) i5-3337U CPU @ 1.80GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-6.0.1 (ORCJIT, ivybridge)
(Or do I have other mistakes that I haven’t found?)
Thank you very much. I have configured MKLROOT in the system according to the link, but when I tried the following code, Julia showed the following error:
using Pardiso
using SparseArrays
ps = MKLPardisoSolver()
A = sparse(rand(10, 10))
B = rand(10, 2)
X = zeros(10, 2)
solve!(ps, X, A, B)
Julia has exited. Press Enter to start a new session.
INTEL MKL ERROR: 操作系统无法运行 %1。 mkl_intel_thread.dll.
Intel MKL FATAL ERROR: Cannot load mkl_intel_thread.dll.
This is due to the problem of the mkl_intel_thread.dll file. What is the reason ?
julia> using Pardiso
julia> Pardiso.show_build_log()
Pardiso library
===============
Looking for libraries with name: libpardiso600-WIN-X86-64.dll, libpardiso500-WIN-X86-64.dll.
INFO: use the `JULIA_PARDISO` environment variable to set a path to the folder where the Pardiso library is located
Looking in "C:\Users\huoze\.julia\packages\Pardiso\66TFF\deps" for libraries
did not find libpardiso, assuming PARDISO 5/6 is not installed
MKL Pardiso
=============
found MKLROOT environment variable, using it
I also noticed that I found one in the mailbox where Intel sent me the MKL download link.lic file, I did not see in the document about it introduction, what is the role of this file?