Explore open access research and scholarly works from NERC Open Research Archive

Advanced Search

Modelling the Earth's geomagnetic environment on Cray machines using PETSc and SLEPc

Brown, Nick ORCID: https://orcid.org/0000-0003-2925-7275; Bainbridge, Brian; Beggan, Ciaran ORCID: https://orcid.org/0000-0002-2298-0578; Brown, William ORCID: https://orcid.org/0000-0001-9045-9787; Hamilton, Brian; Macmillan, Susan ORCID: https://orcid.org/0000-0001-6213-2672. 2020 Modelling the Earth's geomagnetic environment on Cray machines using PETSc and SLEPc. Concurrency and Computation: Practice and Experience, 32 (10), e5660. 10.1002/cpe.5660

Abstract
The British Geological Survey's global geomagnetic model, Model of the Earth's Magnetic Environment (MEME), is an important tool for calculating the strength and direction of the Earth's magnetic field, which is continually in flux. While the ability to collect data from ground‐based observation sites and satellites has grown rapidly, the memory bound nature of the original code has proved a significant limitation on the size of the modelling problem required. In this paper, we describe work done replacing the bespoke, sequential, eigensolver with that of the PETSc/SLEPc package for solving the system of normal equations. Adopting PETSc/SLEPc also required fundamental changes in how we built and distributed the data structures, and as such, we describe an approach for building symmetric matrices that provides good load balance and avoids the need for close coordination between the processes or replication of work. We also study the memory bound nature of the code from an irregular memory accesses perspective and combine detailed profiling with software cache prefetching to significantly optimise this. Performance and scaling characteristics are explored on ARCHER, a Cray XC30, where we achieved a speed up for the solver of 294 times by replacing the model's bespoke approach with SLEPc.
Documents
526387:152336
[thumbnail of Brown et al 2020 - manuscript.pdf]
Preview
Brown et al 2020 - manuscript.pdf - Accepted Version

Download (423kB) | Preview
Information
Programmes:
BGS Programmes 2020 > Multihazards & resilience
Library
Statistics

Downloads per month over past year

More statistics for this item...

Metrics

Altmetric Badge

Dimensions Badge

Share
Add to AnyAdd to TwitterAdd to FacebookAdd to LinkedinAdd to PinterestAdd to Email
View Item