Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Parallel grid preprocessing method based on mpi

A preprocessing and grid technology, which is applied in the direction of concurrent instruction execution, electrical digital data processing, special data processing applications, etc., can solve the problems of slow speed, affecting the scale and speed of grid processing data, and low efficiency, so as to improve the scale and the effect of speed, efficient and fast meshing

Active Publication Date: 2017-10-31
INST OF SOFTWARE APPL TECH GUANGZHOU & CHINESE ACAD OF SCI
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Data segmentation and grid information management are the main time-consuming stages of grid parallel preprocessing. The existing technology is time-consuming and inefficient in the data segmentation and grid information management stages of grid preprocessing.
For grid division, the existing multi-layer recursive bisection, row and column division and other technologies are slow and the division quality is not ideal
Most of the existing grid preprocessing schemes are serially executed, which can only be executed on a single CPU core. At the same time, most of the grid files are traversed serially, and the speed is relatively slow.
Moreover, existing grid preprocessing schemes mostly store grid data files in one or a few files. When the data scale is large, I / O file read and write congestion will occur, which affects the scale of grid processing data. and speed

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Parallel grid preprocessing method based on mpi
  • Parallel grid preprocessing method based on mpi

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] The basic steps of the MPI-based grid parallel preprocessing method of the present invention are as follows: first, the MPI process is started, grid file data is read in, and node information and grid unit information are respectively written into two files from the grid file. Create a new communication domain and call the partition function of ParMETIS to achieve high-quality grid division. According to the result of grid division, multiple processes are started to traverse the grid file at the same time, and the distributed storage of the grid is realized by locating the file pointer and reading in blocks.

[0030] see figure 1 and figure 2 , the specific steps of this embodiment are as follows:

[0031] 1. The user specifies the number of partitions num_domains required for the grid, and the number of partitions cannot be greater than the number of processors of the parallel computer.

[0032] 2. Start the MPI multi-process, set the number of processes num_proces...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an MPI-based grid parallel preprocessing method, including the grid partition number of a given computing domain; starting MPI multi-processes, setting the number of processes; judging whether the number of processes is equal to the number of partitions, and opening the network Grid file, the main process reads the grid unit information file, and initially distributes the grid units to each process on average, and each process creates its adjacency array, otherwise restarts the MPI multi-process; each process calls ParMETIS for grid division; Each process reads the grid unit information into the array in blocks, and sets the index position of the array; each process loops through the grid unit information file, and judges whether the length of the array minus the index position number of the array is less than the length of the grid unit information, less than Then read the data of the grid unit information file and fill it into the array, otherwise, assign the array element to the grid unit; judge whether the partition number of the grid unit is equal to the process number, if it is equal, store the grid unit information in the process file, Otherwise, continue to loop to judge.

Description

technical field [0001] The invention relates to a parallel preprocessing technology, in particular to a grid parallel preprocessing method. Background technique [0002] In the field of scientific and engineering computing, the grid is of great significance to the numerical solution of various differential equations, and the grid distribution is the basic environment for solving calculations. The solution of differential equations mainly includes two steps of numerical discretization and solution of algebraic equations. When the discretization method is determined, the grid distribution information can directly reflect the logical structure of algebraic equations solution vector and coefficient matrix. With the widespread application of parallel computing, grid plays a very important role in the parallel solution of differential equations. For distributed parallel computing, the parallel execution of grid division based on domain decomposition and distributed storage of gri...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/38G06F17/30
Inventor 陈春艳罗海飙廖俊豪王婷
Owner INST OF SOFTWARE APPL TECH GUANGZHOU & CHINESE ACAD OF SCI
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products