The Application Research of Serial Program Automatic Parallelization Based on MPI
- Author
- WangLei
- Advisor
- QuWeiPing
- School
- Anhui University of Science and Technology
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 11
- Citations
- 0
- automatic transformation
- MPI
- parallel program
- searching algorithm ofAritificial Intelligence
- matrix operation
- approximation computing of PI value
Abstract
With the fast development of parallel computer,More and more field demand the improvement of large-scale problem solving’s speed actively.Serial programs’ paralleli-zation can shorten time of problem solving.With realizing fast parallelization, Serial program automatic parallelization software’ has been designed and realized.MPI (message passing interface) information transfer programm is foundation of p-arallel program. MPI procedural basic flow scheme and programming mode are applied in system software. Massively parallel computation algorithm of matrix and array are researched.Parallel algorithm is evaluated and complexity analyzed according to releva-nt theory. Interprocess parallel execution needs for message communication. Interproc-ess’communication cooperation is solved by function and pattern theory which is point-to-point and set communication.Automatic parallelization software is designed by programming languages.Two modes which are serial program analyses and automatic transformation are mainly researched. AI theory is foundation of serial program analysis procedure. Artificial Intelligence’searching algorithms which are researched and reformed are applied to serial program’s reading-in and analyses. Procedural high efficiency read and accuracy analyses can be realized by algorithm.Automatic switching mode is present according to variable definition, sequence statement, looping statement, branch statement as well as large-scale matrix and array operation by principle of automatic switching. At last,system performance test is undertook through the example of proximate calculation of PI value.Conclusion is carrie-d out through comparison with serial computing’runtime and acceleration ratio.Parallel computation’performance can get better and better when calculation amountis more and more. Serial program automatic parallelization software not only realizes fast parallelizat-ion but also relief programmer’burden and improve efficiency in time and space.
Table of contents
Abstract 5-6
Abstract 6-11
1 Introduction 11-15
1.1 Background 11
1.2 Research Status 11-13
1.2.1 domestic research status 1.2.2 Situation foreign research 11-12
12-13
1.3 thesis the significance of a contents and structure of 13-14
1.4 thesis 14-15
1.4.1 the main contents of this article 14
1.4 organizational structure .2 article 14-15
2 MPI parallel program 15-27
2.1 MPI overview and programming 15-18
2.1. 1 MPI basic program flow 16-17
2.1.2 MPI typical code pattern 17-18
2.2 MPI programming model 18-20 <br / > 2.3 MPI point to point communication 20-23
2.3.1 MPI point to point communication function 20-21
2.3.2 MPI point to point communication mode 21-23
2.4 MPI cluster communication 23-27
2.4.1 MPI function of cluster communication 23-25 ??
2.4.2 MPI cluster communication function 25-27
3 parallel programming algorithm design 27-37
3.1 parallel problem solving 27
3.2 program parallelization conditions 27- 28
3.3 evaluation of parallel algorithms and complexity analysis 28-30
3.4 parallel matrix multiplication algorithm 30-33
3.4.1 partitioning algorithm ranks 30
3.4.2 trekking partitioning algorithm 30-31
3.4.3 column column partitioning algorithm 31-32
3.4.4 column row partitioning algorithm 32
3.4.5 Cannon algorithm 32-33
3.5 matrix - vector multiplication parallel algorithm 33-34
3.6 array block communication parallel algorithms 34-37 design and Implementation
4 automatic parallelization of software 37-49
4.1 system Architecture framework 37-39
4.2 serial program Analysis module design 39-44
4.2.1 serial program analysis principles 39
4.2.2 serial program analysis algorithms select 39-44
realize 4.2.3 serial program analysis functions 44
4.3 automatic conversion module design 44-47
4.3.1 automatically converted principle 44-46
4.3.2 matrix multiplication is automatically converted 46-47
4.4 overall system to achieve 47-49
5 examples and performance testing 49-57
5.1 environment integrated 49-51
5.2 π values ??approximate solving 51-54
5.2.1 π values ??approximate solving serial computing 51 -53
5.2.2 π values ??approximate solving parallel computing 53-54
5.3 results 54-57
6 summary and Outlook 57 -59
6.1 paper summarizes 57
6.2 papers prospect 57-59
references 59-63
Thanks About 63-65
during graduate school principal author and research 65
Related dissertations
- The Multidimensional Poverty for Chinese Household: Measurement and Dynamic Research
- Parallel Genetic Algorithm and Application Research of Task Scheduling in Grid
- Study on Distributed Large-scale Microscopic Traffic Simulation
- Research on Key Technologies of the MPI-based High Performance Cloud Computing Platform
- Concurrent design some deterministic algorithm based on MPI
- Research of3PCF Parallel Algorithm Based on MPI
- Parallel implementation of random algorithm based on MPI
- Analysis of Hardware Fault Propagation in Programs and Research on Fault-tolerance Techniques
- Rateless Rate Adaption in Relay Networks
- The Study of Chinese Families Multidimensional Poverty Based on Chns
- Analysis of the Economic Operating Efficiency and Impact Factors of Shanghai Suburban Secondary Hospitals From2003to2011
- Design and Research for the Road Detection System Based on Cluster Computing
- The Study of Three-dimensional Magnetotelluric Occam Inversion Based on MPI Parallel Algorithm
- Research on Application of Parallel Computing to Marine Water Age Spectrum Simulation
- The Hybrid MPI+OpenMP Parallel Method of GRAPES-global Model
- Parallel digital terrain analysis algorithm model and data resolution method
- Research on Application of perfectly matched layer boundary and parallel FDTD algorithm in integrated photonic based
- Empirical Analysis of Chinese Retailing Efficiency
- Evaluation on the Eco-efficiency to Heilongjiang Areas
- The Study of Cluster-based Synthetic Aperture Radiometer Signal-level Simulation