arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1708.01365cs.DC
收藏

基于Hilbert空间填充曲线的并行油藏模拟负载均衡

Load Balancing using Hilbert Space-filling Curves for Parallel Reservoir Simulations

Hui Liu, Kun Wang, Bo Yang, Min Yang, Ruijian He, Lihua Shen, He Zhong, Zhangxin Chen

摘要:

负载均衡(网格分区)的目标是最小化总体计算和通信,并确保所有处理器具有相似的工作负载。几何方法通过使用单元的位置来划分网格,而拓扑方法与单元的连通性一起工作,其通常被描述为图。本文介绍了一种Hilbert空间填充曲线法。空间填充曲线是一条连续的曲线,它定义了一维空间和多维空间之间的映射。希尔伯特空间填充曲线是希尔伯特发现的一种特殊的空间填充曲线,它具有许多有用的特性,如良好的局部性,这意味着在多维空间中相互接近的两个对象在一维空间中也相互接近。这个属性可以为基于网格的并行应用程序中的通信建模。希尔伯特空间填充曲线方法的思想是将计算域映射到一维空间,将一维空间划分为一定的区间,并将同一区间内的所有单元分配给MPI。为了实现负载均衡方法,需要一个映射内核将高维坐标转换为标量值,还需要一个高效的一维分区模块,该模块划分一维空间并确保所有间隔具有相似的工作负载。将Hilbert空间填充曲线法与著名的图划分软件ParMETIS进行了比较。实验结果表明,本文提出的Hilbert空间填充曲线方法具有良好的划分质量。它已经应用于具有数十亿个单元的网格,并且在IBM Blue Gene/Q上获得了线性可扩展性。

英文摘要:

The goal of load balancing (grid partitioning) is to minimize overall computations and communications, and to make sure that all processors have a similar workload. Geometric methods divide a grid by using a location of a cell while topological methods work with connectivity of cells, which is generally described as a graph. This paper introduces a Hilbert space-filling curve method. A space-filling curve is a continuous curve and defines a map between a one-dimensional space and a multi-dimensional space. A Hilbert space-filling curve is one special space-filling curve discovered by Hilbert and has many useful characteristics, such as good locality, which means that two objects that are close to each other in a multi-dimensional space are also close to each other in a one dimensional space. This property can model communications in grid-based parallel applications. The idea of the Hilbert space-filling curve method is to map a computational domain into a one-dimensional space, partition the one-dimensional space to certain intervals, and assign all cells in a same interval to a MPI. To implement a load balancing method, a mapping kernel is required to convert high-dimensional coordinates to a scalar value and an efficient one-dimensional partitioning module that divides a one-dimensional space and makes sure that all intervals have a similar workload. The Hilbert space-filling curve method is compared with ParMETIS, a famous graph partitioning package. The results show that our Hilbert space-filling curve method has good partition quality. It has been applied to grids with billions of cells, and linear scalability has been obtained on IBM Blue Gene/Q.

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

↑