ScaLAPACK, Cluster FFT, and Cluster Sparse Solver support MPI implementations identified in the
Intel® oneAPI Math Kernel Library
To link a program that calls ScaLAPACK, Cluster FFT, or Cluster Sparse Solver, you need to know how to link a message-passing interface (MPI) application first.
Use mpi scripts to do this. For example, mpicc or mpif77 are C or FORTRAN 77 scripts, respectively, that use the correct MPI header files. The location of these scripts and the MPI library depends on your MPI implementation. For example, for the default installation of MPICH
are the compiler scripts and
is the MPI library.
Check the documentation that comes with your MPI implementation for implementation-specific details of linking.
To link with ScaLAPACK, Cluster FFT, and/or Cluster Sparse Solver, use the following
where the placeholders stand for paths and libraries as explained in the following table:
<MKL cluster library>
One of libraries for ScaLAPACK or Cluster FFT and appropriate architecture and programming interface (LP64 or ILP64). Available libraries are listed in
Appendix C: Directory Structure in Detail. For example, for the LP64 interface, it is
. Cluster Sparse Solver does not require an additional computation library.
A linker script that corresponds to the MPI version.
For example, if you are using Intel MPI, want to statically link with ScaLAPACK using the LP64 interface, and have only one MPI process per core (and thus do not use threading), specify the following linker options: