MPI-based parallel programming techniques

Author
LiuHui
Advisor
WangWenYi
School
Zhengzhou University
Major
Computer Applications
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2002
Downloads
519
Citations
2

Request the full text

Abstract

The technology of modern computer has stimulated the rapid growth of the computational science. In practice, the limit of speed and technology has embarrassed the PC to be used widely. So it is important to study the high performance computing technology.The crucial to perform the high performance computing is to design effective parallel program. The tools to design parallel program include MPI, PVM, Linda, and so on. Because of the advantage of the MPI (Message Passing Interface), which are portal, powerful function, and high efficiency, it became the most important tool to design parallel program.The motive of parallel is to deal with the bulky data and to increase the computational speed. This paper mainly investigates the crucial factor CUR (Cache using ratio) to improve the effective speed of parallel computer. And then analyzes the subscript to be restored and the load balance, which appeared in improving the CUR.As to the hardware, the technology of hierarchical memory has used in most computer. With abstract to memory and hard disk, the speed of cache is the most high and the capability is smaller, so CUR is the crucial factor to improve the performance of whole computation. This paper utilizes the designing parallel program skill to distribute the part of computation to the cache to improve the effective speed of the high-performance scientific computing program.In the parallel computation, it is mainly to compute the basic linear calculation models. And in the calculation of the multiply of the matrix and matrix, the CUR is highest. But not all the calculation is to deal with the matrix. We can transfer the others process to matrix dealing, and when finished, restore to the former. While managing these processes, we should guarantee the correct result to berestored, which called subscript-restored. This paper gives the arithmetic of subscript-restored, and then writes the parallel program.In the arithmetic of subscript-restored, if the ratio of the number of small-matrix to the number of processor, the number of mission every processor processes is different. Thus some processor has been computing, while others are waiting. Furthermore, the time spent in different task is different. If we can adjust the number of task while running program dynamic to be balanced, the performance of system will be improved greatly. This is the other respect of the load balance. This paper gives two kinds of methods to solve the load balance: averaging weight and multilevel averaging weight.This paper mainly research the message passing interface (MPI) based on PC cluster. Firstly, it surveys the background of the MPI, and then the parallel architecture and the model of computation.Secondary, it presents the main routines in MPI, analyzes the theory of designing parallel program. MPI uses eager protocol and rendezvous protocol to send and receive data. MPI provides blocking and nonblocking communications to compute and communicate. And the nonblocking communications can implement overlap computation with communications, thus improving the performance of application. Nonblocking routines also solve the problem of controlling. Nonblocking communications allow the program to compute while waiting for the communications to complete.Collective communications allow to be communicated while computing and synchronization. MPI provides file view to access the noncontiguous data. In most parallel programs, each process communicates with only a few other processes; the pattern of communication is called an application topology or virtual topology. It used to present the order of the parallel processes in logical.Thirdly, this paper demonstrates the new development of MPI-2. MPI-2 has three large, completely new areas. They are parallel I/O,remote memory operations, and dynamic process management. Parallel I/O exploits individual file pointers and explicit offsets and shared file pointers to access noncontiguous data and collective I/O. It also uses subarrays and distributed arrays stored in f

Related dissertations

  1. Parallel PC cluster system development environment MPI and its program performance analysis
    WangChunXia ·Zhengzhou University ·2003 ·Master's thesis
  2. Pattern-Aware Data Reorganization in MPI-IO
    HeJun ·Hunan University ·2012 ·Master's thesis
  3. Research on Technologies for MPI Parallel Code Generation and Communication Optimization
  4. The Construction and Low-complexity Decoding Algorithms of Low-density Parity-check Codes
  5. The Identification of the Procuratorial Organ in the Criminal Reconciliation System
  6. On Political Communication of Communist Party of China in Yanan Period
    LuXiaoWei ·Xiangtan University ·2012 ·Master's thesis
  7. Research on Substation Network Communication and Equipment Based on IEC61850
    HuangZhiYu ·Dalian University of Technology ·2008 ·Doctoral dissertation
  8. Distributed memory parallel numerical computation system of the communication library
    XiongYuQing ·Institute of Computing Technology ·2000 ·Doctoral dissertation
  9. Study of FDTD Parallel Computing and ADI-FDTD Method
  10. Study on Algorithm of Parallel I/O Scheduling on Distributed Computing
    ZengBiQing ·Central South University ·2005 ·Doctoral dissertation
  11. 1990s Western Mass Communication Studies
    LiaoShengQing ·Fudan University ·2003 ·Doctoral dissertation
  12. Design and Implementation of Cluster System Based on HVIA-NET
  13. Research and Implementation of the Cache Coherence Protocol for the Large Scale System of the SMP-based CC-NUMA Category
  14. Research on Memory Resource Sharing in Virtual Computing Environment
  15. Research on Performance Modeling and Application of Distributed File System
    ZhaoTieZhu ·South China University of Technology ·2011 ·Doctoral dissertation
  16. Studying on Parallel Clustering Algorithms Based on the Density
    MaoShaoYang ·Hunan University ·2007 ·Master's thesis
  17. The Design and Implementation of the Parallel Network File System PNFS
  18. Integrated Marketing Communication, from Theory of Communications
    LiuZuoZuo ·Guangxi University ·2007 ·Master's thesis
  19. Research and Design of Coriolis Mass Flowmeter Communicator
  20. Research and Implementation of Parallel I/O and Out-Of-Core Storage Strategy on Linux Clusters
    ZuoQiang ·Harbin Institute of Technology ·2002 ·Master's thesis