mkl_random icon indicating copy to clipboard operation
mkl_random copied to clipboard

Document MKL loading and troubleshooting

Open david-cortes-intel opened this issue 6 months ago • 0 comments

ref https://github.com/IntelPython/mkl_random/issues/70#issuecomment-3089095824

This package loads the shared objects from MKL by adding them as a relative path from where the shared objects of mkl-random will be found at runtime, but if packages are installed under different prefixes, it will not find the shared objects of MKL under those locations and will thus fail to import.

In that case, the user would need to manually set variable $LD_LIBRARY_PATH to point to where the MKL .so files live before launching the python process that will import mkl_random.

Would be ideal to document these kinds of details here.

david-cortes-intel avatar Jul 18 '25 11:07 david-cortes-intel