cp2k

Quantum chemistry and solid state physics software package

Github stars Tracking Chart

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 DFTB, LDA, GGA, MP2, RPA, 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 CUDA.

Downloading CP2K source code

To clone the current master (development version):

$ git clone --recursive https://github.com/cp2k/cp2k.git cp2k

Note the --recursive flag that is needed because CP2K uses git submodules.

To clone a release version vx.y:

$ git clone -b support/vx.y 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

See 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

Directory organization

  • arch: Collection of definitions for different architectures and compilers
  • benchmarks: Inputs for benchmarks
  • data: Simulation parameters e.g. basis sets and pseudopotentials
  • exts: Access to external libraries via GIT submodules
  • src: The source code
  • tests: Inputs for tests and regression tests
  • tools: Mixed collection of useful scripts related to cp2k

Additional directories created during build process:

  • lib: Libraries built during compilation
  • obj: Objects and other intermediate compilation-time files
  • exe: Where the executables will be located

Main metrics

Overview
Name With Ownercp2k/cp2k
Primary LanguageFortran
Program languageMakefile (Language Count: 16)
Platform
License:GNU General Public License v2.0
所有者活动
Created At2018-10-02 10:42:51
Pushed At2025-06-03 14:26:57
Last Commit At2025-06-03 16:26:57
Release Count23
Last Release Namev2025.1 (Posted on 2025-01-01 13:27:49)
First Release Namev2.3.0 (Posted on 2012-09-04 11:53:32)
用户参与
Stargazers Count0.9k
Watchers Count35
Fork Count410
Commits Count22.4k
Has Issues Enabled
Issues Count774
Issue Open Count164
Pull Requests Count3189
Pull Requests Open Count1
Pull Requests Close Count188
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private