THE EGAK CODE ADAPTATION TO COMPUTATIONS ON HYBRID COMPUTERS WITH GRAPHIC ACCELERATORS
A. M. Erofeev, E. A. Sizov, I. Yu. Turutina, I. N. Chistyakova VANT. Ser.: Mat. Mod. Fiz. Proc 2023. Вып.2. С. 45-58.
The paper presents results of efforts on the EGAK code adaptation to computations on parallel hybrid computers with graphic accelerators (GPUs). The EGAK code is used for the numerical simulation of multidimensional continuum mechanics problems using an immobile computational mesh. The code uses an adaptively refined mesh that introduces irregularity to the mesh structure. The approaches to resolving the problems that arise in the development of the program for computations of GPUs are described. The paper considers the issues of selecting the program implementation, when adapting the existing algorithms of the code, the issues of data transfer in case of several GPUs used in the computation. The problem of simultaneously enabling all computing resources of the node (concurrent computations on all available CPU cores and all available GPUs) is considered. The speedup values gained on a hybrid computing node with GPUs using the test problems typical for the code are shown in comparison with the node having only CPUs. Keywords: the EGAK code, EGIDA-TEST, GPU, speedup, parallelization, CUDA, MPI, OpenMP, efficiency, gas dynamics, adaptive refined mesh.
|