A matrix decomposition parallel optimization method and system for high performance computing

Through matrix feature extraction and hierarchical Bayesian network model combined with adaptive code transformation and work-stealing mechanism, the parallelization scheme of large-scale meteorological data matrix decomposition is dynamically optimized, which solves the problems of low computational efficiency and resource utilization in the existing technology. Efficient parallel computing of matrix decomposition is implemented.

CN118378008BActive Publication Date: 2024-09-20NANJING UNIV OF POSTS & TELECOMM
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410845019.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-09-20
Estimated Expiration
2044-06-27

AI Technical Summary

Technical Problem

Existing matrix decomposition parallelization methods are difficult to fully adapt to the needs of large-scale meteorological data processing, and cannot dynamically select the optimal parallel solution based on meteorological data characteristics and hardware environment, resulting in low computing efficiency and resource utilization.

Method used

A matrix feature extractor is used to automatically extract key features, a hierarchical Bayesian network model is constructed to determine the optimal parallelization scheme, parallel code is generated through adaptive code transformation technology, and block hierarchical parallel scheduling and work stealing mechanisms are introduced to achieve dynamic load balancing and continuous performance optimization.

Benefits of technology

It realizes the automatic selection of intelligent parallel strategies, improves computing efficiency and resource utilization, avoids the inefficiency and blind spots of manual experience selection, and significantly improves the performance of large-scale meteorological data matrix decomposition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118378008B
    Figure CN118378008B
Patent Text Reader

Abstract

The present invention discloses a matrix decomposition parallel optimization method and system for high-performance computing, which relates to the field of data processing technology, including constructing a matrix feature extractor to automatically extract key features from a large-scale meteorological data matrix input; constructing a hierarchical Bayesian network model based on the extracted key features, and determining the optimal parallelization scheme of matrix decomposition through probabilistic reasoning; using adaptive code transformation technology to dynamically generate parallel codes for the determined parallelization scheme; introducing a block-by-block hierarchical parallel scheduling strategy to decompose the operation tasks of the meteorological data matrix into task blocks of different granularities, and hierarchically scheduling the task blocks to multiple heterogeneous computing units according to the generated parallel codes; and using a fine-grained dynamic load balancing strategy based on a work stealing mechanism to adjust the distribution of matrix decomposition tasks in real time. The present invention realizes the automatic selection of intelligent parallel strategies based on feature quantization and probability models, avoiding the inefficiency and blind spots of manual experience selection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to a matrix decomposition parallel optimization method and system for high performance computing. Background Art

[0002] The decomposition of large-scale meteorological data matrices is a computationally intensive task that places high demands on the efficient use of computing resources. Traditional matrix decomposition parallelization methods often adopt static task allocation strategies, which have certain limitations in adapting to complex and changing computing environments and data characteristics. This fixed parallelization scheme cannot fully utilize the performance advantages of various hardware accelerators when facing heterogeneous computing platforms. In addition, existing methods lack in-depth analysis of matrix characteristics and hardware features, making it difficult to select the optimal parallelization strategy for different types of meteorological data matrices, thus affecting the overall computing performance.

[0003] On the other hand, existing parallelization methods also have shortcomings in task scheduling and load balancing. Most methods use static task division and scheduling strategies, which cannot effectively cope with load changes and system dynamics during runtime. This often leads to some computing nodes being overloaded while other nodes are idle when processing large-scale meteorological data matrices, resulting in a decrease in overall computing efficiency. Summary of the invention

[0004] In view of the fact that the existing matrix decomposition parallelization method is difficult to fully adapt to the needs of large-scale meteorological data processing, the present invention is proposed.

[0005] The problem to be solved by the present invention is how to dynamically select the optimal parallel solution according to the characteristics of meteorological data and the hardware environment, realize efficient task scheduling and load balancing, and comprehensively improve the computational efficiency and resource utilization of large-scale meteorological data matrix decomposition through continuous performance monitoring and feedback optimization.

[0006] In order to solve the above technical problems, the present invention provides the following technical solutions:

[0007] In the first aspect, an embodiment of the present invention provides a matrix decomposition parallel optimization method for high-performance computing, which includes constructing a matrix feature extractor to automatically extract key features from an input large-scale meteorological data matrix; constructing a hierarchical Bayesian network model based on the extracted key features, and determining the optimal parallelization scheme for meteorological data matrix decomposition through probabilistic reasoning, wherein the optimal parallelization scheme is an optimal combination of parallelization algorithm, parallel granularity and parallel strategy; for the determined parallelization scheme, an adaptive code transformation technology is used to dynamically generate parallel code according to the architectural characteristics of various hardware accelerators in a meteorological supercomputer cluster; a block-by-block hierarchical parallel scheduling strategy is introduced to decompose the operation tasks of the meteorological data matrix into task blocks of different granularities, and hierarchically schedule the task blocks to multiple heterogeneous computing units of the supercomputer cluster according to the generated parallel code; in each heterogeneous computing unit, a fine-grained dynamic load balancing strategy based on a work-stealing mechanism is used to adjust the allocation of meteorological data matrix decomposition tasks in real time to make full use of computing resources; a feedback optimization mechanism is established to continuously collect computing performance data during the decomposition of the meteorological data matrix, and dynamically adjust the parameters of the hierarchical Bayesian network model according to the computing performance data.

[0008] As a preferred solution of the matrix decomposition parallel optimization method for high-performance computing described in the present invention, wherein: determining the optimal parallelization scheme for meteorological data matrix decomposition through probabilistic reasoning includes the following steps: quantitatively evaluating the extracted key features, analyzing the degree of influence on parallel computing performance, and determining the weight coefficient of each key feature; constructing a parallel strategy knowledge base, which includes various parallelization algorithms suitable for meteorological data matrix decomposition, parallel granularity and advantages and disadvantages analysis of parallel strategies and introduction to applicable scenarios; constructing a hierarchical Bayesian network model, taking the key features of the meteorological data matrix as evidence nodes and the parallelization scheme as target nodes; within the framework of the hierarchical Bayesian network model, using the weight coefficients Perform probabilistic reasoning and conditional probability calculation on various parallelization schemes S; select the top N parallelization schemes with the largest probability from the probability distribution for output; perform secondary evaluation on the selected N parallelization schemes, and return the optimal parallelization scheme based on the evaluation results; the secondary evaluation includes: if the difference between the maximum performance and the minimum performance among the N parallelization schemes exceeds the preset threshold, then return the scheme with the smallest expected performance loss as the optimal parallelization scheme; if the difference between the maximum performance and the minimum performance among the N parallelization schemes does not exceed the preset threshold, then comprehensively consider additional conditions including energy consumption and system load, and return the optimal parallelization scheme that meets the additional constraints; continuously track the parallel execution process of the actual meteorological data matrix decomposition, collect feedback data, and update the parameters of the hierarchical Bayesian network model according to the preset period to dynamically adjust the selection of parallelization schemes; the parallelization scheme refers to a combination of parallelization algorithm, parallel granularity and parallel strategy.

[0009] As a preferred solution of the matrix decomposition parallel optimization method for high performance computing described in the present invention, the weight coefficient is used The specific formulas for probabilistic reasoning and conditional probability calculation for various parallelization schemes S are as follows:

[0010] ;

[0011] in, represents the normalization constant, represents the i-th key feature, Representing key features The weight coefficient of Representing key features The parent node of Represents the parent node Given the conditions, the key features The conditional probability of taking a value, represents the parallelization scheme, The parent node representing the parallelization scheme, Represents the parent node Under given conditions, the parallelization scheme The conditional probability of being selected, n represents the number of key features of the meteorological data matrix, Represents the key features of a given meteorological data matrix Under the condition of , the posterior probability of selecting the parallelization scheme S.

[0012] As a preferred solution of the matrix decomposition parallel optimization method for high-performance computing described in the present invention, the following steps are included in the dynamic generation of parallel code: for the target heterogeneous acceleration platform in the meteorological supercomputer cluster and the parallelization algorithm determined by the optimal parallelization scheme, a hardware architecture description and an algorithm calculation representation are respectively constructed; a mapping relationship model between the algorithm calculation representation and the hardware architecture description is established, and the mapping method and mapping constraints of the parallel matrix decomposition calculation task to the heterogeneous hardware resources are defined; for the mapping relationship model, an algorithm-architecture affinity analysis module is constructed to automatically identify the affinity matching features between the matrix decomposition parallelization algorithm and the target architecture; a code transformation strategy template library T is established, and the affinity matching features are automatically identified ... , design and construct the program transformation strategy template corresponding to the meteorological data matrix decomposition; for each target heterogeneous acceleration platform, select the best matching program transformation strategy template from the code transformation strategy template library T, perform program transformation on the original parallelization algorithm code, and generate the target heterogeneous parallel code; for the generated target heterogeneous parallel code, call the compilation tool chain corresponding to the target platform to generate an executable target binary instruction stream; use symbolic execution technology to analyze the execution characteristics of the binary instruction stream, and if there is a deviation, feed it back to the code transformation strategy template library T to regenerate the parallel code; distribute and deploy the verified parallel code to the corresponding heterogeneous hardware execution unit of the target heterogeneous acceleration platform to start parallel execution.

[0013] As a preferred solution of the matrix decomposition parallel optimization method for high-performance computing described in the present invention, wherein: hierarchical scheduling of task blocks to multiple heterogeneous computing units of a supercomputer cluster according to the generated parallel code includes the following steps: constructing an initial hierarchical representation model of the meteorological data matrix decomposition task, which is respectively a task layer, a stage layer, a step layer and an instruction layer from top to bottom; analyzing the parallel characteristics of each layer, the task layer analyzes the overall parallelism of the matrix decomposition, the stage layer identifies the matrix data correlation and parallelism, the step layer determines the matrix calculation granularity and data dependency, and the instruction layer analyzes the matrix operation instruction-level parallel type; according to the established mapping relationship model, a dynamic load-aware task remapping strategy is adopted to map each layer to the hardware resources of the meteorological supercomputer cluster; mapping the task layer and the stage layer to multiple nodes / processors: real-time monitoring of the load status of each node / processor, when it is detected that the load of a node / processor exceeds a first preset threshold, triggering inter-node task remapping: determining one or more nodes / processors whose current load is lower than a second preset threshold as target nodes, selecting some task layer or stage layer tasks from high-load nodes / processors, migrating them and remapping Map to the target node for execution; Map the step layer to the parallel computing unit supporting the MIMD architecture: Monitor the performance efficiency of each MIMD unit in real time, and when it is detected that the efficiency of a certain MIMD unit is lower than the third preset threshold, trigger the task remapping between MIMD units: Determine one or more MIMD units whose current performance efficiency is higher than the fourth preset threshold as the target unit, migrate and remap some step layer tasks on the low-efficiency MIMD unit to the target unit for execution; Map the instruction layer to the SIMD or vector instruction unit of each unit; Construct a block hierarchical scheduling strategy generation model, take the hierarchical representation model and the hardware parameters of the target heterogeneous platform as input, and output a set of candidate scheduling strategies; Design a comprehensive scoring function, calculate the expected performance scores of all candidate scheduling strategies in parallel, and select the one with the highest score as the optimal hierarchical scheduling strategy; Implement the optimal hierarchical scheduling strategy, and continuously monitor the execution effect of the matrix decomposition task; The first preset threshold, the second preset threshold, the third preset threshold, and the fourth preset threshold represent the high load threshold of the node / processor, the low load upper limit threshold of the node / processor, the minimum performance threshold of the MIMD unit, and the high performance lower limit threshold of the MIMD unit, respectively.

[0014] As a preferred solution of the matrix decomposition parallel optimization method for high-performance computing described in the present invention, the real-time adjustment of the distribution of meteorological data matrix decomposition tasks includes the following steps: using algorithm calculation representation, setting the step-level tasks of the matrix decomposition as the initial granularity unit of work stealing; for each heterogeneous computing unit, initializing the priority step-level task set according to the optimal parallelization scheme determined by the hierarchical Bayesian network model and the structural characteristics of the meteorological data matrix; allocating a local double-ended task queue for storage to each heterogeneous computing unit, and allocating a work stealing thread to execute the stealing task process; determining the work stealing strategy and the timing of work stealing. The stealing task process is executed periodically at an interval T; each heterogeneous computing unit takes out the matrix decomposition task from the local double-ended task queue and executes it. After the execution is completed, the calculation results are summarized and returned to the upper-level initiating node / processor; the completion status of the step-level tasks is monitored and judged in real time. If there are unfinished tasks, the stealing task process is repeatedly executed until all step-level tasks are completed; if all step-level tasks are completed, the key performance indicators and task sample data of each heterogeneous computing unit are periodically collected, and the collected data are fed back to the hierarchical Bayesian network model for incremental update and optimization of the hierarchical Bayesian network model parameters.

[0015] As a preferred solution of the matrix decomposition parallel optimization method for high-performance computing described in the present invention, the stealing task process includes: detecting whether the local double-ended task queue is empty. If it is not empty, no stealing is required and the normal execution mode is directly entered; if it is empty, an optimal stolen computing unit is comprehensively evaluated and selected based on the conditional probability calculation results of the hierarchical Bayesian network model and multiple weight factors; after the stolen object is selected, the batch stealing number k is dynamically determined according to the work stealing strategy, and k step-level tasks are stolen from the selected optimal stolen computing unit to the local double-ended task queue; judging whether the stealing is completed, if completed, returning to the normal execution mode, otherwise repeating the stealing process until the number of matrix decomposition tasks in the local queue reaches a preset threshold, and then entering the normal execution mode.

[0016] In a second aspect, an embodiment of the present invention provides a matrix decomposition parallel optimization system for high-performance computing, which includes a feature extraction module for constructing a matrix feature extractor to automatically extract key features from an input large-scale meteorological data matrix; a model construction module for constructing a hierarchical Bayesian network model based on the extracted key features, and determining the optimal parallelization scheme for meteorological data matrix decomposition through probabilistic reasoning; a code generation module for dynamically generating parallel codes according to the architectural characteristics of various hardware accelerators in a meteorological supercomputer cluster using adaptive code transformation technology for the selected parallelization scheme; a parallel scheduling module for introducing a block-by-block hierarchical parallel scheduling strategy to decompose the computational tasks of the meteorological data matrix into task blocks of different granularities, and hierarchically scheduling the task blocks to multiple heterogeneous computing units of the supercomputer cluster according to the generated parallel code; a task allocation module for adjusting the allocation of meteorological data matrix decomposition tasks in real time using a fine-grained dynamic load balancing strategy based on a work-stealing mechanism in each heterogeneous computing unit; a feedback optimization module for establishing a feedback optimization mechanism to continuously collect computing performance data during the decomposition of the meteorological data matrix, and dynamically adjust the parameters of the hierarchical Bayesian network model according to the computing performance data.

[0017] In a third aspect, an embodiment of the present invention provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: when the computer program instructions are executed by the processor, the steps of the matrix decomposition parallel optimization method for high-performance computing as described in the first aspect of the present invention are implemented.

[0018] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein: when the computer program instructions are executed by a processor, the steps of the matrix decomposition parallel optimization method for high-performance computing as described in the first aspect of the present invention are implemented.

[0019] The beneficial effects of the present invention are as follows: the present invention realizes the automatic selection of intelligent parallel strategies based on feature quantization and probability models, avoiding the inefficiency and blind spots of manual experience selection; proposes an adaptive code transformation technology to automatically generate efficient parallel codes according to heterogeneous hardware architectures; designs a block-by-block hierarchical parallel task scheduling strategy to map tasks to different computing resources on heterogeneous platforms for parallel execution; introduces work stealing dynamic load balancing based on conditional entropy at a fine-grained level to maximize the utilization of heterogeneous resources; constructs a feedback optimization closed loop to dynamically adjust the parallel strategy model according to operating data to continuously improve efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0021] Figure 1 A flowchart of the framework of the parallel optimization method for matrix decomposition for high-performance computing.

[0022] Figure 2 Flowchart for parallel strategy selection for parallel optimization methods of matrix factorization for high performance computing.

[0023] Figure 3 Flowchart of hierarchical parallel scheduling for matrix decomposition parallel optimization method for high performance computing.

[0024] Figure 4 Computer device diagram for parallel optimization of matrix factorization for high performance computing. DETAILED DESCRIPTION

[0025] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the accompanying drawings.

[0026] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.

[0027] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive with other embodiments.

[0028] Example 1

[0029] Reference Figure 1~Figure 4 , which is the first embodiment of the present invention, and provides a matrix decomposition parallel optimization method for high performance computing, including:

[0030] S1: Build a matrix feature extractor to automatically extract key features from the input large-scale meteorological data matrix.

[0031] It should be noted that the framework flow chart of the present invention is as follows Figure 1As shown, the key features include but are not limited to matrix sparsity, matrix dimension, matrix value distribution characteristics, matrix structure characteristics, and condition number.

[0032] S2: A hierarchical Bayesian network model is constructed based on the extracted key features, and the optimal parallelization scheme for meteorological data matrix decomposition is determined through probabilistic reasoning.

[0033] Specifically, the parallel strategy selection flowchart is as follows: Figure 2 Quantitatively evaluate the extracted key features, analyze their impact on parallel computing performance, and determine the weight coefficient of each key feature ; Build a parallel strategy knowledge base, which includes various parallelization algorithms suitable for meteorological data matrix decomposition, analysis of the advantages and disadvantages of parallel granularity and parallel strategies, and introduction to applicable scenarios; Build a hierarchical Bayesian network model, using the key features of the meteorological data matrix as evidence nodes and the parallelization scheme as the target node; In the framework of the hierarchical Bayesian network model, use the weight coefficient Probabilistic reasoning and conditional probability calculation are performed on various parallelization schemes S. The specific formula is as follows:

[0034] ;

[0035] in, represents the normalization constant, represents the i-th key feature, Representing key features The weight coefficient of Representing key features The parent node of Represents the parent node Given the conditions, the key features The conditional probability of taking a value, represents the parallelization scheme, The parent node representing the parallelization scheme, Represents the parent node Under given conditions, the parallelization scheme The conditional probability of being selected, n represents the number of key features of the meteorological data matrix, Represents the key features of a given meteorological data matrix Under the condition of , the posterior probability of selecting the parallelization scheme S.

[0036] Furthermore, the top N parallelization schemes with the largest probability are selected from the probability distribution and output; the selected N parallelization schemes are evaluated twice, and the optimal parallelization scheme is returned according to the evaluation results: if the difference between the maximum performance and the minimum performance among the N parallelization schemes exceeds the preset threshold, the scheme with the smallest expected performance loss is returned as the optimal parallelization scheme; if the difference between the maximum performance and the minimum performance among the N parallelization schemes does not exceed the preset threshold, additional conditions including energy consumption and system load are comprehensively considered, and the optimal parallelization scheme that meets the additional constraints is returned; the parallel execution process of the actual meteorological data matrix decomposition is continuously tracked, feedback data is collected, and the parameters of the hierarchical Bayesian network model are updated according to the preset period to dynamically adjust the selection of the parallelization scheme; the parallelization scheme refers to a combination of parallelization algorithm, parallel granularity and parallel strategy.

[0037] It should be noted that the present invention sets a performance difference threshold. If the difference between the maximum and minimum performance values ​​of the parallelization scheme exceeds the threshold, it is considered that there is a significant difference. The threshold is set based on the experience of specific application scenarios.

[0038] Preferably, the present invention proposes an automatic parallel strategy selection mechanism based on feature extraction and hierarchical Bayesian network model. By quantifying the key features of the input matrix and combining it with the constructed parallel strategy knowledge base, it can intelligently predict the parallel algorithm, granularity and strategy combination that best matches the current task, avoiding the inefficiency and blind spots of manual experience selection, reducing unnecessary waste of computing resources, and improving the task execution speed.

[0039] S3: For the determined parallelization scheme, adaptive code transformation technology is used to dynamically generate parallel codes according to the architectural characteristics of various hardware accelerators in the meteorological supercomputer cluster.

[0040] Specifically, the following steps are included:

[0041] S3.1: Construct hardware architecture description and algorithm computational representation for the target heterogeneous acceleration platform in the meteorological supercomputer cluster and the parallelization algorithm determined by the optimal parallelization scheme.

[0042] Specifically, for the target heterogeneous acceleration platform, a unified hardware architecture description is constructed: graph theory or formal language is used to characterize the hardware composition and topology of this platform, including analyzing and identifying the types, quantities and interconnection topological relationships between heterogeneous computing units, describing the capacity, bandwidth and hierarchical structure of the platform storage system in layers, and characterizing the interconnection network topology between heterogeneous computing units and storage resources. A formal computational representation of the parallel algorithm determined by the optimal parallelization scheme is constructed to capture and express the computational semantics and parallel characteristics of this algorithm. The computational representation includes at least the following: designing a data partitioning mechanism to describe the division and distribution of input data among parallel tasks; determining the task partitioning granularity, which is the basic unit of algorithm parallelization; modeling a task synchronization communication mechanism to describe the synchronization operation and communication mode during the execution of parallel tasks; analyzing and representing the data dependency between tasks, and characterizing the source and production path of the data required for task execution.

[0043] S3.2: Establish a mapping relationship model between the algorithm calculation representation and the hardware architecture description, and define the mapping method and mapping constraints of parallel matrix decomposition calculation tasks to heterogeneous hardware resources.

[0044] S3.3: For the mapping relationship model, an algorithm-architecture affinity analysis module is constructed to automatically identify the affinity matching features between the matrix decomposition parallelization algorithm and the target architecture.

[0045] Specifically, in the present invention, affinity matching features include but are not limited to computing density matching (the matching of the computing intensity of the parallel algorithm with the computing power of the target architecture), memory access mode compatibility (the compatibility of the memory access mode of the parallel algorithm with the memory hierarchy and bandwidth characteristics of the target architecture), data parallelism matching (the matching of the data parallel characteristics of the parallel algorithm with the SIMD or vectorization capabilities of the target architecture), task parallelism matching (the matching of the task parallel characteristics of the parallel algorithm with the multi-core or multi-threaded processing capabilities of the target architecture), and communication mode adaptability (the adaptability of the inter-task communication mode of the parallel algorithm with the network topology and communication bandwidth of the target architecture).

[0046] S3.4: Establish a code transformation strategy template library T, and design and construct a program transformation strategy template corresponding to the meteorological data matrix decomposition based on the affinity matching characteristics.

[0047] Preferably, define the affinity matching feature vector ,in represents the i-th affinity matching feature, and n represents the number of affinity matching features; construct an affinity matching feature extraction module, automatically extract the corresponding affinity matching feature vector AF based on the input algorithm calculation representation; for each affinity matching feature , design and build a set of corresponding code transformation strategy templates ,in represents the jth transformation strategy template for this affinity matching feature, k represents the number of transformation strategy templates for a single affinity matching feature; the transformation strategy templates corresponding to multiple affinity matching features are combined to construct a comprehensive code transformation strategy template library T, ,in represents the i-th affinity matching feature vector, represents the corresponding transformation strategy template set, and m represents the number of affinity matching feature vectors.

[0048] S3.5: For each target heterogeneous acceleration platform, select the best matching program transformation strategy template from the code transformation strategy template library T, perform program transformation on the original parallelization algorithm code, and generate the target heterogeneous parallel code.

[0049] S3.6: For the generated target heterogeneous parallel code, call the compilation tool chain corresponding to the target platform to generate an executable target binary instruction stream.

[0050] S3.7: Use symbolic execution technology to analyze the execution characteristics of the binary instruction stream. If there is any deviation, it is fed back to the code transformation strategy template library T to regenerate parallel code.

[0051] S3.8: Distribute and deploy the verified parallel code to the corresponding heterogeneous hardware execution units of the target heterogeneous acceleration platform, and start parallel execution.

[0052] Preferably, for the selected parallel strategy, the present invention designs an adaptive code transformation technology that can automatically generate efficient parallel code according to the characteristics of the target heterogeneous hardware architecture. This technology constructs a mapping relationship between the algorithm calculation representation and the hardware description, identifies the affinity matching characteristics between the algorithm and the target architecture, and performs targeted transformation and optimization on the original code based on the code transformation strategy template library. The generated parallel code is more suitable for heterogeneous hardware and the execution efficiency is significantly improved.

