Magnus integrators on multicore CPUs and GPUs

被引:17
作者
Auer, N. [1 ]
Einkemmer, L. [1 ]
Kandolf, P. [1 ]
Ostermann, A. [1 ]
机构
[1] Univ Innsbruck, Dept Math, Innsbruck, Austria
关键词
Magnus integrators; Graphic processing unit; Parallelization; Commutator-free Magnus integrators; Performance comparison; Heisenberg model;
D O I
10.1016/j.cpc.2018.02.019
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
In the present paper we consider numerical methods to solve the discrete Schrodinger equation with a time dependent Hamiltonian (motivated by problems encountered in the study of spin systems). We will consider both short-range interactions, which lead to evolution equations involving sparse matrices, and long-range interactions, which lead to dense matrices. Both of these settings show very different computational characteristics. We use Magnus integrators for time integration and employ a framework based on Leja interpolation to compute the resulting action of the matrix exponential. We consider both traditional Magnus integrators (which are extensively used for these types of problems in the literature) as well as the recently developed commutator-free Magnus integrators and implement them on modern CPU and GPU (graphics processing unit) based systems. We find that GPUs can yield a significant speed-up (up to a factor of 10 in the dense case) for these types of problems. In the sparse case GPUs are only advantageous for large problem sizes and the achieved speed-ups are more modest. In most cases the commutator-free variant is superior but especially on the GPU this advantage is rather small. In fact, none of the advantage of commutator-free methods on GPUs (and on multi-core CPUs) is due to the elimination of commutators. This has important consequences for the design of more efficient numerical methods. (C) 2018 Elsevier B.V. All rights reserved.
引用
收藏
页码:115 / 122
页数:8
相关论文
共 26 条
[1]   COMPUTING THE ACTION OF THE MATRIX EXPONENTIAL, WITH AN APPLICATION TO EXPONENTIAL INTEGRATORS [J].
Al-Mohy, Awad H. ;
Higham, Nicholas J. .
SIAM JOURNAL ON SCIENTIFIC COMPUTING, 2011, 33 (02) :488-511
[2]   High-order commutator-free exponential time-propagation of driven quantum systems [J].
Alvermann, A. ;
Fehske, H. .
JOURNAL OF COMPUTATIONAL PHYSICS, 2011, 230 (15) :5930-5956
[3]  
[Anonymous], 2008, Functions of matrices: theory and computation
[4]  
[Anonymous], 2016, CUSPARSE LIB DOCUMEN
[5]  
[Anonymous], 2016, INTEL MKL LIB DOCUME
[6]  
[Anonymous], 2016, CUBLAS LIB DOCUMENTA
[7]  
Auer N., 2016, THESIS
[8]   Improved high order integrators based on the Magnus expansion [J].
Blanes, S ;
Casas, F ;
Ros, J .
BIT NUMERICAL MATHEMATICS, 2000, 40 (03) :434-450
[9]   Fourth- and sixth-order commutator-free Magnus integrators for linear and non-linear dynamical systems [J].
Blanes, S. ;
Moan, P. C. .
APPLIED NUMERICAL MATHEMATICS, 2006, 56 (12) :1519-1537
[10]   The Magnus expansion and some of its applications [J].
Blanes, S. ;
Casas, F. ;
Oteo, J. A. ;
Ros, J. .
PHYSICS REPORTS-REVIEW SECTION OF PHYSICS LETTERS, 2009, 470 (5-6) :151-238