Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/3659914.3659932acmconferencesArticle/Chapter ViewAbstractPublication PagespascConference Proceedingsconference-collections
research-article

Performance Analysis and Optimizations of ERO2.0 Fusion Code

Published: 03 June 2024 Publication History
  • Get Citation Alerts
  • Abstract

    In this paper, we present a thorough performance analysis of a highly parallel Monte Carlo code for modeling global erosion and redeposition in fusion devices, ERO2.0. The study shows that the main bottleneck preventing the code from efficiently using the resources is the load imbalance at different levels. Load imbalance is inherent to the problem being solved, particle transport, and deposition. Based on the findings of the analysis, we also describe optimizations implemented on the code to improve its performance on HPC clusters. The proposed optimizations use MPI and OpenMP features, making them portable across architectures and achieving a 3.34x speedup with respect to the original code.

    References

    [1]
    Fabio Banchelli, Kilian Peiro, Andrea Querol, Guillem Ramirez-Gargallo, Guillem Ramirez-Miranda, Joan Vinyals, Pablo Vizcaino, Marta Garcia-Gasulla, and Filippo Mantovani. 2020. Performance study of HPC applications on an Arm-based cluster using a generic efficiency model. In 2020 28th Euromicro International Conference on Parallel, Distributed and Network-Based Processing (PDP). IEEE, 167--174.
    [2]
    Barcelona Supercomputing Center. 2023. BSC. https://www.bsc.es
    [3]
    Barcelona Supercomputing Center. 2023. Extrae. https://tools.bsc.es/extrae
    [4]
    Barcelona Supercomputing Center. 2023. Paraver. https://tools.bsc.es/paraver
    [5]
    Barcelona Supercomputing Center. 2023. Performance Tools. https://tools.bsc.es
    [6]
    Barcelona Supercomputing Center. 2023. MareNostrum 4. Retrieved November 27, 2023 from https://www.bsc.es/supportkc/docs/MareNostrum4/overview
    [7]
    Jülich Supercomputing Centre. 2021. JURECA: Data Centric and Booster Modules implementing the Modular Supercomputing Architecture at Jülich Supercomputing Centre. Journal of large-scale research facilities 7, Article 182 (oct 2021).
    [8]
    Marc Clascà, Marta Garcia-Gasulla, Arnau Montagud, José Carbonell Caballero, and Alfonso Valencia. 2023. Lessons learned from a Performance Analysis and Optimization of a multiscale cellular simulation. In Proceedings of the Platform for Advanced Scientific Computing Conference. 1--10.
    [9]
    Marta Garcia-Gasulla, Fabio Banchelli, Kilian Peiro, Guillem Ramirez-Gargallo, Guillaume Houzeaux, Ismaïl Ben Hassan Saïdi, Christian Tenaud, Ivan Spisso, and Filippo Mantovani. 2020. A generic performance analysis technique applied to different CFD methods for HPC. International Journal of Computational Fluid Dynamics 34, 7--8 (2020), 508--528.
    [10]
    Dixie Hisley, Gagan Agrawal, Punyam Satya-narayana, and Lori Pollock. 2000. Porting and performance evaluation of irregular codes using OpenMP. Concurrency: Practice and Experience 12, 12 (2000), 1241--1259.
    [11]
    Vincent Pillet, Jesús Labarta, Toni Cortes, and Sergi Girona. 1995. Paraver: A tool to visualize and analyze parallel code. In Proceedings of WoTUG-18: transputer and occam developments, Vol. 44. 17--31.
    [12]
    J Romazanov, D Borodin, A Kirschner, S Brezinsek, S Silburn, A Huber, V Huber, H Bufferand, M Firdaouss, D Brömmel, et al. 2017. First ERO2. 0 modeling of Be erosion and non-local transport in JET ITER-like wall. Physica scripta 2017, T170 (2017), 014018.
    [13]
    J. Romazanov, S. Brezinsek, D. Borodin, M. Groth, S. Wiesen, A. Kirschner, A. Huber, A. Widdowson, M. Airila, A. Eksaeva, I. Borodkina, and Ch. Linsmeier. 2019. Beryllium global erosion and deposition at JET-ILW simulated with ERO2.0. Nuclear Materials and Energy 18 (2019), 331--338.
    [14]
    Harald Servat et al. 2013. Framework for a productive performance optimization. Parallel Comput. 39, 8 (2013), 336--353.
    [15]
    E. Wüst, T. Dittmar, C. Kawan, J. Romazanov, and S. Brezinsek. 2022. Laser ablation molecular isotopic spectroscopy: A novel tool to characterise the distribution of 13C and 12C on graphite after 13CH4 tracer injection in Wendelstein 7-X. Nuclear Materials and Energy 33 (2022), 101287.

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    PASC '24: Proceedings of the Platform for Advanced Scientific Computing Conference
    June 2024
    296 pages
    ISBN:9798400706394
    DOI:10.1145/3659914
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

    Sponsors

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 03 June 2024

    Check for updates

    Author Tags

    1. performance
    2. optimization
    3. MPI
    4. OpenMP
    5. MonteCarlo
    6. particle deposition

    Qualifiers

    • Research-article

    Funding Sources

    Conference

    PASC '24
    Sponsor:

    Acceptance Rates

    PASC '24 Paper Acceptance Rate 26 of 36 submissions, 72%;
    Overall Acceptance Rate 109 of 221 submissions, 49%

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • 0
      Total Citations
    • 25
      Total Downloads
    • Downloads (Last 12 months)25
    • Downloads (Last 6 weeks)11
    Reflects downloads up to 10 Aug 2024

    Other Metrics

    Citations

    View Options

    Get Access

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media