MD Product Line

Parallel implementations of Molecular Dynamics (MD) simulation (Lennard-Jones potential) in C++, supporting optional features such as neighbors list, blocks (loop tiling), and cells (space decomposition).

The implementations provides the needed API to target shared memory systems, distributed memory systems, or both (the loop body of the simulation needs to be adapted depending on the target platform).

Related Publications

  • R. C. Gonçalves, D. Batory, J. L. Sobral, and T. L. Riché, “From software extensions to product lines of dataflow programs,” Software and Systems Modeling, vol. 16, iss. 4, p. 929–947, 2017. doi:10.1007/s10270-015-0495-8
    author = {Gonçalves, Rui C. and Batory, Don and Sobral, João L. and Riché, Taylor L.},
    journal = {Software and Systems Modeling},
    title = {From software extensions to product lines of dataflow programs},
    year = {2017},
    volume = {16},
    number = {4},
    pages = {929--947},
    doi = {10.1007/s10270-015-0495-8},


The source code is available through Git, using URL git:// (more details here).  It can also be downloaded directly from here.

(This software was originally based on the Java Grande Forum Benchmark Suite – moldyn case study.)


This work was funded by ERDF – European Regional Development Fund through the COMPETE Programme (operational programme for competitiveness) and by National Funds through the FCT – Fundação para a Ciência e a Tecnologia (Portuguese Foundation for Science and Technology) within project FCOMP-01-0124-FEDER-010152.