Optimization for a cluster with Xeon Phi accelerators for the problem of the filtration flow of liquids in three-dimensional media with double porosity
Based on a previously developed software package for simulating multiphase flows in a deformable porous medium using iterative methods for solving fifth-order Runge-Kutta differential equations, a parallel software package was implemented that was optimized to run on an existing cluster with Intel Xeon Phi accelerators, which are analogues of graphic accelerators in the form of multi-core coprocessors. Although these accelerators have already ceased to be produced, the methods described in this article can provide increased performance on the successors of this processor. Various ways of optimizing the program code described in this article, which are specific to this accelerator, and their impact on the time of the computing program were considered. Comparison of different ways of using accelerators in the cluster was made: native mode, symmetric mode and offload mode. A brief description of these modes was also provided. It was shown that when using the Intel Xeon Phi multi-core coprocessor, it is possible to obtain significant acceleration when performing calculations. Estimates of acceleration and efficiency are obtained using a different number of nodes of a computing cluster when using a software package. The parameters of the target computing cluster are listed