Skip to content
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

Caffe with OpenBlas #314

Closed
AlOa opened this issue Apr 11, 2014 · 6 comments
Closed

Caffe with OpenBlas #314

AlOa opened this issue Apr 11, 2014 · 6 comments

Comments

@AlOa
Copy link
Contributor

AlOa commented Apr 11, 2014

Hi,
If someone is interested I succeeded in compile caffe (dev branch) with OpenBlas without changing the code. The only modification is in the makefile I changed the line 188
LIBRARIES += cblas atlas
with
LIBRARIES += opeblas

@kloudkl
Copy link
Contributor

kloudkl commented Apr 11, 2014

Sounds good. It is nice to make OpenBLAS into Caffe which #305 and #82 did not finish thoroughly.

Please open a pull request.

@shelhamer
Copy link
Member

Merged. Thanks @AlOa and thanks for the earlier suggestion @kloudkl.

@jamt9000
Copy link
Contributor

At least on Ubuntu (using the alternatives system) /usr/lib/libblas.so is symlinked to /usr/lib/openblas-base/libopenblas.so, meaning that with just 'blas' everything should work properly (whereas specifying 'openblas' explicitly requires fiddling with environment variables and LIBRARY_DIRS in Makefile.config)

@instagibbs
Copy link

Nevermind, the keyword 'blas' instead of 'openblas' fixed it. Great!

@AlOa
Copy link
Contributor Author

AlOa commented May 6, 2014

Hi.
what kind of error you get? If you install the openblas/atlas in non
standard directory you must specify BLAS_INCLUDE and BLAS_LIB in the
Makefile.config

On Fri, May 2, 2014 at 10:26 PM, instagibbs notifications@github.comwrote:

I can't get the make all to work with openblas, cblas, or atlas. Keeps
telling me it cannot find the package, even though I'm sure they're all
installed.

Any tips?


Reply to this email directly or view it on GitHubhttps://github.com//issues/314#issuecomment-42075404
.

@shelhamer shelhamer mentioned this issue May 20, 2014
shelhamer added a commit to shelhamer/caffe that referenced this issue Jul 14, 2014
shelhamer added a commit that referenced this issue Jul 30, 2014
OpenBLAS is most easily configured by `update-alternatives` or other
symlink strategies.

See #314 (comment)
@ozancaglayan
Copy link
Contributor

Linking to blas instead of openblas breaks builds with a manually installed OpenBLAS.

mitmul pushed a commit to mitmul/caffe that referenced this issue Sep 30, 2014
OpenBLAS is most easily configured by `update-alternatives` or other
symlink strategies.

See BVLC#314 (comment)
RazvanRanca pushed a commit to RazvanRanca/caffe that referenced this issue Nov 4, 2014
OpenBLAS is most easily configured by `update-alternatives` or other
symlink strategies.

See BVLC#314 (comment)
aiworld pushed a commit to aiworld/aiworld.github.com that referenced this issue Feb 28, 2015
OpenBLAS is most easily configured by `update-alternatives` or other
symlink strategies.

See BVLC/caffe#314 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants