This is an old revision of the document!
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.
|Development Version||Released Version|
Looking at the version history might help you to decide.
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.
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).
svn checkout http://svn.code.sf.net/p/cp2k/code/trunk cp2k
svn checkout http://svn.code.sf.net/p/cp2k/code/branches/cp2k-4_1-branch cp2k
svn checkout http://svn.code.sf.net/p/cp2k/code/branches/cp2k-3_0-branch cp2k
svn checkout http://svn.code.sf.net/p/cp2k/code/branches/cp2k-2_6-branch cp2k
svn checkout http://svn.code.sf.net/p/cp2k/code/branches/cp2k-2_5-branch cp2k
svn checkout http://svn.code.sf.net/p/cp2k/code/branches/cp2k-2_4-branch cp2k
svn checkout http://svn.code.sf.net/p/cp2k/code/branches/cp2k-2_3-branch cp2k
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.
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.