Abstract
Classical molecular dynamics simulation for atomistic systems is implemented in OpenCL and benchmarked on a variety of different hardware platforms. Modifying the number of particles and system size in the study provides insight into characteristics of parallel compute platforms, where latency, data transfer, memory access characteristics and compute intense work can be identified as fingerprints in benchmark runs. Data layouts are compared, for which the access of structure-of-arrays shows best performance in most cases. It is demonstrated that function portability can be achieved straightforwardly with OpenCL, while performance portability lacks behind as various architectures strongly depend on specific vectorisation optimisation.
This is a preview of subscription content, access via your institution.




References
DOE (2017) Performance portability WS DOE. https://asc.llnl.gov/DOE-COE-Mtg-2016/
Frenkel D, Smit B (2002) Understanding molecular simulation. From algorithms to applications. Academic Press, San Diego
Halver R, Sutmann G (2015) Multi-threaded construction of neighbour lists for particle systems in OpenMP. In: Parallel Processing and Applied Mathematics/Wyrzykowski, Roman (Editor), 11th International Conference on Parallel Processing and Applied Mathematics, Krakow (Poland), 6 Sept 2015–9 Sept 2015. https://doi.org/10.1007/978-3-319-32152-3_15
Hockney RW, Eastwood JW (1981) Computer simulation using particles. McGraw-Hill, New York
Intel (2017) Intel OpenCL SDK. https://software.intel.com/en-us/articles/opencl-drivers
JSC (2017a) JURECA. http://www.fz-juelich.de/ias/jsc/jureca
JSC (2017b) JUROPA3. http://www.fz-juelich.de/ias/jsc/EN/Research/HPCTechnology/ClusterComputing/JUROPA-3/JUROPA-3_node.html
Rapaport D (2001) The art of molecular dynamics simulation. Cambridge University Press, Cambridge
Sutmann G (2002) Classical molecular dynamics. In: Grotendorst J, Marx D, Muramatsu A (eds) Quantum simulations of many-body systems: from theory to algorithms, vol 10. NIC, Jülich, pp 211–254
Sutmann G, Stegailov V (2006) Optimization of neighbor list techniques in liquid matter simulations. J Mol Liq 125:197–203
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Halver, R., Homberg, W. & Sutmann, G. Function portability of molecular dynamics on heterogeneous parallel architectures with OpenCL. J Supercomput 74, 1522–1533 (2018). https://doi.org/10.1007/s11227-017-2232-2
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11227-017-2232-2
Keywords
- Molecular dynamics
- OpenCL
- Shared memory parallelisation
- Many-core architectures