Font Size: a A A

Based On The Design Of The Mpi Parallel Library

Posted on:2012-06-18Degree:MasterType:Thesis
Country:ChinaCandidate:Y FuFull Text:PDF
GTID:2208330335958621Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
With intense demand for engineering science field to high performance computing, the scale of scientific computing quickly expands. For example, these fields such as military, energy, medicine, biology, meteorological and artificial intelligence need quite fast and efficient compute power. When the traditional serial computational can not meet the demand of supercomputing, network parallel computing developed.Accompany with the development of parallel computation, some supporting platform like MPI and PVM which service in parallel computation appeared. All of these platforms provide Application Programming Interface using for realizing the basic function of parallel computation. The developers made parallel programming development by calling functions. But these platforms have some common characteristics. They are as follows:complex interface, demand for developers'skills, the low efficiency of development and replication and bad fault-tolerance. Therefore, parallel computing developed slowly.Developers must consider the task allocation, data partition, inter-process communication and synchronization in the process of analyzing and designing parallel programs. Besides, developers must master complex functions platforms supplied to finish data partition and process communication. Such make parallel programming has higher difficulty than serial program. In addition, that developers are not familiar with the idea of parallel programming becomes one of reason to its slow development.This paper puts forward a parallel library which is based on the function interface provided by MPI. MPI is a relatively mature standard, almost all of the parallel computer manufacturers provide support, a correct MPI program can be directly operate in any parallel machine. The parallel library is packaged and expanded at the basis of MPI. What's more, it also design and realize a parallel library which is based on MPI and object-oriented technology and can supply comprehensive application interface.By analyzing the parallel programming model in the Master-slave structure, and parallel algorithms used frequently, this paper realizes a parallel library, the parallel library focuses to the areas of numerical computation. The library packages some typical parallel algorithms, providing a high-level application interface to the programmers.In order to make the parallel library more structured, this library adopted the idea of the hierarchical structure. According to the different function, it is divided into four layers:support layer, communication layer, data partition layer and application interface layer. Among them, the application interface layer is on the top of this library and can provide interfaces. Application interface layer is realized at the base of support layer, data partition layer and communication layer. The last three layers completed a fundamental building of parallel library.At last, experiments prove that using this Application Programming Interface provided by library for parallel program development can make the program structure clear, the development process forthright, the efficiency of development improved and parallel programming simple and effective.
Keywords/Search Tags:Parallel Computing, MPI, Object-oriented, Parallel Library, Hierarchical Model
PDF Full Text Request
Related items