[0053] S4: Introduce a block-based hierarchical parallel scheduling strategy to decompose the computational tasks of the meteorological data matrix into task blocks of different granularities, and hierarchically schedule the task blocks to multiple heterogeneous computing units of the supercomputer cluster based on the generated parallel code.

[0054] Specifically, the hierarchical parallel scheduling flow chart is as follows: Figure 3As shown. For the input matrix given in step S1, an initial hierarchical representation model of the meteorological data matrix decomposition task is constructed, which includes the task layer, stage layer, step layer and instruction layer from top to bottom; the parallel characteristics of each layer are analyzed, the task layer analyzes the overall parallelism of the matrix decomposition, the stage layer identifies the matrix data correlation and parallelism, the step layer determines the matrix calculation granularity and data dependency, and the instruction layer analyzes the instruction-level parallel type of matrix operations; according to the established mapping relationship model, a dynamic load-aware task remapping strategy is adopted to map each layer to the hardware resources of the meteorological supercomputer cluster; the task layer and the stage layer are mapped to multiple nodes / processors: the load status of each node / processor is monitored in real time, and when it is detected that the load of a node / processor exceeds the first preset threshold, the task remapping between nodes is triggered: one or more nodes / processors whose current load is lower than the second preset threshold are determined as target nodes, and some task layers or stages are selected from the high-load nodes / processors. The invention discloses a method for performing a multi-step scheduling task, wherein the step layer tasks are migrated and remapped to the target node for execution; the step layer is mapped to the parallel computing unit supporting the MIMD architecture; the performance efficiency of each MIMD unit is monitored in real time, and when the efficiency of a certain MIMD unit is detected to be lower than the third preset threshold, the task remapping between MIMD units is triggered: one or more MIMD units whose current performance efficiency is higher than the fourth preset threshold are determined as the target unit, and some step layer tasks on the low-efficiency MIMD unit are migrated and remapped to the target unit for execution; the instruction layer is mapped to the SIMD or vector instruction unit of each unit; a block hierarchical scheduling strategy generation model is constructed, which takes the hierarchical representation model and the hardware parameters of the target heterogeneous platform as input, and outputs a set of candidate scheduling strategies; a comprehensive scoring function is designed, and the expected performance scores of all candidate scheduling strategies are calculated in parallel, and the one with the highest score is selected as the optimal hierarchical scheduling strategy; the optimal hierarchical scheduling strategy is implemented, and the execution effect of the matrix decomposition task is continuously monitored.

[0055] It should be noted that the hierarchical representation model of the matrix decomposition task in the present invention includes four levels: the task layer defines the overall computing objectives and constraints; the stage layer divides the task into multiple parallel computing stages; the step layer is a subdivision of the computing stage, and each step is a parallel basic computing unit; the instruction layer uses a parallel instruction sequence to characterize the specific computing semantics of each step. This hierarchical structure provides a basis for realizing multi-level parallelism and flexible task scheduling, and helps the system to optimize at different abstract levels, so as to better adapt to matrix decomposition tasks of various scales and types, as well as different hardware architecture characteristics. The first preset threshold, the second preset threshold, the third preset threshold, and the fourth preset threshold respectively represent the high load threshold of the node / processor, the low load upper limit threshold of the node / processor, the minimum performance threshold of the MIMD unit, and the high performance lower limit threshold of the MIMD unit.

[0056] Preferably, the present invention divides the matrix decomposition task into task blocks of different granularities by level, and uses a dynamic load-aware remapping strategy to schedule tasks of each level to multiple computing resources of a heterogeneous acceleration platform for parallel execution, effectively utilizing the parallel capabilities of the heterogeneous platform. At the same time, a hierarchical scheduling strategy generation model and a comprehensive scoring function are designed to ensure the efficiency of the scheduling strategy.

[0057] S5: In each heterogeneous computing unit, a fine-grained dynamic load balancing strategy based on work stealing mechanism is adopted to adjust the distribution of meteorological data matrix decomposition tasks in real time to make full use of computing resources.

[0058] Specifically, using the computational representation constructed in S3, the step-level tasks of the matrix decomposition in S4 are set as the basic granularity unit of work stealing, so that computing units with different performance can steal and execute corresponding tasks according to their capabilities; for each heterogeneous computing unit, the priority step-level task set is initialized according to the optimal parallelization scheme determined by the hierarchical Bayesian network model and the structural characteristics of the meteorological data matrix; a local double-ended task queue is allocated to each heterogeneous computing unit for storage, and a work stealing thread is allocated to execute the stealing task process; the work stealing strategy and the time interval T of work stealing are determined, and the time interval is calculated according to the time interval. T periodically executes the stealing task process; each heterogeneous computing unit takes out the matrix decomposition task from the local double-ended task queue and executes it. After the execution is completed, the calculation results are summarized and returned to the upper-level initiating node / processor; the completion status of the step-level tasks is monitored and judged in real time. If there are unfinished tasks, the stealing task process is repeatedly executed until all step-level tasks are completed; if all step-level tasks are completed, the key performance indicators and task sample data of each heterogeneous computing unit are periodically collected, and the collected data are fed back to the hierarchical Bayesian network model for incremental update and optimization of the hierarchical Bayesian network model parameters.

[0059] It should be noted that the task stealing process is as follows: check whether the local double-ended task queue is empty. If it is not empty (indicating that there are tasks to be executed locally), there is no need to steal and directly enter the normal execution mode; if it is empty, based on the conditional probability calculation results of the hierarchical Bayesian network model and multiple weight factors including computing power matching, task data relevance, etc., comprehensively evaluate and select an optimal stolen computing unit; after selecting the stolen object, dynamically determine the batch stealing number k according to the work stealing strategy, and steal k step-level tasks from the selected optimal stolen computing unit to the local double-ended task queue; determine whether the stealing is completed. If completed, return to the normal execution mode, otherwise repeat the stealing process until the number of matrix decomposition tasks in the local queue reaches the preset threshold, and then enter the normal execution mode.

[0060] It should be noted that determining the work stealing strategy and the work stealing time interval T includes the following steps: by calculating the global conditional entropy Quantify the imbalance of task distribution state X under different computing resource states Y; design work stealing strategies , so that it maximizes the global conditional entropy , in order to achieve the best load balancing, the specific formula is as follows:

