amd / OpenCL-caffe

This is a Experimental version of OpenCL by AMD Research, we now recommend you to use The official BVLC Caffe OpenCL branch is over at Caffe branch now at https://github.com/BVLC/caffe/tree/opencl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error while using matcaffe

Buu-Boudy opened this issue · comments

Hi
When I use

$ make matcaffe
I recieve the following error

MEX matlab/+caffe/private/caffe_.cpp
Warning: Legacy MEX infrastructure is provided for compatibility; it will be removed in a future version 
of MATLAB. For more information, consult the MEX release notes http://www.mathworks.com/help/matlab/release-notes.html.

/usr/bin/ld: skipping incompatible /opt/AMDAPPSDK-3.0/lib/x86/libOpenCL.so when searching for 
-lOpenCL

/usr/bin/ld: cannot find -lOpenCL

/usr/bin/ld: cannot find -lclBLAS

collect2: error: ld returned 1 exit status

mex: link of ' "matlab/+caffe/private/caffe_.mexa64"' failed.


make: *** [matlab/+caffe/private/caffe_.mexa64] Error 255

I really appreciate any help you can provide

Hi,

Sorry for late reply.

It seems that you did not have OpenCL library and clBLAS library.

Did you follow the instructions on github twiki to build it?

Thanks a lot.

Junli

On Feb 23, 2016, at 4:24 AM, Buu-Boudy notifications@github.com wrote:

Hi
When I use

$ make matcaffe
I recieve the following error

MEX matlab/+caffe/private/caffe_.cpp
Warning: Legacy MEX infrastructure is provided for compatibility; it will be removed in a future version
of MATLAB. For more information, consult the MEX release notes http://www.mathworks.com/help/matlab/release-notes.html.

/usr/bin/ld: skipping incompatible /opt/AMDAPPSDK-3.0/lib/x86/libOpenCL.so when searching for
-lOpenCL

/usr/bin/ld: cannot find -lOpenCL

/usr/bin/ld: cannot find -lclBLAS

collect2: error: ld returned 1 exit status

mex: link of ' "matlab/+caffe/private/caffe_.mexa64"' failed.

make: *** [matlab/+caffe/private/caffe_.mexa64] Error 255
I really appreciate any help you can provide


Reply to this email directly or view it on GitHub #33.