Closed jhein32 closed 11 months ago
There was a similar issue in the past on windows: https://github.com/haasad/PyPardisoProject/issues/12
I'll check and get back to you
As far as I can tell the reason the mkl_rt
library isn't discovered is because you use the --prefix
option with pip install.
I'd recommend to use a virtual environment instead to install pypardiso (as is also suggested in the README). Something like this should do the trick:
cd $HOME/test_paradiso
python -m venv pypardiso_venv
source pypardiso_venv/bin/activate
pip install pypardiso
If you don't want to use a virtual environment, pip install --user pypardiso
should also work.
~Or if you just want to fix it for your current installation, creating a symbolic link will work:~
cd $HOME/test_paradiso/lib
ln -s libmkl_rt.so.2 libmkl_rt.so
I'm closing this issue, feel free to reopen it if my suggestions didn't fix your problem.
I am having problems building pypardiso on our LINUX cluster using pypi:
So far so good. When I try to run it, I get
The issue is that the pypi installed mkl supplies a
libmkl_rt.so.2
but not alibmkl_rt.so
. If add another mkl library to the path which supplies a libmkl_rt.so`, the module will load.Could you please comment?