-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot find the boost library #114
Comments
@XiaoMaol , Hello, It's nice to know that you are using ck-caffe with mali GPU because I'm doing so :D
And when you install ck-caffe, the program will realize that you have 2 boost libraries on your system, so let's choose manually built version (v1.64 in this case) and bingo :) Hope this help I have installed ck-caffe on Odroid Xu4 which running ubuntu 16.04. I wonder how to install optimized blast version for mali GPU because when I chose blast for mali GPU and built caffe but failed. @psyhtest , Would you help me with this case? And I also have one more question that how can I use ck-caffe with float16, will it improve inference time? I'm intent on running YOLO for real time object detection using mali GPU and ck-caffe :) |
First of all, @XiaoMaol @dohai90, it's nice of you both to use CK-Caffe. Thanks for your interest! :) @XiaoMaol It's a bit weird that CK didn't offer to install Boost when it failed to find it in the system path ( Please try the following sequence of steps:
Does this resolve your issue? |
@dohai90, please try building Caffe w/ CLBlast with the above flags. I suspect your failure relates to this workaround not being enabled. If this doesn't help, please open a separate issue and provide more information. We don't yet support building Caffe with FP16, although the OpenCL branch already supports it. I'll open an enhancement request. It's cool you want to run YOLO! Have you already converted it to Caffe? Have you considered YOLO v2 as well? Really curios to hear about your results! |
I had a similar problem of finding boost library, and after following @psyhtest's guide, I solve the problem. |
@XiaoMaol, great to hear this worked for you. And you, @jialiang19. P.S. Wow! Your Odroid (XU4?) board has the OpenCL driver of revision 14.0, whereas the latest one can download from the ARM Mali drivers' page is 12.0... |
By the way, in the cases, when "correct" version of dependency such as Boost is installed in an unusual path, it is possible to detect it first (before installing Caffe via CK) while giving CK extra paths to search libraries like this:
and then continue installing Caffe via CK. Another note - rather than calling
Hope it's of any help and thanks again for your interest! |
@dohai90 @psyhtest, I get similar error of finding boost library when I use the command
the error message is
the boost include path in error message is CK-TOOLS subdirectory. I check this directory and I find only 7 files in folder
so I use the command
to rebuild this boost but not more file. is there anything wrong? |
@Lmy0217 You are using a wrong package
|
it's successfully installed, thanks. @psyhtest |
Dear all:
I currently trying to use ck-caffe to download caffe on my mali-GPU. After downloading the necessary components, I use the command

ck install package:lib-caffe-bvlc-opencl-clblast-universal --env.DISABLE_DEVICE_HOST_UNIFIED_MEMORY=ON --env.CK_HOST_CPU_NUMBER_OF_PROCESSORS=2
to download Caffe.But it seems that ck-caffe is trying to find Boost Library in a wrong directory:
I have download Boost in my own preferred location:
However, whenever I run the above mentioned command, ck tries to find the boost in the location
/usr/lib
and gives me following error message:I have tried to change the environment variable with
However, ck is still trying to find boost using the directory
/usr/lib
so I tried to get around the problem through soft-link by setting
so now,

ck install
could find the boost, but it cannot find certain boost_library, giving me the error message:and I am sure that I have the required library in the directory
Could you please give me some help? Thanks!
The text was updated successfully, but these errors were encountered: