Today I came across these articles about the use of single and mixed precisions (for molecular dynamics and electronic structure calculations):
-
Routine Microsecond Molecular Dynamics Simulations with AMBER on GPUs
https://pubs.acs.org/doi/10.1021/ct200909j -
Double Precision Is Not Needed for Many-Body Calculations: Emergent Conventional Wisdom
https://pubs.acs.org/doi/10.1021/acs.jctc.8b00321 -
Accelerating seminumerical Fock-exchange calculations using mixed single- and double-precision arithmethic
https://aip.scitation.org/doi/full/10.1063/5.0045084
This article seems to be using “half-precision”:
- Mixed Precision Fermi-Operator Expansion on Tensor Cores from a Machine Learning Perspective
https://pubs.acs.org/doi/10.1021/acs.jctc.1c00057
Up to now I used only double precision in my codes, so various parts uses d0 for floating-point literals… So first of all, I need to fix these literals to _rp for experiment (precisely as you mentioned above
)
Yes, GPU is very attractive and I think the motivation for the above-linked papers is probably GPU. Though I cannot use GPUs right now, I would like to try them once the program and calculations become more “stable” (possibly with OpenACC?)