Ubuntu Science Computing Package Blas and LAPACK installation

Source: Internet
Author: User
Tags lapack

The package is a high-performance linear Algebra computing library, and two packages are generally interdependent, so choose to also describe their installation:

The official release is now lacpack-3.5.0.tgz, and the access method is the URL. But not open, Ubuntu general use

wget http://www.netlib.org/lapack/lapack-3.5.0.tgz

Unzip after download

TAR-ZXVF lapack-3.5. 0. tgz

before making, you need to create a make.inc file that you can create directly from Make.inc.example: CD lapack-3.5. 0 CP make.inc.example Make.inc If you are using Ubuntu+Gfortran, you do not have to change the contents of the Make.inc, otherwise you need to modify the corresponding options in the file according to the system environment and compiler. Lapack relies on Blas, so Blas package needs to be provided before compiling lapack, but Lapack package is already integrated, but it is not compiled by default. To compile the lapack before compiling the Blas, you need to modify the Makefile:gedit Makefile cursor to the 11th line and change the content to: Lib:blaslib lapacklib tmglib Save exit, and then start make the entire project. After the make compilation is complete, the directory will generate BLAS_LINUX.A, LAPACK_LINUX.A, and tmglib_linux.a three files.

Ubuntu Science Computing Package Blas and LAPACK installation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.