- doc and cmake update MKL related
authorJacek Czaja <jacek.czaja@intel.com>
Tue, 1 Mar 2016 10:32:21 +0000 (11:32 +0100)
committerJacek Czaja <jacek.czaja@intel.com>
Tue, 1 Mar 2016 14:54:36 +0000 (15:54 +0100)
- cosmetic change to mkl related doc

cmake/Modules/FindMKL.cmake
docs/installation.md

index d2012db..5ab93b2 100644 (file)
@@ -20,7 +20,7 @@ caffe_option(MKL_MULTI_THREADED  "Use multi-threading"   ON IF NOT MKL_USE_SINGL
 \r
 # ---[ Root folders\r
 set(INTEL_ROOT "/opt/intel" CACHE PATH "Folder contains intel libs")\r
-find_path(MKL_ROOT include/mkl.h PATHS $ENV{MKL_ROOT} ${INTEL_ROOT}/mkl\r
+find_path(MKL_ROOT include/mkl.h PATHS $ENV{MKLROOT} ${INTEL_ROOT}/mkl\r
                                    DOC "Folder contains MKL")\r
 \r
 # ---[ Find include dir\r
index ef781e8..8931645 100644 (file)
@@ -54,7 +54,8 @@ There are several implementations of this library. The choice is yours:
 * [ATLAS](http://math-atlas.sourceforge.net/): free, open source, and so the default for Caffe.
 * [Intel MKL](http://software.intel.com/en-us/intel-mkl): commercial and optimized for Intel CPUs, with a free trial and [student](http://software.intel.com/en-us/intel-education-offerings) licenses.
     1. Install MKL.
-    2. Set `BLAS := mkl` in `Makefile.config`
+    2. Set up MKL environment (Details: [Linux](https://software.intel.com/en-us/node/528499), [OS X](https://software.intel.com/en-us/node/528659)). Example: *source /opt/intel/mkl/bin/mklvars.sh intel64*
+    3. Set `BLAS := mkl` in `Makefile.config`
 * [OpenBLAS](http://www.openblas.net/): free and open source; this optimized and parallel BLAS could require more effort to install, although it might offer a speedup.
     1. Install OpenBLAS
     2. Set `BLAS := open` in `Makefile.config`