A Python plugin infrastructure for the Vienna ab-initio Simulation Package (VASP) that combines computational efficiency with the flexibility of high-level scripting and effectively bridges the gap between high-performance electronic structure routines and the widespread scientific Python ecosystem.
Abstract
Implementing novel features and experimental algorithms into widely adopted density functional theory (DFT) codes is frequently hindered by complex legacy architectures and the use of compiled languages such as Fortran. These production codes, while optimised for high-performance computing clusters, present significant hurdles for software development and rapid prototyping, often requiring deep expertise in the code's internal structure to modify. To address this challenge, we present a Python plugin infrastructure for the Vienna ab-initio Simulation Package (VASP) that combines computational efficiency with the flexibility of high-level scripting. Our architecture uses a C++ intermediate layer and pybind11 to expose VASP data as NumPy arrays via shared memory buffers, ensuring high performance without data duplication. We implement two categories of plugins: those that modify quantities at the end of each converged self-consistent field (SCF) cycle, such as structure and force_and_stress, and those that operate during the SCF cycle, such as local_potential and occupancies. We demonstrate the utility of our implementation through three applications, structure relaxation using the scipy library, implementing an implicit solvent model, and adding the DFT-D4 dispersion corrections. This infrastructure effectively bridges the gap between high-performance electronic structure routines and the widespread scientific Python ecosystem.
Despite the robust ecosystem, ease of use, and flexibility offered by Python, most of the current popular quantum chemistry codes are still developed in Fortran, C, or C++, due to their speed advantage over Python. Furthermore, the tedious compilation process acts as a barrier for many aspiring beginners. PySCF and Psi...
Manas Sharma, Marek Sierka· Journal of Physical Chemistr...· 1 citation
The transition of Earth-system models to exascale is often hindered by rigid, monolithic Fortran codebases and maintenance-heavy compiler directives. While high-level DSLs offer a solution, they frequently fail due to cumbersome integration. We present the integration of a Python-based ICON dynamical core into the orig...
Mauro Bianco, Till Ehrengruber, E. Paredes et al.· 0 citations
Discovering novel materials for energy-efficient separations, electrochemical reactions, and energy storage requires characterization of thermophysical properties such as diffusivity and ionic conductivity. Over the past several decades, molecular dynamics (MD) simulations have been playing an important role for predic...
A. Verma, Amey S. Thorat, Jindal K. Shah· Journal of Chemical Informat...· 1 citation
Molecular dynamics (MD) and the development of next-generation force fields increasingly rely on automatic differentiation for efficient simulated property prediction and parameter optimization. However, standard FFs and machine learning frameworks often suffer from significant performance bottlenecks-such as kernel la...
Yingze Wang, Aalim S Abdullah, Rohith Srinivaas Mohanakrishnan et al.· Journal of Chemical Physics· 0 citations
A new software package, Fast-Forward, which aids parametrization of models for the widely used Martini coarse-grained force field, and offers a system-agnostic suite of tools to parametrize molecules of any size, existing in any environment.
Christopher Brasnett, Maximilian Fidlin, Thilo Duve et al.· Journal of Chemical Informat...· 1 citation· ⚡1
The VizFold plugin is described, a modular framework that can be extended toward end-to-end composable pipelines and demonstrated feasibility through standardized hook-based tracing for ESMFold and Boltz-2, archive validation, and reproducible deployment on an HPC cluster using managed caches, modules, quotas, and Slur...
Jayanth Vennamreddy, Arish Virani, Kevin Yin et al.· Practice and Experience in A...· 0 citations
We use cookies to run the site and, with your consent, for analytics and to show ads.
See our Cookie Policy.