Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Rogue Wave Component Builder (RCB): Building Your Applications
Rogue Wave web site:  Home Page  |  Main Documentation Page

7.2 BLA Library Dependency

Select which Basic Linear Algebra (BLA) library to use, which is required by the Math Module. Note: Intel MKL and Sun SPL are performance-enhanced libraries for their respective platforms.

When creating your buildspec in RCB, you choose the Basic Linear Algebra (BLA) library your applications will use:

When configuring your build, which BLA libraries are available for selection depends on the chosen platform.

7.2.1 Windows

On Windows, you have the choice of using the SourcePro C++ BLA library or the MKL BLA library.

7.2.1.1 SourcePro C++ BLA Library

If you select the SourcePro C++ BLA library when defining the buildspec, the BLA library is in the buildspace lib directory, with a name such as bla8s.lib. When you build your applications, be sure to link in this BLA library.

7.2.1.2 MKL BLA Library

If you select the MKL library when defining the buildspec, you must specify the libraries to be used by the compiler.

SourcePro C++ supplies the MKL libraries with the Essential Math Module distribution. RCB takes care of making the MKL libraries available when it builds the Essential Math Module library.

When building your applications, the MKL libraries must be accessible. There are two ways you can ensure accessibility:

The libraries below indicate the MKL libraries that are required for different environment choices. One of these options must in your link line.

Windows - Static Linking 32-bit

Libraries are located in buildspace\3rdparty\mkl\mkl7.2\winos\ia32\lib. The buildspace is the directory where the product is installed.

Windows - Dynamic Linking 32-bit

Libraries are located in buildspace\3rdparty\mkl\mkl7.2\winos\ia32\lib and DLLs are located in buildspace\3rdparty\mkl\mkl7.2\winos\ia32\bin (PATH variable must contain this path). The buildspace is the directory where the product is installed.

7.2.2 UNIX

7.2.2.1 Most UNIX Platforms

Excluding Solaris and Linux, you must use the SourcePro C++ BLA library on UNIX platforms.

When you build your applications, you must link in the SourcePro C++ BLA library located in the buildspace lib directory, with a name such as bla8s.lib.

7.2.2.2 Linux

You have the choice of using the SourcePro C++ BLA library or the MKL BLA library on a Linux platform.

The libraries below indicate the MKL libraries that must appear in your link line, depending on your environment choices.

Linux - Static Linking 32-bit

Libraries are located in buildspace/3rdparty/mkl/mkl7.2/linux/lib/32. The buildspace is the directory where the product is installed.

Linux - Dynamic Linking 32-bit

Libraries are located in buildspace/3rdparty/mkl/mkl7.2/linux/lib/32. The buildspace is the directory where the product is installed.

7.2.2.3 Solaris

You have the choice of using the SourcePro C++ BLA library or the Sun Performance Library, SPL on a Solaris platform.

You must install SPL before you can select it. You must get the compiler from the Sun web site, www.sun.com.

With SPL, you do not need to provide the names of the libraries, but you do need to add the following flags to your compile and link lines:



Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.