Pace v0.2: a Python-based performance-portable atmospheric model
-
Published:2023-05-17
Issue:9
Volume:16
Page:2719-2736
-
ISSN:1991-9603
-
Container-title:Geoscientific Model Development
-
language:en
-
Short-container-title:Geosci. Model Dev.
Author:
Dahm Johann, Davis Eddie, Deconinck Florian, Elbert OliverORCID, George Rhea, McGibbon Jeremy, Wicky Tobias, Wu Elynn, Kung Christopher, Ben-Nun TalORCID, Harris LucasORCID, Groner Linus, Fuhrer OliverORCID
Abstract
Abstract. Progress in leveraging current and emerging high-performance computing infrastructures using traditional weather and climate models has been
slow. This has become known more broadly as the software productivity gap. With the end of Moore's law driving forward rapid specialization of
hardware architectures, building simulation codes on a low-level language with hardware-specific optimizations is a significant risk. As a
solution, we present Pace, an implementation of the nonhydrostatic FV3 dynamical core and GFDL cloud microphysics scheme which is entirely
Python-based. In order to achieve high performance on a diverse set of hardware architectures, Pace is written using the GT4Py domain-specific
language. We demonstrate that with this approach we can achieve portability and performance, while significantly improving the readability and
maintainability of the code as compared to the Fortran reference implementation. We show that Pace can run at scale on leadership-class
supercomputers and achieve performance speeds 3.5–4 times faster than the Fortran code on GPU-accelerated supercomputers. Furthermore, we
demonstrate how a Python-based simulation code facilitates existing or enables entirely new use cases and workflows. Pace demonstrates how a
high-level language can insulate us from disruptive changes, provide a more productive development environment, and facilitate the integration with
new technologies such as machine learning.
Funder
Schweizerischer Nationalfonds zur Förderung der Wissenschaftlichen Forschung
Publisher
Copernicus GmbH
Reference43 articles.
1. Abadi, M., Agarwal, A., Barham, P., Brevdo, E., Chen, Z., Citro, C., Corrado, G. S., Davis, A., Dean, J., Devin, M., Ghemawat, S., Goodfellow, I., Harp, A., Irving, G., Isard, M., Jia, Y., Jozefowicz, R., Kaiser, L., Kudlur, M., Levenberg, J., Mané, D., Monga, R., Moore, S., Murray, D., Olah, C., Schuster, M., Shlens, J., Steiner, B., Sutskever, I., Talwar, K., Tucker, P., Vanhoucke, V., Vasudevan, V., Viégas, F., Vinyals, O., Warden, P., Wattenberg, M., Wicke, M., Yu, Y., and Zheng, X.:
TensorFlow: Large-Scale Machine Learning on Heterogeneous Systems, Zenodo [software], https://doi.org/10.5281/zenodo.4724125, 2015. a 2. Adams, S., Ford, R., Hambley, M., Hobson, J., Kavčič, I., Maynard, C., Melvin, T., Müller, E., Mullerworth, S., Porter, A., Rezny, M., Shipway, B., and Wong, R.:
LFRic: Meeting the challenges of scalability and performance portability in Weather and Climate models, J. Parallel Distr. Com., 132, 383–396, https://doi.org/10.1016/j.jpdc.2019.02.007, 2019. a 3. Alnaes, M. S., Blechta, J., Hake, J., Johansson, A., Kehlet, B., Logg, A., Richardson, C., Ring, J., and Rognes, M. E., and Wells, G. N.:
The FEniCS Project Version 1.5, Archive of Numerical Software [software], https://doi.org/10.11588/ans.2015.100.20553, 2015. a 4. Augier, P., Bolz-Tereick, C. F., Guelton, S., and Mohanan, A. V.:
Reducing the ecological impact of computing through education and Python compilers, Nature Astronomy, 5, 334–335, https://doi.org/10.1038/s41550-021-01342-y, 2021. a 5. Behnel, S., Bradshaw, R., Citro, C., Dalcin, L., Seljebotn, D. S., and Smith, K.:
Cython: The Best of Both Worlds, Comput. Sci. Eng., 13, 31–39, https://doi.org/10.1109/MCSE.2010.118, 2011. a, b
Cited by
1 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Emulation of Cloud Microphysics in a Climate Model;Journal of Advances in Modeling Earth Systems;2024-03-28
|
|