arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1808.01995cs.DMphysics.geo-ph
收藏

Devito(v3 .1.0):用于有限差分和地球物理勘探的嵌入式领域特定语言

Devito (v3.1.0): an embedded domain-specific language for finite differences and geophysical exploration

Mathias Louboutin, Michael Lange, Fabio Luporini, Navjot Kukreja, Philipp A. Witte, Felix J. Herrmann, Paulius Velesko, Gerard J. Gorman

摘要:

我们介绍Devito,一个新的特定于领域的语言实现高性能的有限差分偏微分方程求解器。激发应用是勘探地震学,其中使用全波形反演和逆时偏移等方法来反演太字节的地震数据以创建地球地下的图像。即使使用现代超级计算机,处理一次地震调查并创建有用的地下图像也可能需要数周时间。计算成本主要由波动方程及其相应伴随的数值解决定。因此,大量的努力被投入到积极优化这些波动方程传播器的性能,为不同的计算机体系结构。此外,随着物理学越来越现实的表示的发展,被求解的实际偏微分方程组及其数值离散化正在不断创新,进一步提高了实用求解器的成本。通过在Python中嵌入特定领域的语言并大量使用符号数学库SymPy,我们可以使用与数学非常相似的语法快速开发有限差分模拟器。Devito编译器读取这些代码,并应用广泛的分析来生成高度优化的并行代码。这种方法可以将经过验证和优化的求解器的开发时间从几个月缩短到几天。

英文摘要:

We introduce Devito, a new domain-specific language for implementing high-performance finite difference partial differential equation solvers. The motivating application is exploration seismology where methods such as Full-Waveform Inversion and Reverse-Time Migration are used to invert terabytes of seismic data to create images of the earth's subsurface. Even using modern supercomputers, it can take weeks to process a single seismic survey and create a useful subsurface image. The computational cost is dominated by the numerical solution of wave equations and their corresponding adjoints. Therefore, a great deal of effort is invested in aggressively optimizing the performance of these wave-equation propagators for different computer architectures. Additionally, the actual set of partial differential equations being solved and their numerical discretization is under constant innovation as increasingly realistic representations of the physics are developed, further ratcheting up the cost of practical solvers. By embedding a domain-specific language within Python and making heavy use of SymPy, a symbolic mathematics library, we make it possible to develop finite difference simulators quickly using a syntax that strongly resembles the mathematics. The Devito compiler reads this code and applies a wide range of analysis to generate highly optimized and parallel code. This approach can reduce the development time of a verified and optimized solver from months to days.

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

↑