In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how to install Ubuntu14.04 BLAS, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.
Environment
System: Ubuntu 14.04 x64
CPU:Intel chip (if you want to install Intel MKL)
Brief introduction
BLAS, English full name Basic Linear Algebra Subprograms, is the basic linear algebra subroutine library, which has a large number of programs about linear algebraic operations. Caffe needs this library for matrix and vector operations, so it is necessary to compile caffa.
Installation package
The caffe website offers three options for blas libraries.
ATLAS
Free and open source, which is also used by default in the compilation file of caffe.
Web site: http://math-atlas.sourceforge.net/
Intel MKL
The library provided by intel, of course, must have an intel chip to use, and you need to register to get the serial number to install.
Web site: https://software.intel.com/en-us/intel-mkl
Installation package: parallel_studio_xe_2015_update2_2.tgz
OpenBLAS
It is also free and open source, but optimization and parallel installation can be troublesome.
Web site: http://www.openblas.net/
Install ATLAS
You can install it with one click, and the command is as follows. If you want to use the atlas library to compile caffe, set 'BLAS: = atlas'' in Makefile.config. In fact, this is the default. (installation is required, even if Intel MKL is installed, this dependency is needed when python installs scipy when you want to use pycaffe.)
Sudo apt-get install libatlas-base-devIntel MKL
Unzip the downloaded installation package, and then execute the following command, the graphical interface of the installation will pop up, and the installation process can be installed, in which you can be asked to enter the serial number. If registered correctly, the serial number should be sent to the registered mailbox. It will be installed in the'/ opt/intel' folder by default. If you want to use the mkl library to compile caffe, set 'BLAS: = mkl'' in Makefile.config.
Cd mkl_dirsudo. / install_GUI.sh
Add lib Library path
Sudo gedit / etc/ld.so.conf.d/intel_mkl.conf
Usually create a new file and add it to the file
/ opt/intel/lib/opt/intel/mkl/lib/intel64
Execute the following order to take effect immediately
Sudo ldconfigOpenBLAS
Because this installation is particularly troublesome, it is not necessary here, the first two software can fully meet the requirements, so do not write.
Make a mistake
The error of '32-bit libraries not found'' will be prompted during the installation of Intel MKL, as follows, but next continues to install without any impact in actual use.
32-bit libraries not found32-bit libraries not found on this system.This product release requires the presence of 32-bit compatibility libraries when running on Intel (R) 64 architecture systems. One or more of these libraries could not be found:libstdc++ (including libstdc++6) glibclibgccWithout these libraries, the compiler and the debugger will not function properly. Please refer to Release Notes for more information.
Thank you for reading this article carefully. I hope the article "how to install Ubuntu14.04 BLAS" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.