Abstract
Algorithmic adaptations are required if anticipated exascale hardware is to be used near its potential for upstream applications, since the existing code base has been engineered to minimize floating point operations. Programmers must now minimize synchronizations, memory usage, and memory transfers, while extra flops on locally cached data are almost “free”. High concurrency requires greater freedom to redistribute data while power-efficient design of the individual cores will likely require greater fault tolerance from algorithms to relieve the hardware. Stencil operation-intensive hyperbolic solvers present different opportunities for improving data locality in different regimes of dimension, number of components, discretization order, stencil structure, coefficient characteristics, and hardware characteristics. Today’s elliptic solvers exploit frequent global synchronizations, ultimately reflecting the global Green’s function for the Laplacian, yet execute few flops to cover these latencies. After decades of algorithm refinement during a period of programming model stability, new programming models and algorithms must be developed simultaneously.
Introduction
As the high-performance computing (HPC) landscape transitions toward the exascale era—defined by the ability to perform $10^{18}$ operations per second—the fundamental constraints of software engineering are shifting. For decades, the primary goal of algorithmic optimization in upstream oil and gas applications was the minimization of floating-point operations (FLOPs). However, in the current architectural roadmap, the "cost" of a simulation is no longer dominated by arithmetic. Instead, energy consumption and execution time are driven by data movement and processor synchronization.
The Changing Economics of Computation
In exascale architectures, the cost of a FLOP has become negligible compared to the cost of moving data between memory hierarchies or across a network. This shift necessitates a "wasteful" approach to local computation: it is often more efficient to perform redundant calculations on locally cached data than to fetch a result from main memory or a neighboring node.
This reversal of priorities requires a fundamental redesign of legacy code bases. Upstream applications, such as seismic imaging and reservoir simulation, must move away from models that prioritize FLOP-efficiency toward those that prioritize communication avoidance and data locality.
Algorithmic Adaptation Strategies
The challenges of exascale computing manifest differently depending on the mathematical nature of the solver:
Hyperbolic Solvers
Hyperbolic solvers, frequently used in wave propagation and seismic modeling, are typically stencil-intensive. Optimization in this regime focuses on improving data locality. The effectiveness of these adaptations depends on several variables, including the discretization order, stencil structure, and the specific characteristics of the hardware. By optimizing how data is cached and reused locally, these solvers can better exploit the high concurrency of next-generation cores.
Elliptic Solvers
Elliptic solvers, used for gravity modeling or steady-state flow, face a different bottleneck: global synchronization. Because the Green’s function for the Laplacian is global—meaning every point in the domain is mathematically coupled to every other point—these solvers traditionally require frequent global communication. At exascale, the latency of these synchronizations becomes a primary scaling inhibitor. New algorithms must find ways to "hide" or eliminate these global dependencies to maintain performance.
Fault Tolerance and Co-Design
As transistors shrink and power efficiency becomes a primary design goal, the inherent reliability of hardware may decrease. To mitigate this, algorithms must be designed with software-based fault tolerance. By allowing the algorithm to handle minor hardware errors, the burden on hardware designers is reduced, enabling more power-efficient chip architectures.
Furthermore, the era of programming model stability has ended. We can no longer afford to develop algorithms for static hardware targets. Instead, "co-design"—the simultaneous development of hardware, programming models, and algorithms—is mandatory to bridge the gap between theoretical peak performance and real-world application utility.
Conclusion
The transition to exascale is not merely a hardware upgrade; it is a call for an algorithmic revolution in the upstream community. By trading "free" FLOPs for reduced communication and embracing fault-tolerant, communication-avoiding designs, the industry can leverage the full potential of next-generation supercomputers. Ongoing research at institutions like KAUST continues to map this roadmap, ensuring that the next generation of energy exploration tools is ready for the extreme scale.
This paper is based on a keynote presentation by David Keyes (KAUST) at the 2014 EAGE Workshop on High Performance Computing for Upstream.
Summary updated