No description
  • Fortran 89.3%
  • C 7.5%
  • Python 1.4%
  • Shell 0.7%
  • CMake 0.3%
  • Other 0.7%
Find a file
2026-09-25 23:01:41 +08:00
.fmf fedora: Optimize builds (#3268) 2024-03-28 21:07:23 +01:00
benchmarks Add remaining GROMACS benchmark ClC (#6083) 2026-09-22 15:54:17 +02:00
ci Docker: Fix base image sources (#6081) 2026-09-22 15:00:22 +02:00
cmake Move non-standard CMake build types to presets (#5992) 2026-09-10 16:47:09 +08:00
data Fix Ca UZH basis entry header (#5633) 2026-07-30 13:45:33 +02:00
docs i-PI: Validate requests and handle fragmented socket transfers (#6105) 2026-09-24 19:29:45 +02:00
python i-PI: Validate requests and handle fragmented socket transfers (#6105) 2026-09-24 19:29:45 +02:00
src LR-BSE: Refactor with own environment (#6111) 2026-09-25 23:01:41 +08:00
tests LR-BSE: Refactor with own environment (#6111) 2026-09-25 23:01:41 +08:00
tools CI: Trigger python test automatically (#6110) 2026-09-25 14:02:36 +02:00
.dockerignore Update list of folders which should not be copied into a container (#5191) 2026-05-14 13:42:29 +02:00
.git-blame-ignore-revs Add 2b6ea5 to .git-blame-ignore-revs 2023-12-19 13:46:10 +01:00
.gitattributes Revise export-ignore in .gitattributes (#5464) 2026-06-26 12:16:30 +02:00
.gitignore Allow usage of multiple generalized eigensolvers (#5913) 2026-09-01 10:48:33 +02:00
.packit.yaml Packit: Use label requirement for copr_build job in PR (#5785) 2026-08-20 12:07:36 +02:00
CMakeLists.txt Move non-standard CMake build types to presets (#5992) 2026-09-10 16:47:09 +08:00
CMakePresets.json Move non-standard CMake build types to presets (#5992) 2026-09-10 16:47:09 +08:00
CODEOWNERS Codeowners: Add @Growl1234 for Toolchain and Fedora (#5806) 2026-08-21 10:57:06 +02:00
CONTRIBUTING.md Docs: add troubleshooting.md, convergence.md, CONTRIBUTING.md symbolic link, and contributions to changelog (#5522) 2026-07-10 08:59:09 +02:00
INSTALL.md Restructure installation documentations, create ./docs/getting-started/installation.md as an umbrella entry (#5795) 2026-08-24 14:25:45 +02:00
LICENSE LICENSE: initial commit 2018-10-02 16:53:44 +02:00
make_cp2k.sh Move QMMM benchmarks to separate folder (#6075) 2026-09-22 09:29:07 +02:00
make_pretty.sh Add timeout flag and allow for flags using make_pretty.sh 2026-02-27 20:42:16 +01:00
README.md Misc docs edits and a bug fix for "mentions" links (#5864) 2026-08-31 15:52:24 +02:00

CP2K

Release Status Debian Status Fedora Status Ubuntu Status Homebrew Status Docker Status Spack Status Conda Status

CP2K is a quantum chemistry and solid state physics software package that can perform atomistic simulations of solid state, liquid, molecular, periodic, material, crystal, and biological systems. CP2K provides a general framework for different modeling methods such as DFT using the mixed Gaussian and plane waves approaches GPW and GAPW. Supported theory levels include DFT, MP2, RPA, GW, tight-binding (xTB, DFTB), semi-empirical methods (AM1, PM3, PM6, RM1, MNDO, ...), and classical force fields (AMBER, CHARMM, ...). CP2K can do simulations of molecular dynamics, metadynamics, Monte Carlo, Ehrenfest dynamics, vibrational analysis, core level spectroscopy, energy minimization, and transition state optimization using NEB or dimer method.

CP2K is written in Fortran 2008 and can be run efficiently in parallel using a combination of multi-threading, MPI, and GPU acceleration (CUDA for NVIDIA GPUs, HIP/ROCm for AMD GPUs, and OpenCL).

Downloading CP2K source code

For end users, the preferred method is to go to Releases and download and extract one of the versioned tarballs cp2k-X.Y.tar.bz2.

For developers, the preferred method is to fork the cp2k/cp2k repository and download via git clone. To clone the current master (development version):

git clone https://github.com/cp2k/cp2k.git cp2k

To clone a release version vx.y:

git clone -b support/vx.y --recursive https://github.com/cp2k/cp2k.git cp2k

Install CP2K

The installation instructions in the CP2K manual provide several methods for installing CP2K with dependencies:

  • CP2K.org for showcases of scientific work, tutorials, exercises, presentation slides, etc.
  • The manual with descriptions of all the keywords for the CP2K input file
  • The dashboard to get an overview of the currently tested architectures
  • The Google group to get help if you could not find an answer in one of the previous links
  • Acknowledgements for list of institutions and grants that help to fund the development of CP2K

Directory organization

  • src: The source code
  • data: Simulation parameters e.g. basis sets and pseudopotentials
  • docs: The markdown source pages for documentations that is rendered as the manual
  • tests: Inputs for tests and regression tests
  • tools: Mixed collection of useful scripts related to CP2K
  • benchmarks: Inputs for benchmarks