Devito (v3.1.0): an embedded domain-specific language for finite differences and geophysical exploration
Open accessThe DOI matches its Crossref record; 39 of the 39 references it cites were found in a registry or an index.
Abstract
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.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Inversion of seismic reflection data in the acoustic approximation
Tarantola, A. (1984) · Geophysics · doi:10.1190/1.1441754 · Cited by 3,759 · cited 1×
“…c, or alternatively the square slowness of the wave,m= 1c2 (not an overload), from a given set of measurements of the pressure wavefield u. Lions (1971); Tarantola (1984); Virieux and Operto (2009); Haber et al. (2012) shows that this can be expressed as a PDE-constrained optimization problem.”
BackgroundAn overview of full-waveform inversion in exploration geophysics
Virieux, J., & Operto, S. (2009) · Geophysics · doi:10.1190/1.3238367 · Cited by 3,750 · cited 2×
“…c, or alternatively the square slowness of the wave,m= 1c2 (not an overload), from a given set of measurements of the pressure wavefield u. Lions (1971); Tarantola (1984); Virieux and Operto (2009); Haber et al. (2012) shows that this can be expressed as a PDE-constrained optimization problem.”
BackgroundWilliams, S., Waterman, A., & Patterson, D. A. (2009) · Communications of the ACM · doi:10.1145/1498765.1498785 · Cited by 2,798
Optimal Control of Systems Governed by Partial Differential Equations
Lions, J. L. (1971) · Springer eBooks · doi:10.1007/978-3-642-65024-6 · Cited by 2,721
Automated Solution of Differential Equations by the Finite Element Method: The FEniCS Book
(2012) · Lecture Notes in Computational Science and Engineering · doi:10.1007/978-3-642-23099-8 · Cited by 2,204 · cited 4×
“Devito aims to combine performance benefits of dedicated stencil frameworks (Bondhugula et al., 2008; Tang et al., 2011; Henretty et al., 2013; Yount, 2015) with the expressiveness of symbolic PDE-solving DSLs (Logg et al., 2012; Rathgeber et al., 2015) through automated code generation and optimization from high-leve…”
BackgroundMethodInfluential(2006) · Cited by 1,979
Plessix, R.-E. (2006) · Geophysical Journal International · doi:10.1111/j.1365-246x.2006.02978.x · Cited by 1,937 · cited 2×
“To solve this optimization problem with a gradient-based method, we use the adjoint-state method to evaluate the gradient (Plessix, 2006; Haber et al., 2012): ∇Φs(m) = nt∑ t=1 u[t]vtt[t] = J T δds, (7) where nt is the number of computational time steps, δds = (Pru−d) is the data residual…”
MethodSymPy: symbolic computing in Python
Meurer, A., Smith, C. P., Paprocki, M., Čertík, O., Kirpichev, S. B., Rocklin, M., Kumar, A., Ivanov, S., Moore, J. K., Singh, S., et al. (2017) · PeerJ Computer Science · doi:10.7717/peerj-cs.103 · Cited by 1,680
Computer Organization and Design: the Hardware/Software Interface
Patterson, D. A., & Hennessy, J. L. (1993) · Cited by 1,623
Iverson, K. E. (1962) · Proceedings of the May 1-3, 1962, spring joint computer conference on - AIEE-IRE '62 (Spring) · doi:10.1145/1460833.1460872 · Cited by 1,067
A practical automatic polyhedral parallelizer and locality optimizer
Bondhugula, U., Hartono, A., Ramanujam, J., & Sadayappan, P. (2008) · Proceedings of the 29th ACM SIGPLAN Conference on Programming Language Design and Implementation · doi:10.1145/1375581.1375595 · Cited by 880 · cited 3×
“Devito aims to combine performance benefits of dedicated stencil frameworks (Bondhugula et al., 2008; Tang et al., 2011; Henretty et al., 2013; Yount, 2015) with the expressiveness of symbolic PDE-solving DSLs (Logg et al., 2012; Rathgeber et al., 2015) through automated code generation and…”
BackgroundAlnæs, M. S., Logg, A., Ølgaard, K. B., Rognes, M. E., & Wells, G. N. (2014) · ACM Transactions on Mathematical Software · doi:10.1145/2566630 · Cited by 615 · cited 2×
“Two prominent contemporary projects based on the finite element method (FEM), FEniCS (Logg et al., 2012) and Firedrake (Rathgeber et al., 2015), both implement a common DSL, UFL (Alnæs et al., 2014), that allows the expression of variational problems in weak form.”
BackgroundMethodFiredrake: Automating the Finite Element Method by Composing Abstractions
Rathgeber, F., Ham, D. A., Mitchell, L., Lange, M., Luporini, F., Mcrae, A. T. T., Bercea, G.-T., Markall, G. R., & Kelly, P. H. J. (2017) · ACM Transactions on Mathematical Software · doi:10.1145/2998441 · Cited by 508 · cited 5×
“Devito aims to combine performance benefits of dedicated stencil frameworks (Bondhugula et al., 2008; Tang et al., 2011; Henretty et al., 2013; Yount, 2015) with the expressiveness of symbolic PDE-solving DSLs (Logg et al., 2012; Rathgeber et al., 2015) through automated code generation and optimization from high-leve…”
BackgroundInfluentialSelf-citationGriewank, A., & Walther, A. (2000) · ACM Transactions on Mathematical Software · doi:10.1145/347837.347846 · Cited by 480 · cited 1×
“For instance, we implemented optimal checkpointing with the library Revolve (Griewank and Walther, 2000) in Devito to drastically reduce the memory cost by only saving a partial time history and recomputing the forward wavefield when needed (Kukreja et al.”
MethodTang, Y., Chowdhury, R. A., Kuszmaul, B. C., Luk, C.-K., & Leiserson, C. E. (2011) · Proceedings of the twenty-third annual ACM symposium on Parallelism in algorithms and architectures · doi:10.1145/1989493.1989508 · Cited by 337 · cited 4×
“Devito aims to combine the performance benefits of dedicated stencil frameworks (Bondhugula et al., 2008; Tang et al., 2011; Henretty et al., 2013; Yount, 2015) with the expressiveness of symbolic PDE-solving DSLs (Logg et al.”
BackgroundInfluential(2013) · Journal of Open Research Software · doi:10.5334/jors.ag · Cited by 315
Christen, M., Schenk, O., & Burkhart, H. (2011) · 2011 IEEE International Parallel & Distributed Processing Symposium · doi:10.1109/ipdps.2011.70 · Cited by 311 · cited 2×
“Multiple DSLs to express stencil-like algorithms have also emerged over time, including Henretty et al. (2013); Zhang and Mueller (2012); Christen et al. (2011); Unat et al. (2011); Köster et al. (2014); Membarth et al. (2012); Osuna et al. (2014); Tang et al. (2011); Bondhugula et al. (2008);…”
BackgroundSchmidt, M., van den Berg, E., Friedlander, M. P., & Murphy, K. P. (2009) · International Conference on Artificial Intelligence and Statistics · Cited by 278
Automated Derivation of the Adjoint of High-Level Transient Finite Element Programs
Farrell, P. E., Ham, D. A., Funke, S. W., & Rognes, M. E. (2013) · SIAM Journal on Scientific Computing · doi:10.1137/120873558 · Cited by 248
Architecture and Performance of Devito, a System for Automated Stencil Computation
Luporini, F., Louboutin, M., Lange, M., Kukreja, N., Witte, P., Hückelheim, J., Yount, C. R., Kelly, P. H. J., Herrmann, F. J., & Gorman, G. (2020) · ACM Transactions on Mathematical Software · doi:10.1145/3374916 · Cited by 200 · cited 7×
“A complete description of the compilation pipeline is provided in Luporini et al. (2018).”
BackgroundMethodInfluentialSelf-citationThe LINPACK Benchmark: An explanation
Dongarra, J. J. (1988) · Lecture notes in computer science · doi:10.1007/3-540-18991-2_27 · Cited by 172 · cited 1×
“A (more realistic) performance peak of 3285 GFLOPs/s was determined by running the LINPACK benchmark (Dongarra, 1988).”
MethodMint: realizing CUDA performance in 3D stencil methods with annotated C
Unat, D., Cai, X. H., & Baden, S. B. (2011) · International Conference on Supercomputing · doi:10.1145/1995896.1995932 · Cited by 149 · cited 2×
“of variational problems in weak form. Multiple DSLs to express stencil-like algorithms have also emerged over time, including Henretty et al. (2013); Zhang and Mueller (2012); Christen et al. (2011); Unat et al. (2011); Köster et al. (2014); Membarth et al. (2012); Osuna et al. (2014); Tang et al. (2011); Bondhugula e…”
BackgroundA stencil compiler for short-vector SIMD architectures
Henretty, T., Veras, R., Franchetti, F., Pouchet, L.-N., Ramanujam, J., & Sadayappan, P. (2013) · International Conference on Supercomputing · doi:10.1145/2464996.2467268 · Cited by 142 · cited 4×
“Devito aims to combine performance benefits of dedicated stencil frameworks (Bondhugula et al., 2008; Tang et al., 2011; Henretty et al., 2013; Yount, 2015) with the expressiveness of symbolic PDE-solving DSLs (Logg et al., 2012; Rathgeber et al., 2015) through automated code generation and…”
BackgroundMethodInfluentialAuto-generation and auto-tuning of 3D stencil codes on GPU clusters
Zhang, Y., & Mueller, F. (2012) · Proceedings of the CGO/Proceedings of the ... CGO · doi:10.1145/2259016.2259037 · Cited by 126 · cited 2×
“Multiple DSLs to express stencillike algorithms have also emerged over time (Henretty et al., 2013; Zhang and Mueller, 2012; Christen et al., 2011; Unat et al., 2011; Köster et al., 2014; Membarth et al., 2012; Osuna et al., 2014; Tang et al., 2011; Bondhugula et al., 2008; Yount, 2015).”
BackgroundAn Effective Method for Parameter Estimation with PDE Constraints with Multiple Right-Hand Sides
Haber, E., Chung, M., & Herrmann, F. J. (2012) · SIAM Journal on Optimization · doi:10.1137/11081126x · Cited by 107 · cited 4×
“…c, or alternatively the square slowness of the wave,m= 1c2 (not an overload), from a given set of measurements of the pressure wavefield u. Lions (1971); Tarantola (1984); Virieux and Operto (2009); Haber et al. (2012) shows that this can be expressed as a PDE-constrained optimization problem.”
BackgroundMethodInfluentialSelf-citationCross-Loop Optimization of Arithmetic Intensity for Finite Element Local Assembly
Luporini, F., Vărbănescu, A. L., Rathgeber, F., Bercea, G.-T., Ramanujam, J., Ham, D. A., & Kelly, P. H. J. (2015) · ACM Transactions on Architecture and Code Optimization · doi:10.1145/2687415 · Cited by 76 · cited 2×
“…Devito Symbolic Engine (DSE): Symbolic optimization techniques, such as Common Sub-expression Elimination (CSE), factorization and loop-invariant code motion are utilized to reduce the number of floating point operations (flops) performed within the computational kernel (Luporini et al., 2015).”
MethodSelf-citationJacobs, C. T., Jammy, S. P., & Sandham, N. D. (2016) · Journal of Computational Science · doi:10.1016/j.jocs.2016.11.001 · Cited by 71
A large-scale framework for symbolic implementations of seismic inversion algorithms in Julia
Witte, P., Louboutin, M., Kukreja, N., Luporini, F., Lange, M., Gorman, G., & Herrmann, F. J. (2019) · Geophysics · doi:10.1190/geo2018-0174.1 · Cited by 67
Self-citationSource separation for simultaneous towed-streamer marine acquisition — A compressed sensing approach
Kumar, R., Wason, H., & Herrmann, F. J. (2015) · Geophysics · doi:10.1190/geo2015-0108.1 · Cited by 56 · cited 2×
“For methods based on more accurate modelling, for example in simulation-based acquisition design (Liu and Fomel, 2011; Wason et al., 2017; Naghizadeh and Sacchi, 2009; Kumar et al., 2015), a full implementation of the PML will be necessary to avoid weak reflections from the domain limits.”
MethodInfluentialSelf-citationVector Folding: Improving Stencil Performance via Multi-dimensional SIMD-vector Representation
Yount, C. R. (2015) · IEEE International Conference on High Performance Computing and Communications; IEEE International Conference on Smart City; IEEE International Conference on Data Science and Systems (HPCC/SmartCity/DSS) · doi:10.1109/hpcc-css-icess.2015.27 · Cited by 56 · cited 6×
“Our plan to improve the performance in this regime consists of resorting to a specialized stencil optimizer such as YASK (see Section 7).”
BackgroundMethodInfluentialCFD Python: the 12 steps to Navier-Stokes equations
Barba, L. A., & Forsyth, G. (2018) · Journal of Open Source Education · doi:10.21105/jose.00021 · Cited by 55 · cited 1×
“15 that shows the evolution of the field u and the solution is consistent with the expected result produced by (Barba and Forsyth, 2018).”
ResultSimflowny 2: An upgraded platform for scientific modelling and simulation
Arbona, A., Miñano, B., Rigo, A., Bona-Casas, C., Palenzuela, C., Artigues, A., Bona, C., & Massó, J. (2018) · Computer Physics Communications · doi:10.1016/j.cpc.2018.03.015 · Cited by 39
Hopper, G. M. (1952) · ACM National Meeting · doi:10.1145/609784.609818 · Cited by 36 · cited 2×
“Even the very first compiler, A0 (Hopper, 1952), was received with resistance, as best summarized in the following quote (Jones, 1954):”
BackgroundTowards Domain-Specific Computing for Stencil Codes in HPC
Membarth, R., Hannig, F., Teich, J., et al. (2012) · doi:10.1109/sc.companion.2012.136 · Cited by 30
Characterization and Optimization Methodology Applied to Stencil Computations
Andreolli, C., Thierry, P., Borges, L., et al. (2014) · Elsevier eBooks · doi:10.1016/b978-0-12-802118-7.00023-6 · Cited by 28
Simflowny 3: An upgraded platform for scientific modeling and simulation
Palenzuela, C., Miñano, B., Arbona, A., Bona, C., Bona-Casas, C., & Massó, J. (2020) · Computer Physics Communications · doi:10.1016/j.cpc.2020.107675 · Cited by 23
Low-cost time-lapse seismic with distributed compressive sensing — Part 2: Impact on repeatability
Wason, H., Oghenekohwo, F., & Herrmann, F. J. (2017) · Geophysics · doi:10.1190/geo2016-0252.1 · Cited by 20 · cited 2×
“For methods based on more accurate modelling, for example in simulation-based acquisition design (Liu and Fomel, 2011; Wason et al., 2017; Naghizadeh and Sacchi, 2009; Kumar et al., 2015), a full implementation of the PML will be necessary to avoid weak reflections from the domain limits.”
MethodInfluentialSelf-citationPerformance prediction of finite-difference solvers for different computer architectures
Louboutin, M., Lange, M., Herrmann, F. J., Kukreja, N., & Gorman, G. (2017) · Computers & Geosciences · doi:10.1016/j.cageo.2017.04.014 · Cited by 16
Self-citationPlatform-Specific Optimization and Mapping of Stencil Codes through Refinement
Köster, M., Leißa, R., Hack, A. S., et al. (2014) · Cited by 4
Cited by
Suspending OpenMP Tasks on Asynchronous Events: Extending the Taskwait Construct
Pereira, R., Martin, M., Roussel, A., Carribault, P., & Gautier, T. (2023) · Lecture Notes in Computer Science · doi:10.1007/978-3-031-40744-4_5 · Cited by 12,935
A Deep-Learning Based Bayesian Approach to Seismic Imaging and Uncertainty Quantification
Siahkoohi, A., Rizzuti, G., & Herrmann, F. (2020) · EAGE 2020 Annual Conference & Exhibition Online · doi:10.3997/2214-4609.202010770 · Cited by 27
Self-citation
Metadata
- Authors
- Louboutin, M., Lange, M., Luporini, F., Kukreja, N., Witte, P. A., Herrmann, F. J., Velesko, P., & Gorman, G. J.
- Venue
- Geoscientific Model Development
- Publisher
- Copernicus GmbH
- Published
- 2019-03-27
- Volume
- 12
- Issue
- 3
- Pages
- 1165-1187
- ISSN
- 1991-959X (ISSN-L)
- 1991-9603
- OpenAlex
- W2888730305
- Cited by
- 207
- References
- 39
- FWCI
- 16.30
- Type
- journal article
- Language
- en
- Open access
- gold
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.