haasad / PyPardiso

Python interface to the Intel MKL Pardiso library to solve large sparse linear systems of equations
BSD 3-Clause "New" or "Revised" License
135 stars 20 forks source link

pip may installed the MKL libraries in the user folder on Linux #45

Closed msrocka closed 2 years ago

msrocka commented 2 years ago

The MKL library cannot be found when it is installed in the user directory via pip on Linux. This pull request hopefully fixes this by also searching this location for the library.

haasad commented 2 years ago

Thanks for the PR @msrocka, what Linux flavor are you using?

msrocka commented 2 years ago

Ah, true: Ubuntu 20.04.5 LTS, Python 3.11.0, installed it globally, not in a virtual environment via pip

haasad commented 2 years ago

Hi Michael,

thanks again making this PR, I expanded on your changes in #47 to make it work for all operating systems. I already made a new release and I hope with pypardiso 0.4.2 your issue is fixed.

Cheers, Adrian

msrocka commented 2 years ago

Many thanks Adrian! Yes, version 0.4.2 fixes the issue for me, fantastic.