[0061] ;

[0062] in, represents the optimal work-stealing strategy, represents the conditional Shannon entropy, X represents the task distribution status of each computing unit in the heterogeneous computing environment, and Y represents the resource status of each computing unit in the heterogeneous computing environment. Represents a maximize operation.

[0063] Further, in determining the work stealing strategy Under this condition, the stolen computing unit with the largest conditional incremental entropy ΔH is selected, that is:

[0064] ;

[0065] in, represents the new task distribution state after stealing a single task, X represents the task distribution state on each computing unit in the heterogeneous computing environment, Y represents the resource state of each computing unit in the heterogeneous computing environment, a represents a single task, represents the conditional incremental entropy.

[0066] Furthermore, an adaptive time interval determination mechanism is introduced to dynamically adjust the work stealing strategy. Implementation frequency: At the beginning of each time interval T, calculate the global conditional entropy , and according to the rate of change of H in the past interval Determine the next time interval T. The specific formula is as follows:

[0067] ;

[0068] Where T represents the time interval, represents the preset scale constant, Represents the global conditional entropy The rate of change, Indicates countdown.

[0069] It should be noted that the specific formula of the conditional Shannon entropy model is as follows:

[0070] ;

[0071] Among them, X represents the task distribution status of each computing unit in the heterogeneous computing environment, and Y represents the resource status of each computing unit in the heterogeneous computing environment. represents the conditional entropy of the task distribution state X under the condition that the computing unit resource state is known to be y, represents the probability that the resource state of the computing unit is y, represents the global conditional entropy.

[0072] Preferably, at the fine-grained task level, the present invention introduces a dynamic load balancing strategy based on a work stealing mechanism, and innovatively applies the conditional Shannon entropy theory to load balancing, which can quantify the degree of imbalance and dynamically determine the optimal work stealing strategy and time interval, thereby maximizing the utilization of heterogeneous computing resources.

[0073] S6: Establish a feedback optimization mechanism to continuously collect computing performance data during the meteorological data matrix decomposition process, and dynamically adjust the parameters of the hierarchical Bayesian network model based on the computing performance data.

[0074] Furthermore, the present embodiment also provides a matrix decomposition parallel optimization system for high-performance computing, including a feature extraction module for constructing a matrix feature extractor to automatically extract key features from an input large-scale meteorological data matrix; a model construction module for constructing a hierarchical Bayesian network model based on the extracted key features, and determining the optimal parallelization scheme for meteorological data matrix decomposition through probabilistic reasoning; a code generation module for dynamically generating parallel codes according to the architectural characteristics of various hardware accelerators in a meteorological supercomputer cluster using adaptive code transformation technology for the selected parallelization scheme; a parallel scheduling module for introducing a block-by-block hierarchical parallel scheduling strategy to decompose the computational tasks of the meteorological data matrix into task blocks of different granularities, and hierarchically scheduling the task blocks to multiple heterogeneous computing units of a supercomputer cluster according to the generated parallel code; a task allocation module for adjusting the distribution of meteorological data matrix decomposition tasks in real time using a fine-grained dynamic load balancing strategy based on a work-stealing mechanism in each heterogeneous computing unit; and a feedback optimization module for establishing a feedback optimization mechanism to continuously collect computing performance data during the decomposition of the meteorological data matrix, and dynamically adjust the parameters of the hierarchical Bayesian network model according to the computing performance data.

[0075] This embodiment also provides a computer device, which is suitable for the case of a matrix decomposition parallel optimization method for high-performance computing, including a memory and a processor; the memory is used to store computer-executable instructions, and the processor is used to execute computer-executable instructions to implement the matrix decomposition parallel optimization method for high-performance computing proposed in the above embodiment.

[0076] The computer device may be a terminal, and the computer device includes a processor, a memory, a communication interface, a display screen and an input device connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner may be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covering the display screen, or a button, trackball or touchpad provided on the housing of the computer device, or an external keyboard, touchpad or mouse, etc. Figure 4 shown.

[0077] This embodiment also provides a storage medium on which a computer program is stored. When the program is executed by a processor, the method for parallelizing matrix decomposition for high-performance computing proposed in the above embodiment is implemented.

[0078] In summary, the present invention realizes the automatic selection of intelligent parallel strategies based on feature quantization and probability models, avoiding the inefficiency and blind spots of manual experience selection; proposes adaptive code transformation technology to automatically generate efficient parallel codes according to heterogeneous hardware architecture; designs a block-by-block hierarchical parallel task scheduling strategy to map tasks to different computing resources of heterogeneous platforms for parallel execution; introduces work stealing dynamic load balancing based on conditional entropy at a fine-grained level to maximize the utilization of heterogeneous resources; constructs a feedback optimization closed loop to dynamically adjust the parallel strategy model according to operating data to continuously improve efficiency.

[0079] Example 2

[0080] Reference Figure 1~Figure 4 , which is the second embodiment of the present invention, and this embodiment provides a matrix decomposition parallel optimization method for high-performance computing. In order to verify the beneficial effects of the present invention, scientific demonstration is carried out through economic benefit calculation and simulation experiments.

[0081] Specifically, suppose that in a satellite remote sensing data processing scenario from space exploration, a large dense matrix containing 200,000 rows and 10,000 columns needs to be principal component analyzed. The matrix comes from the pixel values ​​of more than 2,000 high-resolution remote sensing images, each image is 10,000 × 10,000 pixels, a total of 20 million pixels. The present invention performs the core SVD decomposition step of the PCA task on a heterogeneous cluster consisting of 8 64-core CPU nodes and 32 NVIDIA A100 GPUs.

[0082] Firstly, a matrix feature extractor is constructed to analyze the input matrix. It is found that the matrix data is very dense, with each element being a 32-bit floating point number and a total data volume of 160GB. The numerical distribution presents a bell-shaped curve, with a median of about 108, a maximum of 2048, and a minimum of 15. The overall structure of the matrix is ​​relatively uniform. Based on these characteristics, the second-order Jacobi SVD parallel algorithm and the parallel strategy of two-dimensional block column partitioning are selected as the optimal combination through probabilistic reasoning of the hierarchical Bayesian network model. The parallel speedup ratio is expected to be about 256 times.

