19.08.2015 Views

Using MKL, the Intel Math Kernel Library (v11.0.0.079) - ICHEC

Using MKL, the Intel Math Kernel Library (v11.0.0.079) - ICHEC

Using MKL, the Intel Math Kernel Library (v11.0.0.079) - ICHEC

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Linking examplesOne should note <strong>the</strong> dummy libraries mkl_intel, mkl_gf, mkl_scalapack, are just pointing to <strong>the</strong> _lp64 libraries.Fur<strong>the</strong>r details about <strong>the</strong> libraries contained by <strong>MKL</strong> can be found in <strong>the</strong> “<strong>Intel</strong> <strong>MKL</strong> User Guide”:http://registrationcenter.intel.com/irc_nas/2690/mkl_userguide_lnx.pdfOn stokes and/or stoney you will need to load <strong>the</strong> following modules intel-cc and/or intel-fc, intel-mkl and mvapich2-intel for <strong>the</strong> distributed version. The $<strong>MKL</strong>ROOT variable is defined when <strong>the</strong> <strong>MKL</strong> module is loaded and will correspond toa given version of <strong>the</strong> <strong>MKL</strong> e.g. it may be set to: /ichec/packages/intel/composerxe_mkl/2013.0.079/mkl.Sequential and Threaded:intel_lp64, sequential, this example will link all <strong>the</strong> domain specific functions available in <strong>MKL</strong> which do not need anyextra libraries or interfaces, e.g. BLAS, FFT, VML.Dynamic-L$<strong>MKL</strong>ROOT/lib/intel64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthreadStatic-L$<strong>MKL</strong>ROOT/lib/intel64 -Wl,--start-group$<strong>MKL</strong>ROOT/lib/intel64/libmkl_intel_lp64.a $<strong>MKL</strong>ROOT/lib/intel64/libmkl_sequential.a$<strong>MKL</strong>ROOT/lib/intel64/libmkl_core.a -Wl,--end-group -lpthreadintel_lp64, intel_threads, iomp5Dynamic-L$<strong>MKL</strong>ROOT/lib/intel64 -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -liomp5 -lpthreadStatic$<strong>MKL</strong>ROOT/lib/intel64 -Wl,--start-group$<strong>MKL</strong>ROOT/lib/intel64/libmkl_intel_lp64.a $<strong>MKL</strong>ROOT/lib/intel64/libmkl_intel_thread.a$<strong>MKL</strong>ROOT/lib/intel64/libmkl_core.a -Wl,--end-group -liomp5 -lpthreadLapack, intel_lp64, intel_threads, iomp5Dynamic-L$<strong>MKL</strong>ROOT/lib/intel64 -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -liomp5 -lpthread -lmStatic-L$<strong>MKL</strong>ROOT/lib/intel64 -Wl,--start-group$<strong>MKL</strong>ROOT/lib/intel64/libmkl_intel_lp64.a $<strong>MKL</strong>ROOT/lib/intel64/libmkl_intel_thread.a$<strong>MKL</strong>ROOT/lib/intel64/libmkl_core.a -Wl,--end-group -liomp5 -lpthread -lmLapack Fortran 90/95 interface, intel_lp64, intel_threads, iomp5Dynamic-L$<strong>MKL</strong>ROOT/lib/intel64 -lmkl_lapack95_lp64 -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core-liomp5 -lpthread -lmStatic-L$<strong>MKL</strong>ROOT/lib/intel64 $<strong>MKL</strong>ROOT/lib/intel64/libmkl_lapack_lp64.a -Wl,--start-group $<strong>MKL</strong>ROOT/lib/intel64/libmkl_intel_lp64.a $<strong>MKL</strong>ROOT/lib/intel64/libmkl_intel_thread.a $<strong>MKL</strong>ROOT/lib/intel64/libmkl_core.a6

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!