dwfmarchant / pyMKL

Python wrappers to Intel MKL routines
MIT License
9 stars 17 forks source link

Load MKL Error for Python 3.8 on Windows #17

Open dccowan opened 3 years ago

dccowan commented 3 years ago

@jcapriot @dwfmarchant For recent versions of Anaconda3 for Windows OS (with Python 3.8 and possibly 3.7), the latest conda install of pymatsolver cannot import Pardiso. I have tracked down this issue to loadMKL.py in the pyMKL package.

I found that for Windows OS, the code will try to find the mkl_rt.dll in anaconda/Library/bin/. This file doesn't exist. Instead, there is a mkl_rt.1.dll. By changing the filename for the MKL library in loadMKL.py, I was able to import Pardiso from pymatsolver and run a TDEM forward model with the Pardiso solver.

Can this file be fixed so that it is up-to-date with current installations of Anaconda?

image

1tengji1 commented 2 years ago

same problem