首页 | 本学科首页   官方微博 | 高级检索  
     

基于Docker的MPI和OpenMP混合编程
引用本文:赵博颖,肖 鹏,张 力.基于Docker的MPI和OpenMP混合编程[J].计算机与现代化,2018,0(5):60.
作者姓名:赵博颖  肖 鹏  张 力
摘    要:针对当前搭建集群并行系统复杂且耗时等问题,提出基于Docker搭建并行系统。介绍轻量级虚拟化技术Docker的核心概念和基本架构,并基于Docker技术在Linux平台上搭建集群并行开发环境。简要阐述并行计算的思想,叙述MPI和OpenMP并行计算的基本概念和特点,针对矩阵并行乘法的算法建立MPI和OpenMP的混合编程模型,并给出混合编程模型与MPI并行编程模型以及OpenMP并行编程模型的性能对比,分析出现差异的原因。基于该混合编程模型比较Docker与传统物理机两者搭建的并行系统的并行效率。

关 键 词:Docker  并行计算  MPI  OpenMP  集群  
收稿时间:2018-06-13

Hybrid Programming of MPI and OpenMP Based on Docker
ZHAO Bo-ying,XIAO Peng,ZHANG Li.Hybrid Programming of MPI and OpenMP Based on Docker[J].Computer and Modernization,2018,0(5):60.
Authors:ZHAO Bo-ying  XIAO Peng  ZHANG Li
Abstract: Building cluster parallel system has been proved to be complex and time-consuming, this paper proposes a scheme of building a cluster parallel system based on Docker in response to this problem, introduces the concept and architecture of Docker that is a lightweight virtualization technology, and builds a cluster parallel development environment on Linux platform based on Docker technology. The idea of parallel computing is described in brief. The basic concepts and characteristics of parallel computing in MPI and OpenMP are listed. A hybrid programming model of MPI and OpenMP is built for the algorithm of matrix parallel multiplication. The performance of the hybrid programming model is compared with the MPI parallel programming model and the OpenMP parallel programming model, then a brief analysis of the reasons for the performance differences is given. Finally, this paper compares the parallel efficiency of parallel system built by Docker with that built by traditional computer based on the hybrid programming model.
Keywords:Docker  parallel computing  MPI  OpenMP  cluster  
点击此处可从《计算机与现代化》浏览原始摘要信息
点击此处可从《计算机与现代化》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号