Answers are grounded in this paper and cite their sources.
The paper presents a comparative study of parallel implementations of a molecular dynamics simulation using Python, C++, and MATLAB. A classical molecular dynamics problem describing the motion of interacting particles in a three-dimensional domain is considered. The particle interactions are modeled using the Lennard–Jones potential, while the equations of motion are integrated by the Verlet algorithm. Identical computational algorithms and initial conditions are employed for all software implementations. Parallel computations in MATLAB are performed using the parfor construct, whereas the Python and C++ implementations are based on the Message Passing Interface (MPI) standard. Computational experiments are carried out on both a personal computer and a multiprocessor server. The dependence of execution time on the number of computational processes is investigated. A comparative analysis of performance, scalability, and parallel efficiency is conducted. The results show that MATLAB provides the lowest absolute execution time, while the C++ implementation demonstrates the best scalability with increasing numbers of processes. The obtained results may be useful for selecting software tools for the development of molecular dynamics applications.
No takes yet. Share an insight, caveat, or question.
Zabegaev et al. (2026) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: