Skip to content

Conversation

@shelhamer
Copy link
Member

This documents BLAS choices, fixes the ATLAS BLAS / non-MKL build configuration, and otherwise eases installation by automatically configuring the build according to the platform.

  • document BLAS choices (ATLAS and MKL supported, OpenBLAS for the adventurous)
  • include commands for ATLAS installation
  • detect platform in Makefile by uname
  • correct cblas/atlas linking on OS X (needs -framework vecLib and other details)
  • possibly split Makefile.config into Makefile.config.linux and Makefile.config.osx (as once suggested by @sguada) No need, given that the Makefile now makes the proper choices.

- set cxx as needed (clang++ on os x)
- set stdlib flag for os x 10.9 (CUDA libc++ workaround)
- link ATLAS properly for non-MKL installation whether linux or os x
@shelhamer
Copy link
Member Author

@jeffdonahue please check my Makefile etiquette since you recently improved it to the "Pretty hacky" level and merge if it lookds good.

@jeffdonahue
Copy link
Contributor

Looks good to me!

jeffdonahue added a commit that referenced this pull request Apr 9, 2014
Document BLAS install, tailor Makefile and Makefile.config to platform
@jeffdonahue jeffdonahue merged commit d09f023 into BVLC:dev Apr 9, 2014
@shelhamer shelhamer deleted the install-doc-blas-platform branch April 9, 2014 20:32
@kloudkl kloudkl mentioned this pull request Apr 11, 2014
shelhamer added a commit to shelhamer/caffe that referenced this pull request Apr 15, 2014
- configure build for ATLAS, MKL, or OpenBLAS on Linux and OSX
- allow overriding of the include or lib dirs
- replace magic numbers with BLAS names (atlas, mkl, open)

Follow-up from BVLC#305 and BVLC#325.
@shelhamer shelhamer mentioned this pull request May 20, 2014
mitmul pushed a commit to mitmul/caffe that referenced this pull request Sep 30, 2014
Document BLAS install, tailor Makefile and Makefile.config to platform
mitmul pushed a commit to mitmul/caffe that referenced this pull request Sep 30, 2014
- configure build for ATLAS, MKL, or OpenBLAS on Linux and OSX
- allow overriding of the include or lib dirs
- replace magic numbers with BLAS names (atlas, mkl, open)

Follow-up from BVLC#305 and BVLC#325.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants