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
133 stars 20 forks source link

Refine how to look for mkl_rt with glob #29

Closed haasad closed 2 years ago

haasad commented 2 years ago

Depending on how mkl is installed (pip/conda + type of virtual environment), the shared library is named and located differently. Taking some assumptions here on where to find the shared library if ctypes.util.find_libary can't find it (which is the case for mkl installed with pip).