Skip Navigation Links | |
Exit Print View | |
Oracle Solaris Studio 12.3 Overview Oracle Solaris Studio 12.3 Information Library |
Oracle Solaris Studio 12.3 Overview
Introduction to Oracle Solaris Studio Software
Developer Workflow for Oracle Solaris Studio
Oracle Solaris Studio Compilers
OpenMP 3.1 for Parallel Programming
dmake Utility for Building Applications
Tools for Debugging Applications
Tools for Verifying Applications
Discover Tool for Detecting Memory Errors
Uncover Tool for Measuring Code Coverage
Code Analyzer Tool For Integrated Error Checking
Tools for Tuning Application Performance
Collect Performance Data With the Collector
Examine Performance Data With the Performance Analyzer
Examine Performance Data With the er_print Utility
Analyze Multithreaded Application Performance With the Thread Analyzer
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.