论文标题
2D声波方程的平行混合实现
A parallel hybrid implementation of the 2D acoustic wave equation
论文作者
论文摘要
在本文中,我们建议使用单个计算机的隐式差异方案为二维声波方程的数值解提供一种混合并行编程方法。计算是在隐式有限差方案中进行的。首先,我们将微分方程转换为隐式有限差方程,然后使用ADI方法,将方程式分为两个子方程。使用循环还原算法,我们计算一个近似解决方案。最后,我们将此算法更改为在GPU,GPU+OpenMP和Hybrid(GPU+OpenMP+MPI)计算平台上并行化。 特别的重点是改善并行算法的性能,以根据执行时间计算加速度。我们表明,在混合方法上运行的代码通过将我们的结果与通过在经典处理器核心,CUDA和CUDA+OPENMP实现的相同模拟获得的结果进行比较,从而为预期的结果提供了比较。
In this paper, we propose a hybrid parallel programming approach for a numerical solution of a two-dimensional acoustic wave equation using an implicit difference scheme for a single computer. The calculations are carried out in an implicit finite difference scheme. First, we transform the differential equation into an implicit finite-difference equation and then using the ADI method, we split the equation into two sub-equations. Using the cyclic reduction algorithm, we calculate an approximate solution. Finally, we change this algorithm to parallelize on GPU, GPU+OpenMP, and Hybrid (GPU+OpenMP+MPI) computing platforms. The special focus is on improving the performance of the parallel algorithms to calculate the acceleration based on the execution time. We show that the code that runs on the hybrid approach gives the expected results by comparing our results to those obtained by running the same simulation on a classical processor core, CUDA, and CUDA+OpenMP implementations.