Journal of Computational Science and Technology
Online ISSN : 1881-6894
ISSN-L : 1881-6894
Papers
Implementation of GPU-FFT into Planewave Based First Principles Calculation Method
Hidekazu TOMONOMasaru AOKIToshiaki IITAKAKazuo TSUMURAYA
Author information
JOURNAL FREE ACCESS

2011 Volume 5 Issue 3 Pages 89-105

Details
Abstract

We present an implementation of a GPU based FFT routine (Graphics Processing Unit based Fast Fourier Transformation) into a CPU based ab initio periodic DFT (Density Functional Theory) calculation code. The FFT calculation in the CPU based DFT codes is the most time-consuming part; for the 128 silicon system, the fraction of time of a CPU FFT calculation amounts to 0.64 of the whole periodic DFT calculation. The replacement of a double precision FFT in the periodic PWscf code with a single precision FFT gives no appreciable differences in both the numerical total energies and the interatomic forces, guaranteeing the use of a single precision GPU based FFT, CUFFT, for the code. The use of the CUFFT reduces the fraction to 0.20 of the whole PWscf code; the replacement speedups a factor of 2.2 for single CPU system. The use of the multi-CPU system with the GPU FFT accelerates by 2.2f, where f is the acceleration factor of the multi-CPU system. The single precision GPU calculation is implementable in any self-consistent electronic structure code, except for the eigensolver part in the DFT codes.

Content from these authors
© 2011 by The Japan Society of Mechanical Engineers
Next article
feedback
Top