download
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
download [2017/08/17 09:52] – oschuett | download [2023/12/01 16:58] – krack | ||
---|---|---|---|
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 |
+ | |||
+ | Alternatively, | ||
==== From a Distribution ==== | ==== From a Distribution ==== | ||
+ | |||
[[https:// | [[https:// | ||
- | [[https://apps.fedoraproject.org/ | + | [[https://src.fedoraproject.org/ |
[[https:// | [[https:// | ||
- | [[https://github.com/Homebrew/homebrew-science/blob/master/cp2k.rb|{{homebrew_logo.png? | + | [[https://aur.archlinux.org/packages/cp2k|{{arch_linux_logo.png? |
- | [[https:// | + | [[https://formulae.brew.sh/ |
+ | [[https:// | ||
+ | [[https:// | ||
+ | [[http:// | ||
+ | [[https:// | ||
+ | [[https:// | ||
+ | [[https:// | ||
+ | [[https:// | ||
==== From a third party ==== | ==== From a third party ==== | ||
- | * Windows: https:// | ||
- | ==== Anonymous SVN Access ==== | + | * Debian/ |
+ | * [[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-4_1-branch: | + | |
- | * the cp2k-3_0-branch: | + | To clone the current master: |
- | * the cp2k-2_6-branch: | + | |
- | | + | |
- | * the cp2k-2_4-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.txt · Last modified: 2024/08/07 16:17 by krack