Tuning calculation method of distributed conjugate gradient method based on MPI

A technology of conjugate gradient method and calculation method, which is applied in the field of calculation based on the conjugate gradient method, can solve the problems of low calculation efficiency and insufficient resource utilization, achieve the effects of small communication overhead, save storage space, and improve calculation efficiency

Active Publication Date: 2012-09-05
HANGZHOU DIANZI UNIV
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

By utilizing the advantages of clusters and multi-core platforms, the calculation efficiency of the conjugate gradient method is improved, and computer hardware and network resources are fully utilized to perform high-performance computing, which solves the problems of insufficient resource utilization and low calculation efficiency of traditional serial computing methods

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
  • Tuning calculation method of distributed conjugate gradient method based on MPI
  • Tuning calculation method of distributed conjugate gradient method based on MPI

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] The present invention will be further described in detail below in conjunction with the drawings and implementation methods.

[0047] Reference figure 1 Perform steps to illustrate the implementation process of the present invention:

[0048] (1) Prepare the node

[0049] Step 1-1 Perform hardware deployment of each node;

[0050] Step 1-2 judge whether there is a new node to join, if so, proceed to the pre-tuning process of step 1-3, otherwise, go to step (2) for the data formatting process;

[0051] The pre-tuning process involved in steps 1-3 uses the selected Base matrix set , To optimize cluster computing performance, the specific steps are described as follows:

[0052] Use selected Base matrix set , To optimize the cluster computing performance, the specific process is as follows:

[0053] Assume for Base matrix, where versus Respectively the number of rows and columns of the corresponding reference matrix, to generate Random vector , Select all The matrix is ​​d...

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 relates to a tuning calculation method of a distributed conjugated gradient method based on MPI. The calculation process of the conventional serial calculation method can not effectively utilize the advantages of a multi-kernel platform. When a new node is added to a calculation cluster, a pre-tuning algorithm is adopted to determine the calculation thread number of the node and obtain the optimal matrix block size suitable for cluster calculation; a matrix data structure is converted into a block compression structure according to the optimal block size; before calculation of the task to carry out, the calculation amount is allocated to the thread of each node according to the pre-tuning data of each node; and the calculation task is automatically allocated to the calculation node of the cluster by use of MPI when the calculation process of the conjugate gradient method executes the matrix-vector multiplication, and the calculation result is actively reduced to the main node. The method can lower the constant for calculating the time complexity and save the storage space by adopting a highly-compressed, flexible and convenient structure to segment a sparse matrix.

Description

Technical field [0001] The invention relates to a calculation method based on a conjugate gradient method, in particular to an optimization calculation method of a distributed conjugate gradient method based on MPI. Background technique [0002] The traditional calculation method of the conjugate gradient method is the serial method, which is a simple realization of the conjugate gradient method on the computer. The conjugate gradient method is a method of solving the numerical solution of a specific linear system, in which the coefficient matrix is ​​a symmetric and positive definite real number matrix. The conjugate gradient method is an iterative method, so it is suitable for sparse matrix systems, because these systems are too computationally expensive through direct methods like Choleski decomposition. And this type of system is very common when solving partial differential equations numerically. [0003] The conjugate gradient method is mainly used to solve the following li...

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): G06F17/16
Inventor 张纪林徐向华万健蒋从锋张伟任永坚
Owner HANGZHOU DIANZI UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products