|Skip Navigation Links|
|Exit Print View|
|Oracle Solaris Studio 12.3 Overview Oracle Solaris Studio 12.3 Information Library|
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 subroutines available from Netlib at http://www.netlib.org. Sun enhanced these public domain subroutines and bundled them as the Sun Performance Library.
Sun Performance Library routines can increase application performance on both serial and multiprocessor (MP) platforms, because the serial speed of many Sun Performance Library routines has been increased, and many routines have been parallelized. Sun Performance Library routines also have SPARC and AMD specific optimizations that are not present in the base Netlib libraries, including extension that support Fortran 95 and C language interfaces.
The Sun Performance Library is linked into an application with the -library switch instead of the -l switch that is used to link other libraries.
To compile Fortran source that uses Performance Library routines:
% f95 -dalign filename.f -library=sunperf
The -dalign option is required because this option was used to compile the Performance Library to control the alignment of data.
To compile C or C++ source that uses Performance Library routines:
% cc filename.c -library=sunperf % CC filename.cpp -library=sunperf
To compile and link statically so that you can deploy the application to a system that does not have the Sun Performance Library, you must use the options -library=sunperf and -staticlib=sunperf.
For complete information about using the Sun Performance Library, see the Oracle Solaris Studio 12.2: Sun Performance Library User’s Guide. For man pages for each function and subroutine in the library, see section 3p of the Oracle Solaris Studio man pages. For new and changed features, software corrections, known problems, limitations, and incompatibilities of the current release of the Sun Performance Library, see What’s New in the Oracle Solaris Studio 12.3 Release.