Parallel algorithm for spin and spin-lattice dynamics simulations.
To control numerical errors accumulated over tens of millions of time steps during the integration of a set of highly coupled equations of motion is not a trivial task. In this paper, we propose a parallel algorithm for spin dynamics and the newly developed spin-lattice dynamics simulation [P. W. Ma, Phys. Rev. B 78, 024434 (2008)]. The algorithm is successfully tested in both types of dynamic calculations involving a million spins. It shows good stability and numerical accuracy over millions of time steps (approximately 1 ns) . The scheme is based on the second-order Suzuki-Trotter decomposition (STD). The usage can avoid numerical energy dissipation despite the trajectory and machine errors. The mathematical base of the symplecticity, for properly decomposed evolution operators, is presented. Due to the noncommutative nature of the spin in the present STD scheme, a unique parallel algorithm is needed. The efficiency and stability are tested. It can attain six to seven times speed up when eight threads are used. The run time per time step is linearly proportional to the system size.
Ma
Pui-Wai
PW
Department of Electronic and Information Engineering, The Hong Kong Polytechnic University, Hong Kong, SAR, China.
Woo
C H
CH