arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2309.11488cs.DCcs.AR
收藏

针对加速OPM Flow油藏模拟器的GPU硬件与求解器库的评估与比较

An Evaluation and Comparison of GPU Hardware and Solver Libraries for Accelerating the OPM Flow Reservoir Simulator

Tong Dong Qiu, Andreas Thune, Vinicius Oliveira Martins, Markus Blatt, Alf Birger Rustad, Razvan Nane

AI总结:

本文评估并比较了多种GPU求解器库及定制BiCGStab求解器在OPM Flow油藏模拟器中的加速效果,发现单个GPU可加速双线程MPI进程最多5.6倍,性能约相当于8个双线程MPI进程。

摘要:

众所周知,当提高模拟精度或扩大模型网格规模时,真实油藏模拟在计算时间方面会变得极其昂贵。解决该问题的一种方法是通过将模型划分为若干分区,并使用MPI和多线程等技术利用多个CPU进行计算,从而实现计算并行化。此外,GPU也是加速计算的理想选择,因为其大规模并行架构每秒可执行大量浮点运算。数值迭代求解器因此占据了绝大部分计算时间,并且由于模型中单元之间存在依赖关系,高效求解具有挑战性。在本工作中,我们评估了OPM Flow模拟器,比较了多个最先进的GPU求解器库以及针对使用ILU0预条件子的BiCGStab求解器定制开发的解决方案,并将它们的性能与在多个CPU处理器上使用MPI运行的默认DUNE库实现进行了基准对比。所评估的GPU软件库包括一个用OpenCL编写的手动线性求解器,以及多个第三方稀疏线性代数库的集成,例如cuSparse、rocSparse和amgcl。为了进行基准测试,我们使用了小、中、大三种用例,从包含约5万个活动单元的公开测试用例NORNE开始,到包含约100万个活动单元的大型模型结束。我们发现,GPU可以将单个双线程MPI进程加速最多5.6倍,并且其性能可与大约8个双线程MPI进程相当。

英文摘要:

Realistic reservoir simulation is known to be prohibitively expensive in terms of computation time when increasing the accuracy of the simulation or by enlarging the model grid size. One method to address this issue is to parallelize the computation by dividing the model in several partitions and using multiple CPUs to compute the result using techniques such as MPI and multi-threading. Alternatively, GPUs are also a good candidate to accelerate the computation due to their massively parallel architecture that allows many floating point operations per second to be performed. The numerical iterative solver takes thus the most computational time and is challenging to solve efficiently due to the dependencies that exist in the model between cells. In this work, we evaluate the OPM Flow simulator and compare several state-of-the-art GPU solver libraries as well as custom developed solutions for a BiCGStab solver using an ILU0 preconditioner and benchmark their performance against the default DUNE library implementation running on multiple CPU processors using MPI. The evaluated GPU software libraries include a manual linear solver in OpenCL and the integration of several third party sparse linear algebra libraries, such as cuSparse, rocSparse, and amgcl. To perform our bench-marking, we use small, medium, and large use cases, starting with the public test case NORNE that includes approximately 50k active cells and ending with a large model that includes approximately 1 million active cells. We find that a GPU can accelerate a single dual-threaded MPI process up to 5.6 times, and that it can compare with around 8 dual-threaded MPI processes.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