Computer and Modernization

Previous Articles     Next Articles

Hybrid Programming of MPI and OpenMP Based on Docker

  

  1.  (Institute 706, Second Academy of China Aerospace Science and Industry Corporation, Beijing 100854, China) 
  • Received:2017-10-20 Online:2018-06-13 Published:2018-06-13

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.

Key words: Docker, parallel computing, MPI, OpenMP, cluster

CLC Number: