首页> 外文期刊>Geoscientific Model Development Discussions >Devito (v3.1.0): an embedded domain-specific language for finite differences and geophysical exploration
【24h】

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

机译:Devito(v3.1.0):一种嵌入式域的特定语言,用于有限差异和地球物理探索

获取原文
           

摘要

We introduce Devito, a new domain-specific language for implementing high-performance finite-difference partial differential equation solvers. The motivating application is exploration seismology for which 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.
机译:我们介绍Devito,一种用于实现高性能有限差分部分微分方程求解器的新域名语言。动机应用是探索地震学,其中诸如全波形反转和反向时间迁移的方法用于反转地震数据的Tberabytes以创建地球地下的图像。即使使用现代超级计算机,它可能需要数周才能处理单一地震调查并创建有用的地下图像。计算成本由波动方程的数值解和它们对应的伴随的数值主导。因此,投入了大量的努力,积极优化这些波动方程传播者的不同计算机架构的性能。另外,求解的实际部分微分方程以及它们的数值离散化是不断创新的,因为开发了物理学的越来越真实的表征,进一步驾驭了实际溶剂的成本。通过在Python中嵌入特定于域的语言并大量使用Sympy,符号数学库,我们可以使用强烈类似于数学的语法快速开发有限差异模拟器。 Devito Compiler读取此代码并应用各种分析以生成高度优化和并行代码。这种方法可以从几个月到几天减少经过验证和优化的求解器的开发时间。

著录项

获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号