nerc.ac.uk

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

Before downloading, please read NORA policies.
[thumbnail of Brown et al 2020 - manuscript.pdf]
Preview
Text
Brown et al 2020 - manuscript.pdf - Accepted Version

Download (423kB) | Preview

Abstract/Summary

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.

Item Type: Publication - Article
Digital Object Identifier (DOI): 10.1002/cpe.5660
Date made live: 13 Jan 2020 09:46 +0 (UTC)
URI: https://nora.nerc.ac.uk/id/eprint/526387

Actions (login required)

View Item View Item

Document Downloads

Downloads for past 30 days

Downloads per month over past year

More statistics for this item...