Fine-grained shared memory communication synchronization method based on OpenMP/MPI mixed parallel CFD computation
A shared memory and communication synchronization technology, applied in computing, inter-program communication, program control design, etc., can solve problems such as idle computing resources, thread performance degradation, and very sensitive sources, so as to avoid thread blocking, increase asynchronicity, and avoid The effect of synchronization overhead
- 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 embodiments, 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 hexahedr...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


