Last active
November 20, 2015 08:17
-
-
Save ssahu/47ad29f64c1fe5f39ebb to your computer and use it in GitHub Desktop.
install caffe notes - el capitan, matlab r2012a, etc cpu mode only
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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