The research of parallel computation efficiency when modeling collisionless gravitating systems
Автор: Krylov Ivan Vladimirovich
Журнал: Математическая физика и компьютерное моделирование @mpcm-jvolsu
Рубрика: Компьютерное моделирование
Статья в выпуске: 2 (27), 2015 года.
Бесплатный доступ
N-body model is widely used for a wide range of problems in which the important role is played by collective processes. Interaction in the N-body problem is defined between pairs of particles. The force acting on one i-particle is the sum of contributions from all other particles. Each body of system is characterized by a set of parameters (weight, speed, position in space). Calculation of the acceleration caused by power influence of other particles on it is necessary for definition of the law of all particles movement. Calculations on algorithm are quite demanding: for N particles the volume of calculations grows as O(N2). The direct methods and difficult schemes allowing to reduce the volume of calculations to O (NlogN) are used for effective modeling. An alternative way to reduce time of calculations is the use of technologies of parallel computing on GPUs. The CUDA technology is considered the most advanced now. The parallel program is constructed taking into account alignment and use of the shared memory. The mechanism of interaction of threads among themselves in CUDA is realized by means of the built-in syncthreads function. The results of numerical experiments of the dynamics of gravitationally interacting N-particles are presented using a different graphics processors as a part of the algorithm "Particle-Particle" and using technology CUDA.
Моделирование n-тел, cuda, n-body simulation, gpu, parallel programming, acceleration of calculations
Короткий адрес: https://sciup.org/14968983
IDR: 14968983 | DOI: 10.15688/jvolsu1.2015.2.5