No description
Find a file
2026-06-24 09:38:54 +02:00
.fmf fedora: Optimize builds (#3268) 2024-03-28 21:07:23 +01:00
benchmarks README.md: Update installation docs and binary paths (#5438) 2026-06-24 09:38:54 +02:00
ci Fix syntax error (#5432) 2026-06-23 17:37:26 +02:00
cmake Toolchain: Add Eigen3 and Remove FindLibint2.cmake (#5427) 2026-06-23 21:49:03 +02:00
data Update UZH basis sets and pseudopotentials (#5376) 2026-06-08 15:58:02 -06:00
docs README.md: Update installation docs and binary paths (#5438) 2026-06-24 09:38:54 +02:00
src Toolchain: Add Eigen3 and Remove FindLibint2.cmake (#5427) 2026-06-23 21:49:03 +02:00
tests RIRS: Improve RI-RS GW implementation, enable Γ-point calculation for large cells and integrate compile-time fix (#5429) 2026-06-23 21:46:58 +02:00
tools Toolchain: Add Eigen3 and Remove FindLibint2.cmake (#5427) 2026-06-23 21:49:03 +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 add Github Action workflow to create release tarball 2019-12-06 14:23:21 +01:00
.gitignore Ignore top-level folders starting with "spack" (#5212) 2026-05-16 09:27:07 +02:00
.packit.yaml Fix fedora builds 2024-11-18 11:40:33 +01:00
CMakeLists.txt Toolchain: Add Eigen3 and Remove FindLibint2.cmake (#5427) 2026-06-23 21:49:03 +02:00
INSTALL.md Toolchain: Replace "scripts/generate_cmake_options.sh" with "build_cp2k.sh" (#5080) 2026-04-26 12:40:37 +02:00
LICENSE LICENSE: initial commit 2018-10-02 16:53:44 +02:00
make_cp2k.sh Docker [Spack]: Default to system GCC and enable Rawhide ssmp testing (#5409) 2026-06-20 23:47:26 +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 README.md: Update installation docs and binary paths (#5438) 2026-06-24 09:38:54 +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

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

For more information on downloading CP2K, see Downloading CP2K. For help on git, see Git Tips & Tricks.

Install CP2K

CP2K manual provides installation instructions for below available methods:

For building CP2K from scratch, including GPU acceleration for NVIDIA (CUDA), AMD (HIP/ROCm), or OpenCL devices, also see the installation instructions.

  • 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
  • tests: Inputs for tests and regression tests
  • tools: Mixed collection of useful scripts related to cp2k
  • benchmarks: Inputs for benchmarks