Commit aabe9c77 authored by Bruno Guberfain do Amaral's avatar Bruno Guberfain do Amaral Committed by mdouze

Changing a few settings for MKL on Ubuntu (#13)

* Changing a few settings for MKL on Ubuntu

This is my current configuration for MKL on Ubuntu.
I also corrected the `BLASLDFLAGS=-DFINTEGER=long` line (it should be `BLASCFLAGS`).

* Update makefile.inc.Linux

Tested and documented on MLK 2017.0.098
parent d0538ca2
......@@ -35,17 +35,19 @@ FAISSSHAREDFLAGS=-shared
#
# https://software.intel.com/en-us/articles/intel-mkl-link-line-advisor
#
# for a start on setting the link flags. On version IntelComposerXE
# 2015.0.090, the following flags work
# The latest tested version is MLK 2017.0.098 (2017 Initial Release) and can
# be downloaded here:
#
# MKLROOT=$(HOME)/fbsource/fbcode/third-party2//IntelComposerXE/2015.0.090/gcc-4.8.1-glibc-2.17/c3f970a/mkl
# https://registrationcenter.intel.com/en/forms/?productid=2558&licensetype=2
#
# The following settings are working if MLK is installed on its default folder:
#
# MKLROOT=/opt/intel/compilers_and_libraries/linux/mkl/
#
# BLASLDFLAGS=-Wl,--no-as-needed -L$(MKLROOT)/lib/intel64 -lmkl_intel_ilp64 \
# -lmkl_core -lmkl_gnu_thread -ldl -lpthread
#
# the ilp64 means that the integers are 64-bit.
#
# BLASLDFLAGS=-DFINTEGER=long
# BLASCFLAGS=-DFINTEGER=long
#
# you may have to set the LD_LIBRARY_PATH=$MKLROOT/lib/intel64 at runtime
#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment