fortran66のブログ

fortran について書きます。

チラシ裏

MKLメモ

MKL\10.1.1.022\doc\userguide.pdf

Configuring Intel® Visual Fortran to Link with Intel MKL
To ensure that Intel® Visual Fortran (IVF) works correctly with Intel MKL, perform the
following steps:
1. Select Project > Properties > Linker > General > Additional Library Directories. Add the architecture-specific lib folder, for example, \ia32\lib.
2. Select Project > Properties > Linker > Input > Additional Dependencies. Insert mkl_c.lib and libguide.lib.

tool->option->Intel Visual Fortran->Compiler =>LIB_DIR
C:\Program Files (x86)\Intel\Compiler\11.0\072\fortran\mkl\em64t\lib
C:\Program Files (x86)\Intel\Compiler\11.0\072\fortran\mkl\ia32\lib

Linking Examples
The section provides specific examples of linking supporting Intel® compilers on systems
based on IA-32 and Intel® 64 architectures. See also examples on linking with ScaLAPACK
and Cluster FFT in chapter 9.
For more linking examples, see the Intel MKL support website at
http://www.intel.com/support/performancetools/libraries/mkl/.

Linking on systems based on IA-32 architecture
1. Static linking of user’s code myprog.f and parallel Intel MKL supporting cdecl
interface:
ifort myprog.f mkl_intel_c.lib mkl_intel_thread.lib mkl_core.lib libiomp5md.lib
2. Dynamic linking of user’s code myprog.f and parallel Intel MKL supporting cdecl
interface:
ifort myprog.f mkl_intel_c_dll.lib mkl_intel_thread_dll.lib mkl_core_dll.lib libiomp5md.lib
3. Static linking of user’s code myprog.f and sequential version of Intel MKL supporting
cdecl interface:
ifort myprog.f mkl_intel_c.lib mkl_sequential.lib mkl_core.lib
4. Dynamic linking of user’s code myprog.f and sequential version of Intel MKL
supporting cdecl interface:
ifort myprog.f mkl_intel_c_dll.lib mkl_sequential_dll.lib mkl_core_dll.lib
5. Static linking of user code myprog.f and parallel Intel MKL supporting stdcall
interface:
ifort myprog.f mkl_intel_s.lib mkl_intel_thread.lib mkl_core.lib libiomp5md.lib
6. Dynamic linking of user code myprog.f and parallel Intel MKL supporting stdcall
interface:
ifort myprog.f mkl_intel_s_dll.lib mkl_intel_thread_dll.lib mkl_core_dll.lib libiomp5md.lib
7. Static linking of user’s code myprog.f, Fortran 95 LAPACK interface1, and parallel Intel
MKL supporting cdecl interface:
ifort myprog.f mkl_lapack95.lib mkl_intel_c.lib mkl_intel_thread.lib mkl_core.lib libiomp5md.lib
8. Static linking of user’s code myprog.f, Fortran 95 BLAS interface1, and parallel Intel
MKL supporting cdecl interface:
ifort myprog.f mkl_blas95.lib mkl_intel_c.lib mkl_intel_thread.lib mkl_core.lib libiomp5md.lib
9. Static linking of user’s code myprog.f, parallel version of an iterative sparse solver,
and parallel Intel MKL supporting cdecl interface:
ifort myprog.f mkl_solver.lib mkl_intel_c.lib mkl_intel_thread.lib mkl_core.lib libiomp5md.lib
10. Static linking of user’s code myprog.f, sequential version of an iterative sparse solver,
and sequential Intel MKL supporting cdecl interface:
ifort myprog.f mkl_solver_sequential.lib mkl_intel_c.lib mkl_sequential.lib mkl_core.lib
Linking on systems based on Intel® 64 architecture
1. Static linking of user’s code myprog.f and parallel Intel MKL supporting LP64
interface:
ifort myprog.f mkl_intel_lp64.lib mkl_intel_thread.lib mkl_core.lib libiomp5md.lib
2. Dynamic linking of user’s code myprog.f and parallel Intel MKL supporting LP64
interface:
ifort myprog.f mkl_intel_lp64_dll.lib mkl_intel_thread_dll.lib mkl_core_dll.lib libiomp5md.lib
3. Static linking of user’s code myprog.f and sequential version of Intel MKL supporting
LP64 interface:
ifort myprog.f mkl_intel_lp64.lib mkl_sequential.lib mkl_core.lib
4. Dynamic linking of user’s code myprog.f and sequential version of Intel MKL
supporting LP64 interface:
ifort myprog.f mkl_intel_lp64_dll.lib mkl_sequential_dll.lib mkl_core_dll.lib
5. Static linking of user’s code myprog.f and parallel Intel MKL supporting ILP64
interface:
ifort myprog.f mkl_intel_ilp64.lib mkl_intel_thread.lib mkl_core.lib libiomp5md.lib
1. See “Fortran 95 Interfaces and Wrappers to LAPACK and BLAS” for information on how to build
Fortran 95 LAPACK and BLAS interface libraries.
5-6
5 Intel® Math Kernel Library User’s Guide
6. Dynamic linking of user’s code myprog.f and parallel Intel MKL supporting ILP64
interface:
ifort myprog.f mkl_intel_ilp64_dll.lib mkl_intel_thread_dll.lib mkl_core_dll.lib libiomp5md.lib
7. Static linking of user’s code myprog.f, Fortran 95 LAPACK interface1, and parallel Intel
MKL supporting LP64 interface:
ifort myprog.f mkl_lapack95.lib mkl_intel_lp64.lib mkl_intel_thread.lib mkl_core.lib ibiomp5md.lib
8. Static linking of user’s code myprog.f, Fortran 95 BLAS interface1, and parallel Intel
MKL supporting LP64 interface:
ifort myprog.f mkl_blas95.lib mkl_intel_lp64.lib mkl_intel_thread.lib mkl_core.lib libiomp5md.lib
9. Static linking of user’s code myprog.f, parallel version of an iterative sparse solver,
and parallel Intel MKL supporting LP64 interface:
ifort myprog.f mkl_solver_lp64.lib mkl_intel_lp64.lib mkl_intel_thread.lib mkl_core.lib libiomp5md.lib
10. Static linking of user’s code myprog.f, sequential version of an iterative sparse solver,
and sequential Intel MKL supporting LP64 interface:
ifort myprog.f mkl_solver_lp64_sequential.lib mkl_intel_lp64.libmkl_sequential.lib mkl_core.lib