Go to main content
Oracle® Developer Studio 12.5: Performance Library User's Guide

Exit Print View

Updated: June 2016
 
 

Using the Oracle Developer Studio Performance Library

The Oracle Developer Studio Performance Library was compiled using the f95 compiler provided with this release. The Oracle Developer Studio Performance Library routines were compiled using -dalign, -xparallel.

Linking Fortran Programs

When linking the program, use -dalign -library=sunperf and the same command line options that were used when compiling.

Oracle Developer Studio Performance Library is linked into an application with the -library switch rather than the -l switch that is used to link in other libraries, as shown here.

my_system% f95 -dalign my_file.f -library=sunperf

Linking C and C++ Programs

When linking your program, use -library=sunperf and the same command line options that were used when compiling. If you compile on a SPARC system, include the option -xmemalign=8s as shown here. The -xmemalign=8s option is ignored on x86 and x64 platforms.

my_system% cc -xmemalign=8s my_file.c -library=sunperf
my_system% CC -xmemalign=8s my_file.cpp -library=sunperf

If -dalign or -xmemalign=8s cannot be used for compilation, supply a trap 6 handler as described in Enabling Trap 6 on SPARC Platforms.