I am on Mac OS X Yosemite, and although I had installed Intel MKL properly, I was getting a
mkl_intel_lp64 not found message when I was trying to install Torch7.
The solution was found by adding the following links to your
source /opt/intel/composer_xe_2015.3.187/bin/compilervars.sh intel64
and most importantly: