isntall all library here

http://caffe.berkeleyvision.org/installation.html


BLAS: OpenBLAS for Gentoo


modify Makefile.config

(read the commented explanation well, and modify as it need to be


note: PYTHON_INCLUDE & PYTHON_LIBRARIES

PYTHON_LIBRARIES=the name of boost_python-x.x.so or just boost_python something


build caffe 

export LD_LIBRARY_PATH=/opt/OpenBLAS/lib


add LD_LIBRARY_PATH="/opt/OpenBLAS/lib:${LD_LIBRARY_PATH}"  in bash configuration file


for gtk 550 ti CUDA version must be 8

and CUDA driver must be downloaded through NVIDIA homepage, not the package manager (e.g. portage)

and need to change gcc version to 5

gcc-config 1 (select the number version 5)

env-update && source /etc/profile && PS1=$PS1

emerge --ask libtool


gcc version later than 5 are not supported

check gcc version

gcc-config -l

gcc-config number

env-update && source /etc/profile


install pycaffe


on Gentoo, install boost-numpy is necessary

export PYTHONPATH=/CAFFE/ROOT/python:$PYTHONPATH
export CAFFE_ROOT=/CAFFE/ROOT
export LD_LIBRARY_PATH=/opt/cuda/lib64:$LD_LIBRARY_PATH

add all export to /etc/environment or bash configuration file (e.g. .zshrc)


and

in /CAFFE/ROOT/

make pycaffe

'linux' 카테고리의 다른 글

zybo boot image  (0) 2018.07.02
device tree  (0) 2018.06.19
turn off beep sound on linux  (0) 2018.03.22
vivado GUI xserver permission error  (0) 2018.03.22
printing duplex problem on linux  (0) 2018.03.15

/etc/inputrc 파일에


set bell-style none

#set bell-style visible

#set bell-style audible

이거 아무소용없는듯...


그리고 shell에서 module을 끄는 명령어

rmmod pcspkr

이건 일시적


/etc/rc.conf

modprobe -r pcspkr

이건 재부팅 해봐야 알듯


xset b 0 0 0



'linux' 카테고리의 다른 글

device tree  (0) 2018.06.19
installing caffe  (0) 2018.04.03
vivado GUI xserver permission error  (0) 2018.03.22
printing duplex problem on linux  (0) 2018.03.15
install vivado on linux  (0) 2018.03.15

/vivado/installed/path/version/lnx64/tools/clang-3.9/lib 에 있는 libz.so.1 library가 잘못된듯하다

해당폴더에 있는 libz.so.1을 backup 용으로 libz.so.1.old로 바꿔주고

시스템에 있는 라이브러리인 /lib/libz.so.1을 소프트링크로 해당 폴더에 만들어주면된다. (sudo ln -s /lib/libz.so.1)


'linux' 카테고리의 다른 글

installing caffe  (0) 2018.04.03
turn off beep sound on linux  (0) 2018.03.22
printing duplex problem on linux  (0) 2018.03.15
install vivado on linux  (0) 2018.03.15
how to fix [not in the sudoers file.] error  (0) 2016.04.19

+ Recent posts