User Tools

Site Tools


download

This is an old revision of the document!


Downloading CP2K

What can be downloaded ?

The source of CP2K is open and freely available for everybody under the GPL license.

Installation instructions can be found on the wiki and in the INSTALL file which is part of the download.

The sparse matrix library DBCSR is part of CP2K, and made available standalone at the DBCSR homepage.

Available versions of CP2K

Development Version Released Version
  • Most recent
  • All new features
  • Potentially unstable / buggy
  • only available via SVN or git, known as 'trunk'
  • Older
  • Stable, no ongoing development
  • All major functionality in good shape
  • Only rare backports of bug fixes (as time permits)

Looking at the version history might help you to decide.

How to download

From an official release

Sources of released versions are available at our sourceforge project page. Alternatively, precompiled single node, optimised CP2K versions for Linux with or without OpenMP support are available as well.

From a Distribution

From a third party

Anonymous SVN Access

The code in SVN is under constant development. Check the Dashboard for current issues.

The latest and all prior versions are available from the CP2K SVN repository.

Check out only a needed branch (the branch will then be in cp2k/cp2k).

  • current trunk:
    svn checkout http://svn.code.sf.net/p/cp2k/code/trunk cp2k
  • the cp2k-4_1-branch:
    svn checkout http://svn.code.sf.net/p/cp2k/code/branches/cp2k-4_1-branch cp2k
  • the cp2k-3_0-branch:
    svn checkout http://svn.code.sf.net/p/cp2k/code/branches/cp2k-3_0-branch cp2k
  • the cp2k-2_6-branch:
    svn checkout http://svn.code.sf.net/p/cp2k/code/branches/cp2k-2_6-branch cp2k
  • the cp2k-2_5-branch:
    svn checkout http://svn.code.sf.net/p/cp2k/code/branches/cp2k-2_5-branch cp2k
  • the cp2k-2_4-branch:
    svn checkout http://svn.code.sf.net/p/cp2k/code/branches/cp2k-2_4-branch cp2k
  • the cp2k-2_3-branch:
    svn checkout http://svn.code.sf.net/p/cp2k/code/branches/cp2k-2_3-branch cp2k
  • the cp2k-2_2-branch:
    svn checkout http://svn.code.sf.net/p/cp2k/code/branches/cp2k-2_2-branch cp2k

These branches can be updated to their latest version in the following way:

cd cp2k/cp2k
svn update

Alternatively, you may restrict the download to the folder cp2k/cp2k containing source code, tools, and test inputs, e.g. for the trunk version use

svn checkout http://svn.code.sf.net/p/cp2k/code/trunk/cp2k cp2k

Analogous checkouts work for the branch versions.

The Subversion (svn) program must be installed on your machine for this to work.

GitHub Mirror

CP2K's official SVN repository is mirrored at GitHub. The mirror is automatically synced with SVN every 5 minutes.

If you have Git (command git) installed, you can clone the CP2K GitHub repository with

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

Afterwards, to update to latest version (pull new commits)

cd cp2k
git pull

This is a read-only copy, so pull requests are not accepted via GitHub. See information for developers on how to contribute patches.

download.1504870397.txt.gz · Last modified: 2020/08/21 10:15 (external edit)