No description
Find a file
Cristian Le 58e3e09bda
fedora: Optimize builds (#3268)
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
2024-03-28 21:07:23 +01:00
.fmf fedora: Optimize builds (#3268) 2024-03-28 21:07:23 +01:00
arch Update arch files 2024-03-28 17:30:37 +01:00
benchmarks Indent @-directives and set them upercase 2024-01-16 16:23:54 +01:00
cmake Use upstream spglib interface 2024-03-28 15:36:07 +01:00
data Ge-At MOLOPT UZH basis sets update (#3266) 2024-02-12 13:03:24 +01:00
docs Add methods section for Bethe-Salpeter 2024-03-22 17:18:29 +01:00
exts Legacy build_dbcsr cleanup (#3319) 2024-03-15 14:05:02 +01:00
src Use upstream spglib interface 2024-03-28 15:36:07 +01:00
tests fedora: Optimize builds (#3268) 2024-03-28 21:07:23 +01:00
tools fedora: Optimize builds (#3268) 2024-03-28 21:07:23 +01:00
.dockerignore Docs: Add Sphinx-based manual 2023-06-08 10:46:10 +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 Add Fedora packaging via packit 2024-02-13 14:05:16 +01:00
.gitmodules prettify: update to fprettify v0.3.5 2019-11-20 17:35:01 +01:00
.packit.yaml fedora: Optimize builds (#3268) 2024-03-28 21:07:23 +01:00
CMakeLists.txt Use upstream spglib interface 2024-03-28 15:36:07 +01:00
INSTALL.md DBM: introduced OpenCL support (#3321) 2024-03-15 16:41:35 +01:00
LICENSE LICENSE: initial commit 2018-10-02 16:53:44 +02:00
Makefile Move do_regtest.py into tests dir 2023-09-27 11:17:40 +02:00
README.md Current (#3264) 2024-02-11 20:34:02 +01:00
README_cmake.md precommit: Wrap Markdown lines after 100 characters 2023-11-14 12:47:36 +01:00

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 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 --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 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

  • 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