Efficiently simulating Lagrangian particles in large-scale ocean flows — Data structures and their impact on geophysical applications

Publication date

2023-06

Authors

Kehl, ChristianISNI 0000000419567269
Nooteboom, PeterISNI 0000000492796068
Kaandorp, Mikael Lauri AlexanderISNI 0000000492896413
van Sebille, E.ORCID 0000-0003-2041-0704ISNI 0000000388128000

Editors

Advisors

Supervisors

Document Type

Article
Open Access logo

License

cc_by

Abstract

Studying oceanography by using Lagrangian simulations has been adopted for a range of scenarios, such as the determining the fate of microplastics in the ocean, simulating the origin locations of microplankton used for palaeoceanographic reconstructions, and for studying the impact of fish aggregation devices on the migration behaviour of tuna. These simulations are complex and represent a considerable runtime effort to obtain trajectory results, which is the prime motivation for enhancing the performance of Lagrangian particle simulators. This paper assesses established performance enhancing techniques from Eulerian simulators in light of computational conditions and demands of Lagrangian simulators. A performance enhancement strategy specifically targeting physics-based Lagrangian particle simulations is outlined to address the performance gaps, and techniques for closing the performance gap are presented and implemented. Realistic experiments are derived from three specific oceanographic application scenarios, and the suggested performance-enhancing techniques are benchmarked in detail, so to allow for a good attribution of speed-up measurements to individual techniques. The impacts and insights of the performance enhancement strategy are further discussed for Lagrangian simulations in other geoscience applications. The experiments show that I/O-enhancing techniques, such as dynamic loading and buffering, lead to considerable speed-up on-par with an idealised parallelisation of the process over 20 nodes. Conversely, while the cache-efficient structure-of-arrays collection yields a visible speed-up, other alternative data structures fail in fulfilling the theoretically-expected performance increase. This insight demonstrates the importance of good data alignment in memory and caches for Lagrangian physics simulations.

Keywords

Lagrangian simulations, Particle systems, Performance enhancement, Physical oceanography, Information Systems, Computers in Earth Sciences

Citation

Kehl, C, Nooteboom, P D, Kaandorp, M L A & van Sebille, E 2023, 'Efficiently simulating Lagrangian particles in large-scale ocean flows — Data structures and their impact on geophysical applications', Computers and Geosciences, vol. 175, 105322. https://doi.org/10.1016/j.cageo.2023.105322