Skip to main content
2–5 Oct 2023
Caffè Pedrocchi
Europe/Rome timezone

Code optimizations in the BSC Advanced Computing Hub: Implementation of matrix compression for the coupling of JOREK to the 3D realistic conducting wall structures

O.4
2 Oct 2023, 15:05
25m
Sala Rossini (Caffè Pedrocchi)

Sala Rossini

Caffè Pedrocchi

Piazzetta Cappellato Pedrocchi, 17, Padova GPS: 45.4076321 N, 11.8772911 E

Speaker

Dr Federico Cipolletta (Barcelona Supercomputing Center (BSC))

Description

JOREK [1] is one the most advanced non-linear simulation codes for studying MHD instabilities that can occur in magnetically confined fusion plasmas as well as their control. It leverages extensive parallel programming to obtain accurate results regarding the dynamics of the high-energy magnetically confined plasma inside the vacuum vessel of a tokamak or stellarator. In addition, a free-boundary and resistive wall extension was introduced via coupling to the STARWALL [2] and very recently also CARIDDI [3] codes, which both apply a Greens functions method to calculate densely populated matrices describing the electro magnetic interactions between plasma and conducting structures. MPI and OpenMP parallelization is exploited for the coupling [4].
To perform accurate simulations of the aforementioned interactions, the discretizations of the wall and of the plasma regions should be considered, and the Degrees Of Freedom determining the dimensions of the response matrices depend on these. Currently, due to the state-of-the-art limitations regarding computational resources and available memory, the reachable resolution in such simulations is not sufficient to describe all details of the wall structures of the ITER tokamak, which is under construction.
On the other hand, in the linear algebra literature, there exist factorization techniques that could lead to reducing memory consumption through compression techniques. The present work represents an effort of obtaining such matrix compression with the implementation of the Singular Value Decomposition through the adoption of routines from the ScaLAPACK library [5, 6]. The objective is leveraging matrix compression inside the JOREK code exploiting parallelism to allow handling more complex wall structures than presently possible by reducing memory consumption and computational costs.
After a brief overview of the activities currently carried on at the CIEMAT-BSC Advanced Computing Hub (ACH) in the EUROfusion Horizon Europe Program, this contribution will focus specifically on the effort in the JOREK code, describing the work that has been done so far, both from the theoretical and the implementation points of view. After that, results from preliminary tests will be shown and a glimpse of the next steps will be given.

References
[1] Hoelzl, Matthias, et al. Nuclear Fusion 61:6, 065001, (2021)
[2] Hoelzl, M., et al. Journal of Physics: Conference Series 401, 012010 (2012)
[3] Isernia, N., Schwarz N., et al. Physics of Plasmas (in preparation)
[4] Mochalskyy, S., M. Hoelzl, and R. Hatzky, arXiv preprint arXiv:1609.07441
[5] Blackford, L. Susan, et al. Society for Industrial and Applied Mathematics (1997)
[6] https://www.netlib.org/scalapack/

Author

Dr Federico Cipolletta (Barcelona Supercomputing Center (BSC))

Co-authors

Dr Alejandro Soba (Barcelona Supercomputing Center (BSC)) Prof. Guglielmo Rubinacci (Universitá degli Studi di Napoli, Federico II) Dr Matthias Hoelzl (Max Planck Institute for Plasma Physics) Nicola Isernia (Universitá degli Studi di Napoli, Federico II) Nina Schwarz (Max Planck Institute for Plasma Physics) Prof. Salvatore Ventre (Universitá degli Studi di Cassino)

Presentation materials