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 accepted 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
CARIB12: a regional Community Earth System Model/Modular Ocean Model 6 configuration of the Caribbean Sea
Giovanni Seijo-Ellis, Donata Giglio, Gustavo Marques, and Frank Bryan
Geosci. Model Dev., 17, 8989–9021, https://doi.org/10.5194/gmd-17-8989-2024,https://doi.org/10.5194/gmd-17-8989-2024, 2024
Short summary
Architectural insights into and training methodology optimization of Pangu-Weather
Deifilia To, Julian Quinting, Gholam Ali Hoshyaripour, Markus Götz, Achim Streit, and Charlotte Debus
Geosci. Model Dev., 17, 8873–8884, https://doi.org/10.5194/gmd-17-8873-2024,https://doi.org/10.5194/gmd-17-8873-2024, 2024
Short summary
Evaluation of global fire simulations in CMIP6 Earth system models
Fang Li, Xiang Song, Sandy P. Harrison, Jennifer R. Marlon, Zhongda Lin, L. Ruby Leung, Jörg Schwinger, Virginie Marécal, Shiyu Wang, Daniel S. Ward, Xiao Dong, Hanna Lee, Lars Nieradzik, Sam S. Rabin, and Roland Séférian
Geosci. Model Dev., 17, 8751–8771, https://doi.org/10.5194/gmd-17-8751-2024,https://doi.org/10.5194/gmd-17-8751-2024, 2024
Short summary
Evaluating downscaled products with expected hydroclimatic co-variances
Seung H. Baek, Paul A. Ullrich, Bo Dong, and Jiwoo Lee
Geosci. Model Dev., 17, 8665–8681, https://doi.org/10.5194/gmd-17-8665-2024,https://doi.org/10.5194/gmd-17-8665-2024, 2024
Short summary
Software sustainability of global impact models
Emmanuel Nyenah, Petra Döll, Daniel S. Katz, and Robert Reinecke
Geosci. Model Dev., 17, 8593–8611, https://doi.org/10.5194/gmd-17-8593-2024,https://doi.org/10.5194/gmd-17-8593-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.