DOE OSTI · 2496787
Acceleration of the particle-in-cell code Osiris with graphics processing units
Abstract
Fully relativistic particle-in-cell (PIC) simulations are crucial for advancing our knowledge of plasma physics. Modern supercomputers based on graphics processing units (GPUs) offer the potential to perform PIC simulations of unprecedented scale, but require robust and feature-rich codes that can fully leverage their computational resources. In this work, this demand is addressed by adding GPU acceleration to the PIC code Osiris. An overview of the algorithm, which features a CUDA extension to the underlying Fortran architecture, is given. Detailed performance benchmarks for thermal plasmas are presented, which demonstrate excellent weak scaling on NERSC's Perlmutter supercomputer and high levels of absolute performance. The robustness of the code to model a variety of physical systems is demonstrated via simulations of Weibel filamentation and laser-wakefield acceleration run with dynamic load balancing. Finally, measurements and analysis of energy consumption are provided that indicate that the GPU algorithm is up to ~14 times faster and ~7 times more energy efficient than the optimized CPU algorithm on a node-to-node basis. The described development addresses the PIC simulation community's computational demands both by contributing a robust and performant GPU-accelerated PIC code and by providing insight into efficient use of GPU hardware.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Lee, Roman P. [University of California, Los Angeles, CA (United States)] (ORCID:0000000264821735), Pierce, Jacob R. [University of California, Los Angeles, CA (United States)] (ORCID:000000031450873X), Miller, Kyle G. [University of Rochester, NY (United States)] (ORCID:0000000348269001), Almanza, Maria [University of California, Los Angeles, CA (United States)] (ORCID:0009000775725072), Tableman, Adam [University of California, Los Angeles, CA (United States)], Decyk, Viktor K. [University of California, Los Angeles, CA (United States)], Fonseca, Ricardo A. [Instituto Superior Técnico, Lisboa (Portugal); ISCTE – Instituto Universitário de Lisboa (Portugal)] (ORCID:0000000163426226), Alves, E. Paulo [University of California, Los Angeles, CA (United States)], Mori, Warren B. [University of California, Los Angeles, CA (United States)]. 2025-01-07. Acceleration of the particle-in-cell code Osiris with graphics processing units. https://doi.org/10.1017/s0022377824001569
Cite the original work for its findings. Save a collection to share your selection of sources.