download
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
download [2016/10/03 07:13] – [Available versions of CP2K] vondele | download [2024/09/09 13:25] (current) – oschuett | ||
---|---|---|---|
Line 6: | Line 6: | ||
[[http:// | [[http:// | ||
- | Installation instructions can be found [[howto: | + | Installation instructions can be found [[howto: |
- | The sparse matrix library DBCSR is part of CP2K, | + | The sparse matrix library DBCSR is part of CP2K, and made available standalone at [[dbcsr | the DBCSR page]]. |
- | and made available standalone at [[http://dbcsr.cp2k.org/ | + | |
===== Available versions of CP2K ===== | ===== Available versions of CP2K ===== | ||
Line 18: | Line 17: | ||
* All new features | * All new features | ||
* Potentially unstable / buggy | * Potentially unstable / buggy | ||
- | * only available via SVN or git, known as ' | + | * only available via Git |
</ | </ | ||
* Older | * Older | ||
Line 32: | Line 31: | ||
==== From an official release ==== | ==== From an official release ==== | ||
- | Sources of released versions are available at our [[http://sourceforge.net/projects/cp2k/files/ |sourceforge | + | Sources of released versions are available at our [[https://github.com/cp2k/cp2k/releases/ |GitHub |
- | ==== From a Linux distro ==== | + | |
- | Precompiled packages can be obtained from several | + | Alternatively, |
- | * Debian http:// | + | ==== From a Distribution ==== |
- | * Fedora | + | |
- | * Ubuntu http:// | + | [[https:// |
+ | [[https://src.fedoraproject.org/ | ||
+ | [[https:// | ||
+ | [[https:// | ||
+ | [[https:// | ||
+ | [[https:// | ||
+ | [[https:// | ||
+ | [[http:// | ||
+ | [[https:// | ||
+ | [[https:// | ||
+ | [[https:// | ||
+ | [[https:// | ||
==== From a third party ==== | ==== From a third party ==== | ||
- | * Windows: https:// | ||
- | ==== Anonymous SVN Access ==== | + | * Debian/ |
+ | |||
+ | ==== Install CP2K on other Operating Systems ==== | ||
+ | |||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
+ | /* | ||
+ | [[https:// | ||
+ | [[https:// | ||
+ | */ | ||
+ | |||
+ | ==== Git Access ==== | ||
<note warning> | <note warning> | ||
- | The code in SVN is under constant development. Check the [[http:// | + | The code in Git is under constant development. Check the [[http:// |
</ | </ | ||
- | The latest and all prior versions are available from the [[https://sourceforge.net/ | + | The [[https://git-scm.com/|Git]] ('' |
- | Check out only a needed branch (the branch will then be in cp2k/ | + | === Initial checkout === |
- | * current trunk: < | + | The latest and all prior versions are available from the [[https://github.com/cp2k/cp2k/|CP2K GitHub repository]]. |
- | * the cp2k-3_0-branch: | + | |
- | * the cp2k-2_6-branch: | + | To clone the current master: |
- | * the cp2k-2_5-branch: | + | |
- | | + | |
- | * the cp2k-2_3-branch: | + | |
- | * the cp2k-2_2-branch: | + | |
- | These branches can be updated to their latest version in the following way: | ||
< | < | ||
- | cd cp2k/cp2k | + | git clone --recursive https:// |
- | svn update | + | |
</ | </ | ||
- | Alternatively, | + | or to directly checkout a branch (check |
< | < | ||
- | svn checkout http://svn.code.sf.net/ | + | git clone --recursive -b support/ |
</ | </ | ||
- | Analogous checkouts work for the branch versions. | ||
- | The [[http:// | + | === Keeping |
- | on your machine for this to work. | + | |
- | ==== GitHub Mirror ==== | + | Set the following once on your CP2K Git clone. It will tell Git to automatically update included submodules as well and to always use rebase instead of merge. |
- | CP2K's official SVN repository is [[https:// | + | < |
+ | cd cp2k | ||
+ | git config submodule.recurse true | ||
+ | git config pull.rebase true | ||
+ | </ | ||
- | If you have [[http:// | + | After setting this option, update |
< | < | ||
- | git clone https:// | + | cd cp2k |
+ | git pull | ||
</ | </ | ||
- | Afterwards, | + | If you want to set the options globally |
+ | |||
+ | < | ||
+ | git config --global submodule.recurse true | ||
+ | git config --global | ||
+ | </ | ||
+ | |||
+ | === Keeping your clone up-to-date (Git < 2.14) === | ||
+ | |||
+ | Set the following once on your CP2K Git clone. It will tell Git to always use rebase instead of merge. | ||
< | < | ||
cd cp2k | cd cp2k | ||
- | git pull | + | git config |
</ | </ | ||
- | This is a read-only copy, so pull requests are not accepted via GitHub. See [[dev|information for developers]] on how to contribute patches. | + | After setting this option, update with the following: |
+ | < | ||
+ | cd cp2k | ||
+ | |||
+ | git pull | ||
+ | git submodule update --recursive | ||
+ | </ |
download.1475478838.txt.gz · Last modified: 2020/08/21 10:15 (external edit)