Thursday, November 12, 2015

Caffe install on eldar (done)


Using Makefile.config directly
  • git clone git@github.com:BVLC/caffe.git
  • cp Makefile.config.example Makefile.config
  • make all -j 10
  • make test -j 10
  • make runtest
  • Works! (? - failed at some directory creation error in make runtest, possibly freak)
Using Makefile.config with some changes

  • git clone git@github.com:BVLC/caffe.git
  • cp Makefile.config.example Makefile.config
  • edit Makefile.config (many of these lines may be already present, only need to uncomment): 
    • CUSTOM_CXX := g++-4.6
    • CUDA_DIR :=/opt/cuda-7.0/
    • MATLAB_DIR := /lusr/share/software/matlab-r2014a/
    • ANACONDA_HOME := $(HOME)/anaconda
    • PYTHON_INCLUDE := $(ANACONDA_HOME)/include \
    • $(ANACONDA_HOME)/include/python2.7 \
    • $(ANACONDA_HOME)/lib/python2.7/site-packages/numpy/core/include \
    •  
    • PYTHON_LIB := $(ANACONDA_HOME)/lib
    • WITH_PYTHON_LAYER := 1
    •  
  • make all -j 10  # Works
  • make matcaffe -j 10 # Works, but with warning about gcc version (changed above, why still?)
  • make pycaffe -j 10 # Works
  • make test - j 10 # Works
  • make runtest -j 10 # Works
  • make pytest -j 10 # Works

No comments:

Post a Comment