A Fine-grained Shared Memory Communication Synchronization Method Based on OpenMP/MPI Hybrid Parallel CFD Computing
A shared memory, communication synchronization technology, applied in computing, inter-program communication, program control design, etc., can solve problems such as source sensitivity, thread performance decline, idle computing resources, etc., to avoid thread blocking, increase asynchrony, improve The effect of parallel efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0034] The present invention will be further described in detail below in conjunction with specific examples, which are explanations of the present invention rather than limitations.
[0035] A pseudo-code flow of a fine-grained shared memory communication synchronization method based on OpenMP / MPI hybrid parallel CFD calculation proposed by the present invention, as shown in Table 1, includes:
[0036] Step A, each MPI process initializes the memory buffer used for OpenMP shared buffer communication according to the total number of threads in the process, and initializes the mutex used for shared buffer synchronization.
[0037] Step A1, the MPI process according to the number of boundary surfaces that each thread needs to perform shared memory communication in the process, each boundary surface is provided with two double buffers for communication, the master and the backup, so that all threads in the process can access these shared memory buffer. For structured hexahedral ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


