Portable GPU implementation of the WP-CCC ion-atom collisions code
Authors:
I. B. Abdurakhmanov,
N. W. Antonio,
M. Cytowski,
A. S. Kadyrov
Abstract:
We present our experience of porting the code used in the wave-packet convergent-close-coupling (WP-CCC) approach to run on NVIDIA V100 and AMD MI250X GPUs. The WP-CCC approach is a method used in the field of ion-atom collision physics to describe various processes such as elastic scattering, target excitation and electron-capture by the projectile. It has demonstrated its effectiveness in modell…
▽ More
We present our experience of porting the code used in the wave-packet convergent-close-coupling (WP-CCC) approach to run on NVIDIA V100 and AMD MI250X GPUs. The WP-CCC approach is a method used in the field of ion-atom collision physics to describe various processes such as elastic scattering, target excitation and electron-capture by the projectile. It has demonstrated its effectiveness in modelling collisions involving proton or bare ion projectiles with various atomic and molecular targets, especially those which can be considered as one or two-electron systems. Such calculations find their application in computational atomic physics as well as in the modelling of fusion plasmas and in hadron therapy for cancer treatment. The main computational cost of the method lies in the solution of an emerging set of coupled first-order differential equations. This involves implementing the standard Runge-Kutta method while varying the projectile position along multiple straight-line paths. At each projectile position several millions of matrix elements need to be calculated which is accomplished using the OpenACC programming model. Once these matrix elements are computed, the subsequent steps involve matrix inversion and multiplication with another matrix. To expedite these operations, a GPU-accelerated LAPACK routine, specialised for solving systems of linear equations, is employed. For AMD GPUs, this routine is accessible through the hipSOLVER library, while for NVIDIA GPUs, it can be obtained from the cuSOLVER library. The portability, performance and energy efficiency of the CPU-only code have been compared with the GPU-accelerated version running on AMD and NVIDIA GPUs. The implementation of GPU-accelerated WP-CCC code opens up avenues for exploring more sophisticated collision processes involving complex projectile and target structures, which were previously considered infeasible.
△ Less
Submitted 7 March, 2024;
originally announced March 2024.
A simple analysis of flying capacitor converter
Authors:
S. Kadyrov,
P. S. Skrzypacz,
Y. L. Familiant
Abstract:
The paper aims to emphasise how switched systems can be analysed with elementary techniques which require only undergraduate-level linear algebra and differential equations. It is also emphasised how math software can become useful for simplifying analytic complications. The time domain voltage balance methodology is used for stability analysis. As for deriving formulas for the asymptotic average…
▽ More
The paper aims to emphasise how switched systems can be analysed with elementary techniques which require only undergraduate-level linear algebra and differential equations. It is also emphasised how math software can become useful for simplifying analytic complications. The time domain voltage balance methodology is used for stability analysis. As for deriving formulas for the asymptotic average of both capacitor voltage and inductor current, a new simple analytic method is introduced. It was shown analytically that the time average of capacitor voltage converges to half of the source voltage. A formula for the time average of the current of the inductor is also computed. As a by-product it was discovered that the period of the current is half of the switching period. Numerical simulations are obtained to illustrate the accuracy of the results. Higher dimensional generalisations could become a bit complicated as stability analysis of higher dimensional exponential matrices are not so easy to handle. On the other hand, the new discovery on the period of the current is more likely to give new insights in handling higher dimensional systems. Analytical formulas are exact and it helps in accurately modelling flying capacitor converts in practice. FCC is well studied in engineering society. However, not much is done in obtaining exact formulas using analysis. Also, math software is much used in computation of numerical results and obtaining simulations. In this paper, one more important aspect of math software is emphasised, namely, use symbolic computations in analysis.
△ Less
Submitted 31 July, 2018;
originally announced August 2018.