Search arXivSearch

arXiv · 2104.04579

High Performance Implementation of Boris Particle Pusher on DPC++. A First Look at oneAPI

Abstract

New hardware architectures open up immense opportunities for supercomputer simulations. However, programming techniques for different architectures vary significantly, which leads to the necessity of developing and supporting multiple code versions, each being optimized for specific hardware features. The oneAPI framework, recently introduced by Intel, contains a set of programming tools for the development of portable codes that can be compiled and fine-tuned for CPUs, GPUs, FPGAs, and accelerators. In this paper, we report on the experience of porting the implementation of Boris particle pusher to oneAPI. Boris particle pusher is one of the most demanding computational stages of the Particle-in-Cell method, which, in particular, is used for supercomputer simulations of laser-plasma interactions. We show how to adapt the C++ implementation of the particle push algorithm from the Hi-Chi project to the DPC++ programming language and report the performance of the code on high-end Intel CPUs (Xeon Platinum 8260L) and Intel GPUs (P630 and Iris Xe Max). It turned out that our C++ code can be easily ported to DPC++. We found that on CPUs the resulting DPC++ code is only ~10% on average inferior to the optimized C++ code. Moreover, the code is compiled and run on new Intel GPUs without any specific optimizations and shows the expected performance, taking into account the parameters of the hardware.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Valentin Volokitin, Alexey Bashinov, Evgeny Efimenko, Arkady Gonoskov, Iosif Meyerov. 2021-04-09. High Performance Implementation of Boris Particle Pusher on DPC++. A First Look at oneAPI. https://doi.org/10.1007/978-3-030-86359-3_22

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Spin disorder competing with positional symmetry breaking governs the metal-insulator behavior in oxide paramagnets

Numerous transition-metal oxides have low-temperature, long-range-ordered antiferromagnetic (AFM) states that are generally insulating, and high-temperature, disordered paramagnetic (PM) phases. The latter can be either insulating (predicted here for NaFeO3), or metallic (predicted here and previously observed in NaOsO3). Similar distinctions have been traditionally affected in strongly correlated models by the value used for Coulomb repulsion U. Here we show an alternative, strong-correlation-free (U=0) view suggesting that the distinction between insulating and metallic PM phases is governed by the competition between local magnetic moment disorder and the polymorphous distribution of off-center atomic displacements. Such parameter-free, energy-lowering symmetry breaking density functional calculations provide a framework for understanding metal-insulator behaviors across different quantum materials in terms of measurable local structural and magnetic parameters.

physics.comp-ph

Digital Twin of an Argon-Hydrogen Plasma Reactor

The principal proof of concept revolves around an argon-hydrogen plasma reactor that melts, reduces, atomizes and quenches critical raw material in one step, with premium spherical powder as the deliverable output and control of the composition chemistry. Each usage of the reactor is monitored through thermocouples and pressure sensors, which provide a daily data source of the real-world experiments. The reactor is modeled through COMSOL Multiphysics, which represents the core solver used to provide multiphysics simulations. The usage of COMSOL is complemented with Artificial Intelligence (AI) models, to enable seamless data assimilation and optimization. This paper presents the COMSOL twin of the reaction chamber and converging-diverging nozzle, together with a custom phase-change particle-tracing layer validated on Ti-6Al-4V (Ti64). Moreover, we highlight how the synergy between COMSOL simulations and AI-based digital surrogates can be leveraged to build self-consistent optimization loops geared toward (i) fully autonomous live control of the reactor and (ii) optimization of the process.

physics.comp-ph

Efficient calculation of inductive coupling for arrays of wire ring resonators

Generalization of the inductance to the case of non-quasistatic electromagnetic field oscillations appears to be fruitful when considering wireless power transfer and RF metamaterials consisting of thin wire loop meta-atoms. When dealing with large systems of interacting loops carrying currents, efficiency and precision of calculation in the presence of retardation is crucial. In this work, we derive a series expansion of such generalized inductance and propose a way for its efficient numerical approximation. Illustrative examples are provided both for inductance convergence of a pair of two loops and extinction efficiency for scattering by metamaterial samples.

physics.comp-ph