Font Size: a A A

Design And Implementation Of Parallel Programming In Water Quality Evolution Numerical Simulation Of Zhuyi River

Posted on:2018-06-20Degree:MasterType:Thesis
Country:ChinaCandidate:H F LiFull Text:PDF
GTID:2348330542970652Subject:Engineering
Abstract/Summary:PDF Full Text Request
In the study of water environment such as rivers and oceans,numerical simulation is used to simulate the evolution of water quality.In order to ensure the accuracy of water quality calculation results,it is necessary to choose a wide calculation area,research the relationship among elements in water,and study the effects of elements on external conditions.Therefore,the process of water quality evolution in water environment has an extremely large scale of computing and a high complexity.As a result,its calculation contains huge amounts of data.Most of the numerical simulation processes are written in serial programs.In practical applications,it leads to low computational efficiency and has some limitations in the study of water environment.So it can not meet people's needs.In recent years,the hardware and software technology related to high performance computing has made great progress.With the increasing attention on the research of river water quality,parallel computing is becoming more and more widely used in the study of river water environment.This article deals with the serial program to the numerical simulation of water quality evolution in Zhuyi River by using the parallel computing technology based on MPI.The main work of this paper is as follows:(1)Determine the parallel processing section by analyzing the structure of the serial program in detail.(2)The parallel processing part can be divided reasonably into several parts.Process the serial program in parallel with blocking communication technology.(3)Process the serial program in parallel with non-blocking communication technology.And reduce the amount of message passing and the number of passes by using a custom data type.(4)In order to improve the computational performance of numerical simulation,we should analyze the parallel efficiency and speed-up ratio of these two parallel modes.The results show that,when using MPI parallel technology to deal with serial procedures,the run time of the program is reduced and the efficiency is improved.Compared with the serial mode,blocking and non-blocking modes can accelerate calculating by 2.8 and 3.6 times.The running speed,parallel efficiency and speedup ratio of the two modes have been greatly improved.But in non-blocking communication mode,it has higher speed-up ratio and parallel efficiency,and the program runs faster.Therefore,in the data simulation of water quality in Zhuyi River,MPI parallel technology can deliver relatively good actual results and is feasible.
Keywords/Search Tags:numerical simulation, parallel computing, MPI, blocking communication, non-blocking communication
PDF Full Text Request
Related items