Double Precision Is Not Needed for Many-Body Calculations: Emergent Conventional Wisdom.
Pavel PokhilkoEvgeny EpifanovskyAnna I KrylovPublished in: Journal of chemical theory and computation (2018)
Using single-precision floating-point representation reduces the size of data and computation time by a factor of 2 relative to double precision conventionally used in electronic structure programs. For large-scale calculations, such as those encountered in many-body theories, reduced memory footprint alleviates memory and input/output bottlenecks. Reduced size of data can lead to additional gains due to improved parallel performance on CPUs and various accelerators. However, using single precision can potentially degrade the accuracy of the computed quantities. Here we report an implementation of coupled-cluster and equation-of-motion coupled-cluster methods with single and double excitations in single precision. We consider both standard implementation and one using Cholesky decomposition or resolution-of-the-identity representation of electron-repulsion integrals. Numerical tests illustrate that when single precision is used in correlated calculations, the loss of accuracy is insignificant, and pure single-precision implementation can be used for computing energies, analytic gradients, excited states, and molecular properties. In addition to pure single-precision calculations, our implementation allows one to follow a single-precision calculation by cleanup iterations, fully recovering double-precision results while retaining significant savings.