1. A comparison between parallelization approaches in molecular dynamics simulations on GPUs
- Author
-
Istvan Z. Reguly, Lorenzo Rovigatti, Flavio Romano, and Petr Šulc
- Subjects
Computer science ,Computation ,Graphics processing unit ,FOS: Physical sciences ,02 engineering and technology ,Parallel computing ,Thread (computing) ,Condensed Matter - Soft Condensed Matter ,Molecular dynamics ,010402 general chemistry ,01 natural sciences ,Settore FIS/03 - Fisica della Materia ,Computational science ,CUDA ,Graphics ,graphics processing unit ,molecular dynamics ,parallelization ,soft matter ,Parallelization ,Soft matter ,General Chemistry ,Computational Physics (physics.comp-ph) ,021001 nanoscience & nanotechnology ,Settore FIS/02 - Fisica Teorica, Modelli e Metodi Matematici ,0104 chemical sciences ,Computational Mathematics ,Soft Condensed Matter (cond-mat.soft) ,0210 nano-technology ,Physics - Computational Physics - Abstract
We test the performances of two different approaches to the computation of forces for molecular dynamics simulations on Graphics Processing Units. A "vertex-based" approach, where a computing thread is started per particle, is compared to a newly proposed "edge-based" approach, where a thread is started per each potentially non-zero interaction. We find that the former is more efficient for systems with many simple interactions per particle, while the latter is more efficient if the system has more complicated interactions or fewer of them. By comparing computation times on more and less recent GPU technology, we predict that, if the current trend of increasing the number of processing cores - as opposed to their computing power - remains, the "edge-based" approach will gradually become the most efficient choice in an increasing number of cases., Comment: 10 pages, 6 figures
- Published
- 2014
- Full Text
- View/download PDF