← 返回首页
GitHub - cp2k/cp2k: Quantum chemistry and solid state physics software package · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

cp2k/cp2k

 master
Go to file
Code

Repository files navigation

CP2K

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

The easiest way to build CP2K with all of its dependencies is as a Docker container.

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

Links

  • 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

About

Quantum chemistry and solid state physics software package

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Footer

© 2026 GitHub, Inc.