# Spack environment file for a serial CP2K binary with all available dependencies spack: concretizer: unify: true config: install_tree: root: /opt/spack packages: all: buildable: true prefer: - ~cuda - ~mpi - +openmp - +pic - ~rocm blas: require: - openblas lapack: require: - openblas openblas: require: - +fortran - threads=openmp # Dependencies for CP2K dbcsr: require: - ~examples - +openmp - smm=blas deepmdkit: require: - build_system=cmake - +enable_pytorch dftd4: require: - build_system=cmake fftw: require: - +openmp hdf5: require: - +fortran libint: require: - +fortran - tune=cp2k-lmax-5 libxc: require: - +kxc - build_system=cmake py-torch: require: - ~cuda - ~distributed - ~kineto - ~mkldnn - ~rocm - ~valgrind trexio: require: - +hdf5 - build_system=cmake specs: # Minimal - "dbcsr@2.8.0" - "openblas@0.3.29" # All - "deepmdkit@3.1.0" - "dftd4@3.7.0" - "fftw@3.3.10" - "greenx@2.2" - "hdf5@1.14.6" - "lammps-user-pace@2023.11.25.fix2" - "libint@2.9.0" - "libvori@220621" - "libxc@7.0.0" # - "libxsmm@1.17" - "py-torch@2.6" - "spglib@2.5.0" - "trexio@2.5.0" view: default: root: ./spack-env/view exclude: # Exclude gcc-runtime to avoid adding a copy of libgomp.so to the view - gcc-runtime # EOF