从MPI到MPI + OpenACC:球面拉普拉斯方程的传统FORTRAN PCG求解器的转换
From MPI to MPI+OpenACC: Conversion of a legacy FORTRAN PCG solver for the spherical Laplace equation
摘要:
描述了将OpenACC添加到传统MPI FORTRAN预处理共轭梯度代码的真实示例,并显示了多节点多GPU运行的时序结果。该代码是用来获得三维球面解的拉普拉斯方程。它的应用是寻找日冕的位场解,这是空间天气建模的一个有用工具。我们强调了添加OpenACC时面临的关键提示、策略和挑战。显示了在多个CPU上仅使用MPI运行代码以及在多个GPU和CPU上使用MPI+OpenACC运行代码的性能结果。
英文摘要:
A real-world example of adding OpenACC to a legacy MPI FORTRAN Preconditioned Conjugate Gradient code is described, and timing results for multi-node multi-GPU runs are shown. The code is used to obtain three-dimensional spherical solutions to the Laplace equation. Its application is finding potential field solutions of the solar corona, a useful tool in space weather modeling. We highlight key tips, strategies, and challenges faced when adding OpenACC. Performance results are shown for running the code with MPI-only on multiple CPUs, and with MPI+OpenACC on multiple GPUs and CPUs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。