New features of parallel implementation of $N$-body problems on GPU
Vestnik Ûžno-Uralʹskogo gosudarstvennogo universiteta. Seriâ, Matematičeskoe modelirovanie i programmirovanie, Tome 11 (2018) no. 1, pp. 124-136

Voir la notice de l'article provenant de la source Math-Net.Ru

This paper focuses on the parallel implementation of a direct $N$-body method (particle-particle algorithm) and the application of multiple GPUs for galactic dynamics simulations. Application of a hybrid OpenMP-CUDA technology is considered for models with a number of particles $N \sim 10^5 \div 10^7$. By means of $N$-body simulations of gravitationally unstable stellar galactic we have investigated the algorithms parallelization efficiency for various Nvidia Tesla graphics processors (K20, K40, K80). Particular attention was paid to the parallel performance of simulations and accuracy of the numerical solution by comparing single and double floating-point precisions (SP and DP). We showed that the double-precision simulations are slower by a factor of $1,7$ than the single-precision runs performed on Nvidia Tesla K-Series processors. We also claim that application of the single-precision operations leads to incorrect result in the evolution of the non-axisymmetric gravitating $N$-body systems. In particular, it leads to significant quantitative and even qualitative distortions in the galactic disk evolution. For instance, after $10^4$ integration time steps for the single-precision numbers the total energy, momentum, and angular momentum of a system with $N = 2^{20}$ conserve with accuracy of $10^{-3}$, $10^{-2}$ and $10^{-3}$ respectively, in comparison to the double-precision simulations these values are $10^{-5}$, $10^{-15}$ and $10^{-13}$, respectively. Our estimations evidence in favour of usage of the second-order accuracy schemes with double-precision numbers since it is more efficient than in the fourth-order schemes with single-precision numbers.
Keywords: Multi-GPU; OpenMP-CUDA; GPU-Direct; Nvidia Tesla; N-body; single and double precision numerical simulation; collisionless system; gravitational instability.
@article{VYURU_2018_11_1_a10,
     author = {S. S. Khrapov and S. A. Khoperskov and A. V. Khoperskov},
     title = {New features of parallel implementation of $N$-body problems on {GPU}},
     journal = {Vestnik \^U\v{z}no-Uralʹskogo gosudarstvennogo universiteta. Seri\^a, Matemati\v{c}eskoe modelirovanie i programmirovanie},
     pages = {124--136},
     publisher = {mathdoc},
     volume = {11},
     number = {1},
     year = {2018},
     language = {en},
     url = {http://geodesic.mathdoc.fr/item/VYURU_2018_11_1_a10/}
}
TY  - JOUR
AU  - S. S. Khrapov
AU  - S. A. Khoperskov
AU  - A. V. Khoperskov
TI  - New features of parallel implementation of $N$-body problems on GPU
JO  - Vestnik Ûžno-Uralʹskogo gosudarstvennogo universiteta. Seriâ, Matematičeskoe modelirovanie i programmirovanie
PY  - 2018
SP  - 124
EP  - 136
VL  - 11
IS  - 1
PB  - mathdoc
UR  - http://geodesic.mathdoc.fr/item/VYURU_2018_11_1_a10/
LA  - en
ID  - VYURU_2018_11_1_a10
ER  - 
%0 Journal Article
%A S. S. Khrapov
%A S. A. Khoperskov
%A A. V. Khoperskov
%T New features of parallel implementation of $N$-body problems on GPU
%J Vestnik Ûžno-Uralʹskogo gosudarstvennogo universiteta. Seriâ, Matematičeskoe modelirovanie i programmirovanie
%D 2018
%P 124-136
%V 11
%N 1
%I mathdoc
%U http://geodesic.mathdoc.fr/item/VYURU_2018_11_1_a10/
%G en
%F VYURU_2018_11_1_a10
S. S. Khrapov; S. A. Khoperskov; A. V. Khoperskov. New features of parallel implementation of $N$-body problems on GPU. Vestnik Ûžno-Uralʹskogo gosudarstvennogo universiteta. Seriâ, Matematičeskoe modelirovanie i programmirovanie, Tome 11 (2018) no. 1, pp. 124-136. http://geodesic.mathdoc.fr/item/VYURU_2018_11_1_a10/