Developer Guide for Intel® oneAPI Math Kernel Library for Windows*
Using the Command-Line Link Tool
Use the command-line Link Tool provided by Intel® oneAPI Math Kernel Library (oneMKL) to simplify building your application with Intel® oneAPI Math Kernel Library (oneMKL) .
The tool not only provides the options, libraries, and environment variables to use, but also performs compilation and building of your application.
The tool mkl_link_tool.exe is installed in the <mkl_directory>bin directory, and supports the modes described in the following table.
oneMKL Command-Line Link Tool Modes
Mode |
Description |
Usage |
Example |
|---|---|---|---|
Inquiry |
The tool returns the compiler options, libraries, or environment variables necessary to build and execute the application. |
|
|
Compilation |
The Intel® oneAPI Math Kernel Library (oneMKL) Link Tool builds the application. |
— |
mkl_link_tool [options] <compiler> [options2] file1 [file2 …] where:
|
Interactive (DEPRECATED) |
Allows you to go through all possible Intel® oneAPI Math Kernel Library (oneMKL) Link Tool supported options. The output provides libraries, options, or environment variables as in the inquiry mode, or a built application as in the compilation mode (depending on what you specify). |
— |
mkl_link_tool -interactive |
Use the -help option for full help with the Intel® oneAPI Math Kernel Library (oneMKL) Link Tool and to show the defaults for the current system.