[0083] Secondly, according to the specific hardware architecture of the target heterogeneous cluster and the selected Jacobi SVD algorithm, description models are constructed, mapping relationships are established, affinity matching features are analyzed as data parallelism and closed synchronous communication, and code transformation strategies are selected from the template library to generate efficient CPU and GPU parallel codes.

[0084] Then, the SVD tasks are mapped to CPU nodes and GPUs for parallel execution according to the hierarchical scheduling strategy. The task layer and stage layer are mapped to the node / CPU resource pool, the step layer is mapped to the GPU resource pool, and the instruction layer is executed by the SIMD / tensor core inside the GPU. At the step layer fine-grained, each computing unit uses a work stealing mechanism based on conditional non-entropy to coordinate with each other and dynamically adjust the load.

[0085] The experimental results show that the method of the present invention can be used to perform SVD decomposition of a 200,000×10,000 matrix on the above heterogeneous cluster. Compared with the single-node CPU serial execution, the overall execution time is shortened by 61 times, which is close to the expected 65 theoretical speedup ratio, fully verifying that the method has excellent parallel optimization capabilities for large-scale dense matrix computing tasks. In addition, the good portability of the method of the present invention enables it to adapt to input matrices of different sizes and different heterogeneous hardware environments.

[0086] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. A matrix decomposition parallel optimization method for high performance computing, characterized by: include, Construct a matrix feature extractor to automatically extract key features from the input large-scale meteorological data matrix; A hierarchical Bayesian network model is constructed based on the extracted key features, and an optimal parallelization scheme for meteorological data matrix decomposition is determined through probabilistic reasoning, wherein the optimal parallelization scheme is an optimal combination of parallelization algorithm, parallel granularity and parallel strategy; For the determined optimal parallelization scheme, adaptive code transformation technology is used to dynamically generate parallel code according to the architectural characteristics of various hardware accelerators in the supercomputer cluster; A block-based hierarchical parallel scheduling strategy is introduced to decompose the computational tasks of the meteorological data matrix into task blocks of different granularities, and the task blocks are hierarchically scheduled to multiple heterogeneous computing units of the supercomputer cluster according to the generated parallel code; In each heterogeneous computing unit, a fine-grained dynamic load balancing strategy based on work stealing mechanism is adopted to adaptively adjust the distribution of meteorological data matrix decomposition tasks to make full use of computing resources. Establish a feedback optimization mechanism to continuously collect computing performance data during the meteorological data matrix decomposition process and dynamically adjust the parameters of the hierarchical Bayesian network model based on the computing performance data; The optimal parallelization scheme for determining the meteorological data matrix decomposition by probabilistic reasoning comprises the following steps: Quantitatively evaluate the extracted key features, analyze their impact on parallel computing performance, and determine the weight coefficient of each key feature ; Construct a parallel strategy knowledge base, which includes various parallel algorithms applicable to meteorological data matrix decomposition, analysis of the advantages and disadvantages of parallel granularity and parallel strategies, and introduction to applicable scenarios; A hierarchical Bayesian network model is constructed, with the key features of the meteorological data matrix as evidence nodes and the parallelization scheme S as the target node; In the hierarchical Bayesian network model framework, the weight coefficients are used Perform probabilistic reasoning and conditional probability calculations on various parallelization schemes S; Select the top N parallelization solutions with the highest probability from the probability distribution and output them; Perform a secondary evaluation on the selected N parallelization schemes, and return the optimal parallelization scheme based on the evaluation results; The secondary assessment includes, If the difference between the maximum performance and the minimum performance among the N parallelization schemes exceeds the preset threshold, the scheme with the smallest expected performance loss is returned as the optimal parallelization scheme; If the difference between the maximum performance and the minimum performance among the N parallelization schemes does not exceed the preset threshold, then the additional conditions including energy consumption and system load are comprehensively considered, and the scheme that meets the additional constraints is returned as the optimal parallelization scheme; Continuously track the parallel execution process of actual meteorological data matrix decomposition, collect feedback data, and update the parameters of the hierarchical Bayesian network model according to the preset period to dynamically adjust the selection of parallelization schemes; The dynamic generation of parallel code comprises the following steps: Construct hardware architecture description and algorithm computation representation for the target heterogeneous acceleration platform in the meteorological supercomputer cluster and the parallelization algorithm determined by the optimal parallelization scheme; Establish a mapping relationship model between algorithm calculation representation and hardware architecture description, and define the mapping method and mapping constraints of parallel matrix decomposition calculation tasks to heterogeneous hardware resources; For the mapping relationship model, an algorithm-architecture affinity analysis module is built to automatically identify the affinity matching features between the matrix decomposition parallelization algorithm and the target architecture; Establish a code transformation strategy template library T, design and construct the program transformation strategy template corresponding to the meteorological data matrix decomposition according to the affinity matching characteristics; For each target heterogeneous acceleration platform, the best matching program transformation strategy template is selected from the code transformation strategy template library T, and the program transformation is performed on the original parallelization algorithm code to generate the target heterogeneous parallel code; For the generated target heterogeneous parallel code, call the compilation tool chain corresponding to the target platform to generate an executable target binary instruction stream; Symbolic execution technology is used to analyze the execution characteristics of binary instruction streams. If there are deviations, they are fed back to the code transformation strategy template library T to regenerate parallel code. The verified parallel code is distributed and deployed to the corresponding heterogeneous hardware execution units of the target heterogeneous acceleration platform.

2. The matrix decomposition parallel optimization method for high performance computing according to claim 1, characterized in that: The usage weight coefficient The specific formulas for probabilistic reasoning and conditional probability calculation for various parallelization schemes S are as follows: ;in, represents the normalization constant, represents the i-th key feature, Representing key features The weight coefficient of Representing key features The parent node of Represents the parent node Given the conditions, the key features The conditional probability of taking a value, represents the parallelization scheme, The parent node representing the parallelization scheme, Represents the parent node Under given conditions, the parallelization scheme The conditional probability of being selected, n represents the number of key features of the meteorological data matrix, Represents the key features of a given meteorological data matrix Under the condition of , the posterior probability of selecting the parallelization scheme S.

3. The matrix decomposition parallel optimization method for high performance computing according to claim 1, characterized in that: The step of hierarchically scheduling the task blocks to multiple heterogeneous computing units in the supercomputer cluster according to the generated parallel code comprises the following steps: Construct the initial hierarchical representation model of meteorological data matrix decomposition task, which includes task layer, stage layer, step layer and instruction layer from top to bottom; Analyze the parallel characteristics of each level, The task layer analyzes the overall parallelism of matrix decomposition, the stage layer identifies the matrix data correlation and parallelism, the step layer determines the matrix calculation granularity and data dependency, and the instruction layer analyzes the instruction-level parallelism type of matrix operations; According to the established mapping relationship model, a dynamic load-aware task remapping strategy is adopted to map each level to the hardware resources of the meteorological supercomputer cluster; Map the task layer and stage layer to multiple nodes / processors: Monitor the load status of each node / processor in real time. When it is detected that the load of a node / processor exceeds the first preset threshold, trigger the remapping of tasks between nodes: Determine one or more nodes / processors whose current load is lower than a second preset threshold as target nodes, select some task layer or stage layer tasks from high-load nodes / processors, migrate them and remap them to the target nodes for execution; Map the step layers to parallel computation units that support MIMD architecture: The performance efficiency of each MIMD unit is monitored in real time. When it is detected that the efficiency of a certain MIMD unit is lower than the third preset threshold, task remapping between MIMD units is triggered: Determine one or more MIMD units whose current performance efficiency is higher than a fourth preset threshold as target units, migrate and remap some step-layer tasks on the low-efficiency MIMD units to the target units for execution; Map the instruction layer to the SIMD or vector instruction unit of each unit; Construct a block-by-block hierarchical scheduling strategy generation model, which takes the hierarchical representation model and the hardware parameters of the target heterogeneous platform as input and outputs a set of candidate scheduling strategies; Design a comprehensive scoring function to calculate the expected performance scores of all candidate scheduling strategies in parallel, and select the one with the highest score as the optimal hierarchical scheduling strategy; Implement the optimal hierarchical scheduling strategy and continuously monitor the execution effect of matrix decomposition tasks; The first preset threshold, the second preset threshold, the third preset threshold, and the fourth preset threshold respectively represent the high load threshold of the node / processor, the low load upper limit threshold of the node / processor, the minimum performance threshold of the MIMD unit, and the high performance lower limit threshold of the MIMD unit.

4. The matrix decomposition parallel optimization method for high performance computing according to claim 1, characterized in that: The adaptive adjustment of the distribution of meteorological data matrix decomposition tasks comprises the following steps: Using the algorithmic computation representation, the step-level tasks of matrix decomposition are set as the initial granularity unit of work stealing; For each heterogeneous computing unit, the priority step layer task set is initialized according to the optimal parallelization scheme determined by the hierarchical Bayesian network model and the structural characteristics of the meteorological data matrix; Allocate a local double-ended task queue for storage to each heterogeneous computing unit, and allocate a work-stealing thread to execute the stealing task process; Determine the work stealing strategy and the time interval T of work stealing, and periodically execute the stealing task process according to the time interval T; Each heterogeneous computing unit takes out the matrix decomposition task from the local double-ended task queue and executes it. After the execution is completed, the calculation results are summarized and returned to the upper-layer initiating node / processor; Monitor and judge the completion status of step-level tasks in real time. If there are unfinished tasks, repeat the stealing task process until all step-level tasks are completed. If all step-level tasks are completed, the key performance indicators and task sample data of each heterogeneous computing unit are periodically collected, and the collected data are fed back to the hierarchical Bayesian network model for incremental updating and optimization of the hierarchical Bayesian network model parameters.

5. The matrix decomposition parallel optimization method for high performance computing according to claim 4, characterized in that: The stealing task process includes: Check whether the local double-ended task queue is empty. If it is not empty, there is no need to steal and the normal execution mode is entered directly; If it is empty, then based on the conditional probability calculation results of the hierarchical Bayesian network model and multiple weight factors, a comprehensive evaluation is performed to select an optimal stolen computing unit; After selecting the stolen object, the batch stealing number k is dynamically determined according to the work stealing strategy, and k step-level tasks are stolen from the selected optimal stolen computing unit to the local double-ended task queue; Determine whether the stealing is completed. If completed, return to normal execution mode. Otherwise, repeat the stealing process until the number of matrix decomposition tasks in the local queue reaches the preset threshold, and then enter normal execution mode.

6. A matrix decomposition parallel optimization system for high performance computing, based on the matrix decomposition parallel optimization method for high performance computing according to any one of claims 1 to 5, characterized in that: Also includes, Feature extraction module, used to build a matrix feature extractor to automatically extract key features from the input large-scale meteorological data matrix; The model building module is used to build a hierarchical Bayesian network model based on the extracted key features and determine the optimal parallelization scheme for meteorological data matrix decomposition through probabilistic reasoning; A code generation module is used to dynamically generate parallel codes for the selected parallelization scheme using adaptive code transformation technology according to the architectural characteristics of various hardware accelerators in the meteorological supercomputer cluster; The parallel scheduling module is used to introduce a block-by-block hierarchical parallel scheduling strategy to decompose the computational tasks of the meteorological data matrix into task blocks of different granularities, and hierarchically schedule the task blocks to multiple heterogeneous computing units of the supercomputer cluster according to the generated parallel code; The task allocation module is used to adaptively adjust the allocation of meteorological data matrix decomposition tasks in various heterogeneous computing units using a fine-grained dynamic load balancing strategy based on a work-stealing mechanism; The feedback optimization module is used to establish a feedback optimization mechanism, continuously collect computing performance data during the meteorological data matrix decomposition process, and dynamically adjust the parameters of the hierarchical Bayesian network model according to the computing performance data.

7. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein:When the processor executes the computer program, the steps of the matrix decomposition parallel optimization method for high-performance computing described in any one of claims 1 to 5 are implemented.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the matrix decomposition parallel optimization method for high-performance computing described in any one of claims 1 to 5 are implemented.