Sun Performance Library

From ACENET
Jump to: navigation, search
Short Description: Sun Performance Library is a set of optimized, high-speed mathematical subroutines for solving linear algebra and other numerically intensive problems. Sun Performance Library is based on a collection of public domain applications available from Netlib [1]. Sun has enhanced these public domain applications and bundled them as the Sun Performance Library.
Libraries:
  • LAPACK version 3.0 – For solving linear algebra problems.
  • BLAS1 (Basic Linear Algebra Subprograms) – For performing vector-vector operations.
  • BLAS2 – For performing matrix-vector operations.
  • BLAS3 – For performing matrix-matrix operations.
  • FFTPACK - fast Fourier transform of periodic and other symmetric sequences.
  • NIST SparseBLAS - Sparse Basic Linear Algebra Subprograms (BLAS) Library
Version: Part of Sun Studio 12
Location: /opt/sun/sunstudio12/prod/lib/amd64/
Usage: for FORTRAN code, include USE SUNPERF in your code, for example::
  SUBROUTINE SUB(N,ALPHA,X,Y) 
  USE SUNPERF 
  INTEGER(8) N 
  REAL(8) ALPHA, X(N), Y(N) 
  ! EQUIVALENT TO DAXPY_64(N,ALPHA,X,1_8,Y,1_8) 
  CALL AXPY_64(ALPHA=ALPHA,X=X,Y=Y) 
  END

and then compile with the -dalign and -xlic_lib=sunperf flags:

 f95 -dalign my_file.f -xlic_lib=sunperf

for C code, the Sun Performance Library contains native C interfaces for each of the routines contained in BLAS. Make sure to compile with the -dalign and -xlic_lib=sunperf flags:

 cc -dalign my_file.c -xlic_lib=sunperf

See the Sun Performance Library User's Guide.

Documentation: Sun Performance Library User's Guide
NIST Sparse BLAS
FFTPACK from Netlib