C P 2 K D O W N L O A D A N D
I N S T A L L
|
|
What can be downloaded ?
The sources of CP2K are free for all users (GPL license), and all versions of the code are available from CVS.
Binaries are not yet provided, but the source is known to compile on a wide range of architectures and operating systems.
Installation instructions can be found in the file named 'INSTALL' which is part of the download, or available online
cp2k/INSTALL for the most recent version of CP2K.
Available versions of CP2K
It is suggested that users obtain either:
- The most recent version of CP2K (the development version): all the new features, but potentially unstable. This version is also known as trunk.
- Older, stable versions of CP2K (release branches): more stable versions, no ongoing development, only bug back-ports (as time permits).
Available is: cp2k-2_1-branch, cp2k-2_2-branch
How to download
Anonymous CVS Access
The preferred way to obtain the sources (along with example inputs) is through anonymous CVS access, but cvs needs to be installed on your machine.
Login first:
touch $HOME/.cvspass
cvs -d:pserver:anonymous@cvs.cp2k.berlios.de:/cvsroot/cp2k login
No password (i.e. just press 'Enter') is needed to login.
Check out the needed branch:
- current trunk:
cvs -z3 -d:pserver:anonymous@cvs.cp2k.berlios.de:/cvsroot/cp2k co cp2k
- the cp2k-2_2-branch:
cvs -z3 -d:pserver:anonymous@cvs.cp2k.berlios.de:/cvsroot/cp2k co -r cp2k-2_2-branch cp2k
- the cp2k-2_1-branch:
cvs -z3 -d:pserver:anonymous@cvs.cp2k.berlios.de:/cvsroot/cp2k co -r cp2k-2_1-branch cp2k
Each of these branches can be 'refreshed' to their latest version in the following way
cd cp2k
cvs update -dP
The cvs manual explains how to download older version of the code using for example 'cvs update -D 2009-07-28'
FTP download
An alternative way is to access nightly snapshots of the source, via ftp download:
Back to the CP2K homepage