The Java examples support all the C and C++ compilers that the Intel(R) Math Kernel Library (Intel(R) MKL) does. The makefile intended to run the examples also needs the make utility, which is typically provided with the Linux* OS distribution.
To run Java examples, the JDK* developer toolkit is required for compiling and running Java code. A Java implementation must be installed on the computer or available via the network. You may download the JDK from the vendor website.
The examples should work for all versions of JDK. However, they were tested only with the following Java implementation s for all the supported architectures:
Note that the Java run-time environment* (JRE*) system, which may be pre-installed on your computer, is not enough. You need the JDK* developer toolkit that supports the following set of tools:
To make these tools available for the examples makefile, set the JAVA_HOME environment variable and add the JDK binaries directory to the system PATH, for example , using the bash shell:
export JAVA_HOME=/home/<user name>/jdk1.5.0_09
export PATH=${JAVA_HOME}/bin:${PATH}
You may also need to clear the JDK_HOME environment variable, if it is assigned a value:
unset JDK_HOME
To start the examples, use the makefile found in the Intel MKL Java examples directory:
make {soia32|sointel64 |libia32|libintel64 } [function=...] [compiler=...]
If you type the make command and omit the target (for example, soia32), the makefile prints the help info, which explains the targets and parameters.
For the examples list, see the examples.lst file in the Java examples directory.
Optimization Notice |
---|
The Intel® Math Kernel Library (Intel® MKL) contains functions that are more highly optimized for Intel microprocessors than for other microprocessors. While the functions in Intel® MKL offer optimizations for both Intel and Intel-compatible microprocessors, depending on your code and other factors, you will likely get extra performance on Intel microprocessors. While the paragraph above describes the basic optimization approach for Intel® MKL as a whole, the library may or may not be optimized to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include Intel® Streaming SIMD Extensions 2 (Intel® SSE2), Intel® Streaming SIMD Extensions 3 (Intel® SSE3), and Supplemental Streaming SIMD Extensions 3 (Intel® SSSE3) instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Intel recommends that you evaluate other library products to determine which best meets your requirements. |
Copyright © 2006 - 2010, Intel Corporation. All rights reserved.