Articles | Volume 16, issue 19
https://doi.org/10.5194/gmd-16-5539-2023
https://doi.org/10.5194/gmd-16-5539-2023
Development and technical paper
 | 
05 Oct 2023
Development and technical paper |  | 05 Oct 2023

Comparing the Performance of Julia on CPUs versus GPUs and Julia-MPI versus Fortran-MPI: a case study with MPAS-Ocean (Version 7.1)

Siddhartha Bishnu, Robert R. Strauss, and Mark R. Petersen

Related authors

The DOE E3SM Version 2.1: Overview and Assessment of the Impacts of Parameterized Ocean Submesoscales
Katherine Smith, Alice M. Barthel, LeAnn M. Conlon, Luke P. Van Roekel, Anthony Bartoletti, Jean-Christophe Golez, Chengzhu Zhang, Carolyn Branecky Begeman, James J. Benedict, Gautum Bisht, Yan Feng, Walter Hannah, Bryce E. Harrop, Nicole Jeffery, Wuyin Lin, Po-Lun Ma, Mathew E. Maltrud, Mark R. Petersen, Balwinder Singh, Qi Tang, Teklu Tesfa, Jonathan D. Wolfe, Shaocheng Xie, Xue Zheng, Karthik Balaguru, Oluwayemi Garuba, Peter Gleckler, Aixue Hu, Jiwoo Lee, Ben Moore-Maley, and Ana C. Ordonez
Geosci. Model Dev. Discuss., https://doi.org/10.5194/gmd-2024-149,https://doi.org/10.5194/gmd-2024-149, 2024
Revised manuscript under review for GMD
Short summary
Barotropic tides in MPAS-Ocean (E3SM V2): impact of ice shelf cavities
Nairita Pal, Kristin N. Barton, Mark R. Petersen, Steven R. Brus, Darren Engwirda, Brian K. Arbic, Andrew F. Roberts, Joannes J. Westerink, and Damrongsak Wirasaet
Geosci. Model Dev., 16, 1297–1314, https://doi.org/10.5194/gmd-16-1297-2023,https://doi.org/10.5194/gmd-16-1297-2023, 2023
Short summary
An evaluation of the E3SMv1 Arctic ocean and sea-ice regionally refined model
Milena Veneziani, Wieslaw Maslowski, Younjoo J. Lee, Gennaro D'Angelo, Robert Osinski, Mark R. Petersen, Wilbert Weijer, Anthony P. Craig, John D. Wolfe, Darin Comeau, and Adrian K. Turner
Geosci. Model Dev., 15, 3133–3160, https://doi.org/10.5194/gmd-15-3133-2022,https://doi.org/10.5194/gmd-15-3133-2022, 2022
Short summary

Related subject area

Climate and Earth system modeling
The need for carbon-emissions-driven climate projections in CMIP7
Benjamin M. Sanderson, Ben B. B. Booth, John Dunne, Veronika Eyring, Rosie A. Fisher, Pierre Friedlingstein, Matthew J. Gidden, Tomohiro Hajima, Chris D. Jones, Colin G. Jones, Andrew King, Charles D. Koven, David M. Lawrence, Jason Lowe, Nadine Mengis, Glen P. Peters, Joeri Rogelj, Chris Smith, Abigail C. Snyder, Isla R. Simpson, Abigail L. S. Swann, Claudia Tebaldi, Tatiana Ilyina, Carl-Friedrich Schleussner, Roland Séférian, Bjørn H. Samset, Detlef van Vuuren, and Sönke Zaehle
Geosci. Model Dev., 17, 8141–8172, https://doi.org/10.5194/gmd-17-8141-2024,https://doi.org/10.5194/gmd-17-8141-2024, 2024
Short summary
Robust handling of extremes in quantile mapping – “Murder your darlings”
Peter Berg, Thomas Bosshard, Denica Bozhinova, Lars Bärring, Joakim Löw, Carolina Nilsson, Gustav Strandberg, Johan Södling, Johan Thuresson, Renate Wilcke, and Wei Yang
Geosci. Model Dev., 17, 8173–8179, https://doi.org/10.5194/gmd-17-8173-2024,https://doi.org/10.5194/gmd-17-8173-2024, 2024
Short summary
A protocol for model intercomparison of impacts of marine cloud brightening climate intervention
Philip J. Rasch, Haruki Hirasawa, Mingxuan Wu, Sarah J. Doherty, Robert Wood, Hailong Wang, Andy Jones, James Haywood, and Hansi Singh
Geosci. Model Dev., 17, 7963–7994, https://doi.org/10.5194/gmd-17-7963-2024,https://doi.org/10.5194/gmd-17-7963-2024, 2024
Short summary
An extensible perturbed parameter ensemble for the Community Atmosphere Model version 6
Trude Eidhammer, Andrew Gettelman, Katherine Thayer-Calder, Duncan Watson-Parris, Gregory Elsaesser, Hugh Morrison, Marcus van Lier-Walqui, Ci Song, and Daniel McCoy
Geosci. Model Dev., 17, 7835–7853, https://doi.org/10.5194/gmd-17-7835-2024,https://doi.org/10.5194/gmd-17-7835-2024, 2024
Short summary
Coupling the regional climate model ICON-CLM v2.6.6 to the Earth system model GCOAST-AHOI v2.0 using OASIS3-MCT v4.0
Ha Thi Minh Ho-Hagemann, Vera Maurer, Stefan Poll, and Irina Fast
Geosci. Model Dev., 17, 7815–7834, https://doi.org/10.5194/gmd-17-7815-2024,https://doi.org/10.5194/gmd-17-7815-2024, 2024
Short summary

Cited articles

Besard, T., Foket, C., and De Sutter, B.: Effective Extensible Programming: Unleashing Julia on GPUs, IEEE T. Parall. Distr., 30, 827–841, https://doi.org/10.1109/TPDS.2018.2872064, 2018. a
Besard, T., Churavy, V., Edelman, A., and De Sutter, B.: Rapid software prototyping for heterogeneous and distributed platforms, Adv. Eng. Softw., 132, 29–46, 2019. a
Bezanson, J., Edelman, A., Karpinski, S., and Shah, V. B.: Julia: A fresh approach to numerical computing, SIAM Rev., 59, 65–98, 2017. a
Bishnu, S.: Time-Stepping Methods for Partial Differential Equations and Ocean Models, Zenodo, https://doi.org/10.5281/zenodo.7439539, 2021. a, b, c
Bishnu, S.: Rotating Shallow Water Verification Suite, Zenodo [code], https://doi.org/10.5281/zenodo.7421135, 2022. a, b, c, d
Download
Short summary
Here we test Julia, a relatively new programming language, which is designed to be simple to write, but also fast on advanced computer architectures. We found that Julia is both convenient and fast, but there is no free lunch. Our first attempt to develop an ocean model in Julia was relatively easy, but the code was slow. After several months of further development, we created a Julia code that is as fast on supercomputers as a Fortran ocean model.