You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, I pre-built some provisional wheel files for Mac and uploaded them on PyPi. That means you can install BigARTM with pip: pip install -i https://test.pypi.org/simple/ bigartm.
However, there could be a problem. This is not confirmed, but it appears the wheels conflict with virtual environments created with conda.
What happens: any attempt of using ARTM library fails with the error similar to
This isn't ideal because you could lose some performance gains (Note that conda install nomkl means "Remove mkl and replace by a (slow) standard version")
I think the trick is to find libiomp5.dylib and then run export DYLD_LIBRARY_PATH=<...>
The somewhat relevant discussion here suggests doing a similar thing with LD_LIBRARY_PATH.
The issue could be related to boost (which is pre-compiled and included in the wheels). In that case, it is possible that brew install boost will help (but I cannot verify this).
The text was updated successfully, but these errors were encountered:
So, I pre-built some provisional wheel files for Mac and uploaded them on PyPi. That means you can install BigARTM with pip:
pip install -i https://test.pypi.org/simple/ bigartm
.However, there could be a problem. This is not confirmed, but it appears the wheels conflict with virtual environments created with
conda
.What happens: any attempt of using ARTM library fails with the error similar to
The explanation
By default,
conda
installsmkl
, which is a BLAS implementation tuned for high performance on Intel CPUs. It seems that this particular BigARTM binary is either incompatible withmkl
, or is linked against wrong version, or just fails to find it.I'm out of my depth here; I need help troubleshooting the problem.
Workarounds
mkl
:This isn't ideal because you could lose some performance gains (Note that
conda install nomkl
means "Removemkl
and replace by a (slow) standard version")In BVLC/caffe#3884 it is suggested to tweak
LD_PRELOAD
.From https://software.intel.com/pt-br/forums/intel-fortran-compiler/topic/269694:
The somewhat relevant discussion here suggests doing a similar thing with
LD_LIBRARY_PATH
.boost
(which is pre-compiled and included in the wheels). In that case, it is possible thatbrew install boost
will help (but I cannot verify this).The text was updated successfully, but these errors were encountered: