Developer Guide

Contents

Examples for Linking a Fortran Application

These examples illustrate linking of an application under the following conditions:
  • Main module is in Fortran.
  • Microsoft Windows Compute Cluster Pack SDK is installed in
    c:\MS CCP SDK
    .
  • You are using the Intel® Fortran Compiler.
  • Intel® oneAPI Math Kernel Library
    functions use LP64 interfaces.
To link with ScaLAPACK for a cluster of Intel® 64 architecture based systems, set the environment variable and use the link line as follows:
set lib="c:\MS CCP SDK\Lib\AMD64";
<mkl directory>
\lib\intel64
_win
;%lib%
ifort
<user files to link>
mkl_scalapack_lp64.lib mkl_blacs_mpich2_lp64.lib mkl_intel_lp64.lib mkl_intel_thread.lib mkl_core.lib libiomp5md.lib msmpi.lib bufferoverflowu.lib
MPICH2 is deprecated and will be removed from a future release of the product.
To link with Cluster FFT for a cluster of Intel® 64 architecture based systems, set the environment variable and use the link line as follows:
set lib="c:\MS CCP SDK\Lib\AMD64";
<mkl directory>
\lib\intel64
_win
;%lib%
ifort
<user files to link>
mkl_cdft_core.lib mkl_blacs_mpich2_lp64.lib mkl_intel_lp64.lib mkl_intel_thread.lib mkl_core.lib libiomp5md.lib msmpi.lib bufferoverflowu.lib
To link with Cluster Sparse Solver for a cluster of Intel® 64 architecture based systems, set the environment variable and use the link line as follows:
set lib="c:\MS CCP SDK\Lib\AMD64";
<mkl directory>
\lib\intel64
_win
;%lib%
ifort
<user files to link>
mkl_blacs_mpich2_lp64.lib mkl_intel_lp64.lib mkl_intel_thread.lib mkl_core.lib libiomp5md.lib msmpi.lib bufferoverflowu.lib

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.