i-PI 3.0: a flexible and efficient framework for advanced atomistic simulations

Yair Litman,Venkat Kapil,Yotam M. Y. Feldman,Davide Tisi,Tomislav Begušić,Karen Fidanyan,Guillaume Fraux,Jacob Higer,Matthias Kellner,Tao E. Li,Eszter S. Pós,Elia Stocco,George Trenins,Barak Hirshberg,Mariana Rossi,Michele Ceriotti
2024-07-10
Abstract:Atomic-scale simulations have progressed tremendously over the past decade, largely due to the availability of machine-learning interatomic potentials. These potentials combine the accuracy of electronic structure calculations with the ability to reach extensive length and time scales. The i-PI package facilitates integrating the latest developments in this field with advanced modeling techniques, thanks to a modular software architecture based on inter-process communication through a socket interface. The choice of Python for implementation facilitates rapid prototyping but can add computational overhead. In this new release, we carefully benchmarked and optimized i-PI for several common simulation scenarios, making such overhead negligible when i-PI is used to model systems up to tens of thousands of atoms using widely adopted machine learning interatomic potentials, such as Behler-Parinello, DeePMD and MACE neural networks. We also present the implementation of several new features, including an efficient algorithm to model bosonic and fermionic exchange, a framework for uncertainty quantification to be used in conjunction with machine-learning potentials, a communication infrastructure that allows deeper integration with electronic-driven simulations, and an approach to simulate coupled photon-nuclear dynamics in optical or plasmonic cavities.
Chemical Physics,Materials Science
What problem does this paper attempt to address?
This paper focuses on improving the performance and functionality of the i-PI (Interactive Potential Interface) software framework to support advanced atomistic simulations. i-PI is a Python-based tool that connects state-of-the-art machine learning potentials with advanced modeling techniques, allowing for scalable simulations of large systems, such as those containing tens of thousands of atoms. In the new version, the authors optimized i-PI to reduce computational overhead when using machine learning potentials like Behler-Parinello, DeePMD, and MACE neural networks. Additionally, new features include: 1. Efficient algorithms for simulating bosonic and fermionic exchange. 2. Uncertainty quantification framework integrated with machine learning potentials. 3. Communication infrastructure that integrates deeper with electronic-driven simulations. 4. Methods for simulating photon-nucleus dynamics in optical or plasma cavities. The paper also emphasizes the modular design of i-PI, which allows it to easily adapt to newly developed machine learning potential architectures and combine with other advanced sampling techniques. Through improved documentation, examples, and automated testing workflows, code stability and maintainability are enhanced, reducing the learning curve for new users and developers. Lastly, the paper showcases how i-PI facilitates the implementation of complex simulation setups without the need for writing new code.