Libraries on NYBlue/L

Basic Linear Algebra Subprograms (BLAS)

The Basic Linear Algebra Subprograms (BLAS) are routines that provide standard building blocks for performing basic vector and matrix operations.

The archive libblas.rts.a has been compiled from the f77 source code downloaded from http://www.netlib.org/blas/ using blrts_xlf v10.1

    blrts_xlf  -O3 -qhot -qarch=440 -qtune=440 -qmaxmem=-1 -qstrict 
          

To link against the BLAS library add the following at the link step:

   -L/bgl/local/lib -lblas.rts
          

Top of Page

Basic Linear Algebra Communication Subprograms (BLACS)

The Basic Linear Algebra Communication Subprograms (BLACS) provide a linear algebra oriented message passing interface.
The archives have been compiled from the source code downloaded from http://www.netlib.org/blacs/
To link with the BLACS libraries add the following at your link step:

   -L/bgl/local/lib -lblacs_MPI-BGL-0 -lblacsF77init_MPI-BGL-0 -lblacsCinit_MPI-BGL-0
          

Top of Page

Linear Algebra Package (LAPACK)

The LAPACK library contains 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.

To link against the lapack library, add the following at the link step:

-L/bgl/local/lib -llapack.rts

Additional Information

Top of Page

Engineering and Scientific Subroutine Library (ESSL)

IBM's ESSL for SLES on POWER (v4.2.5) that supports Blue Gene/L has been installed on the Front-End Node. ESSL provides over 150 math subroutines (Linear Algebra, Matrix operations, Sorting and Searching, FFT, Random Number Generator, etc.) that have been specifically tuned for performance on BG/L.

ESSL subroutines are for Serial code. Parallel ESSL (PESSL) in not available on the Blue Gene/L. SCALAPAC provides parallel subroutines available on the Blue Gene/L.

The ESSL routines have been installed on the Front-End host under /opt/ibmmath/lib and the header files under /opt/ibmmathc/include. Thus, to link your code to the ESSL library you should use (Fortran):
blrts_xlf example.f -L/opt/ibmmath/lib -lesslbg

Information on the ESSL subroutines is available on the command line of the Front-End host using the installed man pages. For example, to obtain a description of the subroutine sasum, type: man sasum

Additional Information

Top of Page

Mathematical Acceleration Subsystem (MASS) for Blue Gene/L

Mathematical Acceleration Subsystem (MASS) for Blue Gene/L consists of libraries of mathematical intrinsic functions tuned specifically for optimum performance on Blue Gene/L. These libraries offer improved performance over the standard mathematical library routines, are thread-safe, and support 32-bit compilations in C, C++, and Fortran applications.

MASS v4.3 (scalar and vector) libraries has been installed on the Front-End node under: /opt/ibmmath/mass/v4.3 and also under /opt/ibmcmp/xlmass/bg/4.3/. In the later location, the subdirectory blrts_lib contains the "cross-compiled" versions of the libraries. The lib and lib64 subdirectories contain the "native" versions (for executables that will run on the Front-End node, not on the Blue Gene Compute Nodes).

Chapter 3 of the (pdf) Using the XL Compilers for Blue Gene Guide provides detailed instructions on how to compile and link your code to the MASS libraries.

Additional Information

Top of Page

Last Modified: Tuesday, April 15, 2008
Please forward all questions about this site to: NYBlue Web Administrator


DOEOne of ten national laboratories overseen and primarily funded by the Office of Science of the U.S. Department of Energy (DOE), Brookhaven National Laboratory conducts research in the physical, biomedical, and environmental sciences, as well as in energy technologies and national security. Brookhaven Lab also builds and operates major scientific facilities available to university, industry and government researchers. Brookhaven is operated and managed for DOE’s Office of Science by Brookhaven Science Associates, a limited-liability company founded by Stony Brook University, the largest academic user of Laboratory facilities, and Battelle, a nonprofit, applied science and technology organization.

Privacy and Security Notice