Difference between revisions of "ATLAS"

From CBLFS
Jump to navigationJump to search
m
(Combined BLAS and LAPACK since ATLAS and uP vendors provide both.)
Line 7: Line 7:
 
| http://www.netlib.org/blas/blas.tgz (F77 source files only, see below)
 
| http://www.netlib.org/blas/blas.tgz (F77 source files only, see below)
 
|}
 
|}
= BLAS =
+
= Introduction to BLAS and LAPACK =
  
BLAS are '''B'''asic '''L'''inear '''A'''lgebra '''S'''ubprograms written in Fortran77.  There are Level 1 (scalar and vector operations), Level 2 (scalar-matrix operations) and Level 3 (matrix-matrix operations) subprograms.  They are available at [http://www.netlib.org/blas/ as tarballs] of F77 source files and are un-optimized for any particular architecture.  Use the second download source if you want or need these source files.  [[LAPACK]] can also provide un-optimized BLAS libraries if desired.
+
BLAS are '''B'''asic '''L'''inear '''A'''lgebra '''S'''ubprograms written in Fortran77.  There are Level 1 (scalar and vector operations), Level 2 (scalar-matrix operations) and Level 3 (matrix-matrix operations) subprograms.  They are available at [http://www.netlib.org/blas/ as tarballs] of F77 source files and are un-optimized for any particular architecture.  Use the second download source if you want or need these source files.
  
ATLAS (Automatically Tuned Linear Algebra Software) will provide C and F77 interfaces to a BLAS implementation optimized for a specific machine architecture.
+
LAPACK is a '''L'''inear '''A'''lgebra '''PACK'''age that provides routines for solving systems of simultaneous linear equations, least-squares solutions of linear systems of equations, eigenvalue problems, and singular value problems. The associated matrix factorizations (LU, Cholesky, QR, SVD, Schur, generalized Schur) are also provided, as are related computations such as reordering of the Schur factorizations and estimating condition numbers. Dense and banded matrices are handled, but not general sparse matrices. In all areas, similar functionality is provided for real and complex matrices, in both single and double precision.  LAPACK routines are written so that as much as possible of the computation is performed by calls to the BLAS.
  
The ideal source of BLAS and [[LAPACK]] libraries are those provided by the microprocesor vendor such as AMD's [[ACML]].  However, these are not provided under a license that allows re-distribution.
+
ATLAS (Automatically Tuned Linear Algebra Software) will provide C and FORTRAN interfaces to a BLAS and LAPACK implementation optimized for a specific machine architecture.  The ideal source of BLAS and LAPACK libraries are those provided by the microprocesor vendor such as AMD's [[ACML]].  However, these are not provided under a license that allows re-distribution without written consent from the vendor.
  
 
== Dependencies ==
 
== Dependencies ==
Line 27: Line 27:
 
     make
 
     make
  
The configuration is interactive.  Simply follow the instructions presented on the screen.
+
The configuration is interactive.  Simply follow the instructions presented on the screen.  If you've installed the FORTRAN provided by gcc-4.0.3 and later use '''gfortran''' when the configuration complains that the F77 version it finds is unsuitable.
  
 
Install the package:
 
Install the package:
  
     make install <TARGET_MAKEFILE>
+
     make install arch=<TARGET_MAKEFILE>
  
 
Where <TARGET_MAKEFILE> will be displayed at the completion of the previous step.
 
Where <TARGET_MAKEFILE> will be displayed at the completion of the previous step.
  
 
== Contents ==
 
== Contents ==

Revision as of 10:50, 12 December 2006

Download Source: http://www.netlib.org/atlas/atlas3.6.0.tgz
Download Source: http://www.netlib.org/blas/blas.tgz (F77 source files only, see below)

Introduction to BLAS and LAPACK

BLAS are Basic Linear Algebra Subprograms written in Fortran77. There are Level 1 (scalar and vector operations), Level 2 (scalar-matrix operations) and Level 3 (matrix-matrix operations) subprograms. They are available at as tarballs of F77 source files and are un-optimized for any particular architecture. Use the second download source if you want or need these source files.

LAPACK is a Linear Algebra PACKage that provides routines for solving systems of simultaneous linear equations, least-squares solutions of linear systems of equations, eigenvalue problems, and singular value problems. The associated matrix factorizations (LU, Cholesky, QR, SVD, Schur, generalized Schur) are also provided, as are related computations such as reordering of the Schur factorizations and estimating condition numbers. Dense and banded matrices are handled, but not general sparse matrices. In all areas, similar functionality is provided for real and complex matrices, in both single and double precision. LAPACK routines are written so that as much as possible of the computation is performed by calls to the BLAS.

ATLAS (Automatically Tuned Linear Algebra Software) will provide C and FORTRAN interfaces to a BLAS and LAPACK implementation optimized for a specific machine architecture. The ideal source of BLAS and LAPACK libraries are those provided by the microprocesor vendor such as AMD's ACML. However, these are not provided under a license that allows re-distribution without written consent from the vendor.

Dependencies

Optional

  • gcc-3.X.X Benchmarking by the ATLAS maintainers indicates that, with the exception of Core Duo and Pentium M, compiling ATLAS with gcc-3.X produces better x87 code than gcc-4.X.

Non-Multilib or Multilib

Compile the package:

   make

The configuration is interactive. Simply follow the instructions presented on the screen. If you've installed the FORTRAN provided by gcc-4.0.3 and later use gfortran when the configuration complains that the F77 version it finds is unsuitable.

Install the package:

   make install arch=<TARGET_MAKEFILE>

Where <TARGET_MAKEFILE> will be displayed at the completion of the previous step.

Contents