Uploaded March 2024 | Updated December 2026, 2 days ago
The goal of this project is to help the student intern gain experience working with a real-world open-source ab initio molecular dynamics codebase by guiding them through implementing and validating an algorithm for modelling homogeneous shear flow. In particular, the student will work on extending CP2K, which is a well-established, massively parallel code written in modern Fortran, and achieves good scaling properties through the use of vectorisation, multithreading, MPI, and GPU acceleration.
Simulating flow is important for measuring rheological properties, and doing so in an ab initio code such as CP2K allows for modelling of shear-driven chemical reactions which are otherwise difficult to simulate, and for new materials to be explored in a parameter-free way. Homogeneous flow can be modelled in molecular dynamics simulations using the SLLOD algorithm, which enables the use of nonequilibrium techniques for faster-converging measurements. The algorithm is conceptually simple to implement, requiring only minor changes to the equations of motion along with updating of periodic boundary conditions. All supervisors on the project have extensive experience both using and implementing the SLLOD algorithm, including recent work on a more advanced version in the classical molecular dynamics package, LAMMPS.
Supervisors will guide the student through learning the basics of using CP2K, setting up their development environment, navigating the code, and figuring out and implementing the required changes. Further guidance will be provided towards designing appropriate tests which are both sensitive and fast-running, and optimising code for best use of HPC resources. The concepts behind the algorithm and behind general ab initio molecular dynamics modelling will be discussed in detail, and through this the student will gain a deep understanding of their work.
This project will provide a valuable learning experience for the student, helping them develop transferrable skills such as becoming familiar and working with a large existing codebase, principles of high performance computing, and the ability to translate mathematical algorithms into software. Furthermore, the project will contribute towards training the next generation of maintainers for long-standing scientific software such as CP2K. Ab initio molecular dynamics and quantum chemistry calculations such as those facilitated by CP2K and other, primarily Fortran, codebases account for an appreciable fraction of global supercomputer usage, yet there is concern in the community about finding future contributors who are capable of continuing maintenance and development as original developers retire. By guiding the student into the developer community through an accessible project, we hope to contribute towards preserving the future of this widely used, important class of software.
The new simulation capabilities made accessible in this project will pave the way for future projects both applying the code to interesting systems and extending it to handle elongational and/or rotational flow. Should the code meet all requirements, submission to the upstream CP2K codebase in order to make the algorithm generally available to all users is also a possibility, in which case it will be of use and benefit to many in the materials science community.
The goal of this project is to help the student intern gain experience working with a real-world open-source ab initio molecular dynamics codebase by guiding them through implementing and validating an algorithm for modelling homogeneous shear flow. In particular, the student will work on extending CP2K, which is a well-established, massively parallel code written in modern Fortran, and achieves good scaling properties through the use of vectorisation, multithreading, MPI, and GPU acceleration.
Simulating flow is important for measuring rheological properties, and doing so in an ab initio code such as CP2K allows for modelling of shear-driven chemical reactions which are otherwise difficult to simulate, and for new materials to be explored in a parameter-free way. Homogeneous flow can be modelled in molecular dynamics simulations using the SLLOD algorithm, which enables the use of nonequilibrium techniques for faster-converging measurements. The algorithm is conceptually simple to implement, requiring only minor changes to the equations of motion along with updating of periodic boundary conditions. All supervisors on the project have extensive experience both using and implementing the SLLOD algorithm, including recent work on a more advanced version in the classical molecular dynamics package, LAMMPS.
Supervisors will guide the student through learning the basics of using CP2K, setting up their development environment, navigating the code, and figuring out and implementing the required changes. Further guidance will be provided towards designing appropriate tests which are both sensitive and fast-running, and optimising code for best use of HPC resources. The concepts behind the algorithm and behind general ab initio molecular dynamics modelling will be discussed in detail, and through this the student will gain a deep understanding of their work.
This project will provide a valuable learning experience for the student, helping them develop transferrable skills such as becoming familiar and working with a large existing codebase, principles of high performance computing, and the ability to translate mathematical algorithms into software. Furthermore, the project will contribute towards training the next generation of maintainers for long-standing scientific software such as CP2K. Ab initio molecular dynamics and quantum chemistry calculations such as those facilitated by CP2K and other, primarily Fortran, codebases account for an appreciable fraction of global supercomputer usage, yet there is concern in the community about finding future contributors who are capable of continuing maintenance and development as original developers retire. By guiding the student into the developer community through an accessible project, we hope to contribute towards preserving the future of this widely used, important class of software.
The new simulation capabilities made accessible in this project will pave the way for future projects both applying the code to interesting systems and extending it to handle elongational and/or rotational flow. Should the code meet all requirements, submission to the upstream CP2K codebase in order to make the algorithm generally available to all users is also a possibility, in which case it will be of use and benefit to many in the materials science community.










