Linking on Intel(R) 64 Architecture Systems

The following examples illustrate linking that uses Intel(R) compilers.

The examples use the .f Fortran source file. C/C++ users should instead specify a .cpp (C++) or .c (C) file and replace ifort with icc

Note iconNote

If you successfully completed the Setting Environment Variables step of the Getting Started process, you can omit -I$MKLINCLUDE in all the examples and omit -L$MKLPATH in the examples for dynamic linking.

In these examples,
MKLPATH=$MKLROOT/lib
/intel64,
MKLINCLUDE=$MKLROOT/include
:

See Also


Submit feedback on this help topic