Using the Command-Line Link Tool
Use the command-line Link Tool provided by
to simplify building your application with
.
Intel® oneAPI Math Kernel Library
Intel® oneAPI Math Kernel Library
The tool not only provides the options, libraries, and environment variables to use, but also performs compilation and building of your application.
The tool
directory, and supports the modes described in the following table.
mkl_link_tool.exe
is installed in the
<mkl_directory>
\binMode
| Description
| Usage
| Example
|
---|---|---|---|
Inquiry
| The tool returns the compiler options, libraries, or environment variables necessary to build and execute the application.
| Get
Intel® oneAPI Math Kernel Library | mkl_link_tool -libs [oneMKL Link Tool options] |
Get compilation options
| mkl_link_tool -opts [oneMKL Link Tool options] | ||
Get environment variables for application executable
| mkl_link_tool -env [oneMKL Link Tool options] | ||
Compilation
| The
Intel® oneAPI Math Kernel Library | —
| mkl_link_tool [options] <compiler> [options2] file1 [file2 ...] where:
|
Interactive
| Allows you to go through all possible
Intel® oneAPI Math Kernel Library | —
| mkl_link_tool -interactive |
Use the
Link Tool and to show the defaults for the current system.
-help
option for full help with the
Intel® oneAPI Math Kernel Library