Add LD_PRELOAD update to MKL compile instructions (#197)

It took me quite some time to get around this error -- it might save others time.
pull/199/merge
Julieta 2017-08-30 21:31:33 -07:00 committed by Matthijs Douze
parent 8d0643ae74
commit 486ec6c6ac
1 changed files with 6 additions and 2 deletions

View File

@ -49,8 +49,12 @@ FAISSSHAREDFLAGS=-shared
#
# BLASCFLAGS=-DFINTEGER=long
#
# you may have to set the LD_LIBRARY_PATH=$MKLROOT/lib/intel64 at runtime
#
# you may have to set the LD_LIBRARY_PATH=$MKLROOT/lib/intel64 at runtime.
# If at runtime you get the error:
# Intel MKL FATAL ERROR: Cannot load libmkl_avx2.so or libmkl_def.so.
# You may add set
# LD_PRELOAD=$MKLROOT/lib/intel64/libmkl_core.so:$MKLROOT/lib/intel64/libmkl_sequential.so
# at runtime as well.
#
# 2. Openblas