数学库数值计算库 Intel Mathematics Kernel Library (MKL) Quickstart.ppt
《数学库数值计算库 Intel Mathematics Kernel Library (MKL) Quickstart.ppt》由会员分享,可在线阅读,更多相关《数学库数值计算库 Intel Mathematics Kernel Library (MKL) Quickstart.ppt(24页珍藏版)》请在三一办公上搜索。
1、1,Intel Mathematics Kernel Library(MKL)Quickstart,COLA Lab,Department of Mathematics,Natl Taiwan University2010/05/11,2,Intel MKL Quickstart,Credits,Credits,Wei-Ren Chang 張為仁(slides and codes,2009/03/10)Lien-Chi Lai 賴鍊奇(slides,2010/05/11),3,Intel MKL Quickstart,A Brief Introduction,4,Intel MKL Quick
2、start,Intel MKL:Intel Math Kernel Library,Introduction,Availability:Windows,LinuxFunctionalityDense and Sparse Linear Algebra:BLAS,LAPACKSparse Solvers:Direct and Iterative SolversFast Fourier TransformsCluster Support:ScaLAPACK,Cluster FFTFeatures and BenefitsAutomatic parallelizationStandard APIs
3、in C and Fortran,5,Intel MKL Quickstart,User Guide,MKL User GuideInstallationDevelopment Environment ConfigurationPerformance and Memory ManagementLanguage-specific Usage OptionsDefault documents directory/opt/intel/mkl/10.2.1.017/doc/userguide.pdf,User Guide,6,Intel MKL Quickstart,Reference Manual,
4、MKL Reference ManualThe routines and functions descriptionAPIs in C and FortranInterfaces and calling syntaxDefault documents directory/opt/intel/mkl/10.2.1.017/doc/mklman.pdf,Reference Manual,7,Intel MKL Quickstart,Some Examples,8,Intel MKL Quickstart,Examples,Brief examples toCompute Inner product
5、(sequential)Compute the LU factorization of a matrixSolve linear systemSolve eigen systemCompute Inner product(parallel),Examples,9,Intel MKL Quickstart,Directories containing the source codes,mkl_blas_f95(mkl_blas_c)mkl_lapack95_f95(mkl_lapack95_c)mkl_linearsym_f95(mkl_linearsym_c)mkl_eigensym_f95(
6、mkl_eigensym_c)mkl_blas_f95_p(mkl_blas_c_p),File names,10,Intel MKL Quickstart,Inner product(sequential),Examples,do ii=1,n vec_a(ii)=1.25*ii vec_b(ii)=0.75*iiend dodot_result=ddot(n,vec_a,inca,vec_b,incb),Inner product,11,Intel MKL Quickstart,Input parameters,Inner product,dot_result=ddot(n,vec_a,i
7、nca,vec_b,incb)n:The length of two vectors.inca:Specifies the increment for the elements of vec_aincb:Specifies the increment for the elements of vec_bvec_a:The fitsr vectorvec_b:The second vector,Input parameters,12,Intel MKL Quickstart,Output parameters,Inner product,dot_result:The final result,Ou
8、tput parameters,13,Intel MKL Quickstart,Inner product(parallel),Examples,Makefile clipsFC=mpif90MKL_INCLUDE=/opt/intel/mkl/10.0.3.020/includeMKL_PATH=/opt/intel/mkl/10.0.3.020/lib/em64tEXE=blas_f95.exeblas_f:$(FC)-o$(EXE)blas_f.f90-I$(MKL_INCLUDE)-L$(MKL_PATH)-lmkl_intel_lp64-lmkl_intel_thread-lmkl_
9、core-lguide-lpthread,Inner product(parallel),14,Intel MKL Quickstart,LU factorization,Examples,Define the matrixa(1,1)=1a(1,2)=3a(2,1)=2a(2,2)=1Compute LU factorizationcall dgetrf(m,n,a,lda,ipiv,info),LU factorization,15,Intel MKL Quickstart,Input parameters,LU factorization,call dgetrf(m,n,a,lda,ip
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 数学库数值计算库 Intel Mathematics Kernel Library MKL Quickstart 数学 数值 计算 MKL
链接地址:https://www.31ppt.com/p-2839517.html