Skip to content

Instantly share code, notes, and snippets.

@ssahu
Last active November 20, 2015 08:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ssahu/47ad29f64c1fe5f39ebb to your computer and use it in GitHub Desktop.
Save ssahu/47ad29f64c1fe5f39ebb to your computer and use it in GitHub Desktop.
install caffe notes - el capitan, matlab r2012a, etc cpu mode only
instructions to set paths after installing mkl
file:///opt/intel/documentation_2016/en/ps2016/getstart_comp_mc.htm
sudo vi /opt/intel/composer_xe_2015/tbb/bin/tbbvars.sh
change == to '=='
disable system integration protection for el capitan: csrutil disable
to use the fallback library path
add the following to the bashrc/zshrc
export DYLD_FALLBACK_LIBRARY_PATH=/usr/local/lib:/usr/lib:/opt/intel/composer_xe_2015.2.132/compiler/lib:/opt/intel/composer_xe_2015.2.132/mkl/lib
source /opt/intel/bin/compilervars.sh intel64
change python_lib
PYTHON_LIB := /usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/
use the following Makefile.config
https://github.com/ssahu/caffe/commit/478b7dc7eb691a848fe3fed2fb94d24bc279f9cd
after:
make clean
make all -j8
make pycaffe
make matcaffe
add $CAFFE_ROOT/python to the pythonpath:
export PYTHONPATH=$CAFFE_ROOT/python:$PYTHONPATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment