Sustainable packaging of quantum chemistry software with the Nix package manager

Markus Kowalewski,Phillip Seeber
DOI: https://doi.org/10.1002/qua.26872
2022-01-04
International Journal of Quantum Chemistry
Abstract:The installation of quantum chemistry software packages is commonly done manually and can be a time‐consuming and complicated process. An update of the underlying Linux system requires a reinstallation in many cases and can quietly break software installed on the system. In this paper, we present an approach that allows for an easy installation of quantum chemistry software packages, which is also independent of operating system updates. The use of the Nix package manager allows building software in a reproducible manner, which allows for a reconstruction of the software for later reproduction of scientific results. The build recipes that are provided can be readily used by anyone to avoid complex installation procedures. Nix code snippets, defining reproducible environments for software development and quantum chemistry computations. The NixOS‐QChem overlay provides over 20 quantum chemistry packages in addition to the more than 60 000 general packages, contained in the nixpkgs collection. These packages can easily be recompiled with different linear algebra packages, MPI implementations, or a custom CPU optimization, without manual intervention in the compilation process.
chemistry, physical,physics, atomic, molecular & chemical,mathematics, interdisciplinary applications,quantum science & technology
What problem does this paper attempt to address?