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

Cosmic n-body numerical simulation optimization method and system based on Shenwei framework

A numerical simulation and optimization method technology, applied in the field of numerical simulation optimization method and system of N-body in the universe, can solve the problems of slow numerical simulation speed of N-body in the universe, insufficient use of hardware resources, waste of hardware resources, etc., and solve the problem of load balancing , performance improvement, and efficiency improvement

Active Publication Date: 2022-04-15
SHANDONG UNIV
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The inventor found that the performance of the initial ported version of the PhotoNs-2.0 code on the Shenwei platform was not good, and it did not make full use of hardware resources, resulting in waste of hardware resources, and the slow speed of the numerical simulation of the universe N-body

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
  • Cosmic n-body numerical simulation optimization method and system based on Shenwei framework
  • Cosmic n-body numerical simulation optimization method and system based on Shenwei framework
  • Cosmic n-body numerical simulation optimization method and system based on Shenwei framework

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0039] figure 1 A flow chart of the N-body numerical simulation optimization method for the universe based on the Shenwei framework of this embodiment is given.

[0040] Combine below figure 1 The specific implementation process of the universe N-body numerical simulation optimization method based on the Shenwei framework in this embodiment is given.

[0041] like figure 1 As shown, a numerical simulation optimization method for N-body universe based on Shenwei architecture in this embodiment includes:

[0042] Step S101: Pack and transmit the cosmic particle data of the same target process to the corresponding process of the main core at one time, so as to separate the MPI communication process from the universe N-body numerical simulation calculation process.

[0043] In the original PhotoNs-2.0 code program, the stress on particles between processes needs to be calculated for 27 rounds according to the "communication-computation" mode. This way of mixing communication an...

Embodiment 2

[0080] like Figure 8 As shown, this embodiment is a numerical simulation and optimization system for N-body universe based on Shenwei architecture, which includes:

[0081] (1) A communication module, which is used to pack the cosmic particle data of the same target process and transmit it to the corresponding process of the main core at one time, so as to separate the MPI communication process and the numerical simulation calculation process of the universe N-body;

[0082] (2) Particle bag ID marking module, which is used to form the particle bag corresponding to each particle with the cosmic particle data of each same target process in the main core and mark the ID value of each particle bag one by one according to the digital form from small to large;

[0083] (3) Task average distribution module, which is used to build a task list, each task corresponds to a pair of particle packages, and all tasks in the task list are evenly distributed to each slave core to ensure the ...

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 present invention provides a numerical simulation optimization method and system for N-body in the universe based on the Shenwei framework. Among them, the method includes packing the cosmic particle data of the same target process and transmitting them to the corresponding process of the main core at one time, so as to separate the MPI communication process and the universe N-body numerical simulation calculation process; The particle data forms the particle package corresponding to each particle and marks the ID value of each particle package one by one according to the number form from small to large; build a task list, each task corresponds to a pair of particle packages, and distribute all tasks in the task list to each slave On the core, ensure the load balance of each slave core; use polynomials to fit the erfc function and exp function on each slave core, use the fitted erfc function and exp function to solve the interaction force of each pair of particles in each task, and obtain Nucleus calculation results; upload the calculation results of each slave core to the main core for summary, and realize the numerical simulation of the N-body in the universe.

Description

technical field [0001] The invention belongs to the field of numerical simulation optimization, and in particular relates to a numerical simulation optimization method and system for N-body universe based on Shenwei architecture. Background technique [0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art. [0003] PhotoNs-2.0 is a cosmic N-body numerical simulation software developed by the National Astronomical Observatory, which is used to solve the formation and evolution of large-scale structures in space, and then help to study the nature of issues including the distribution of matter in the universe, the formation of galaxies, and dark matter and energy. The transplantation and application on the supercomputing platform is of great significance. [0004] In simulating a particle dynamics system, each particle interacts with all other particles under the influence of phy...

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): G06F30/25G06F9/50G06F111/10
CPCG06F9/505G06F9/5066
Inventor 刘卫国王庆伟邵奇邵明山张庭坚
Owner SHANDONG UNIV
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