download
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
download [2018/10/08 17:45] – oschuett | download [2023/12/02 16:20] – 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, and made available standalone at [[dbcsr | the DBCSR page]]. | The sparse matrix library DBCSR is part of CP2K, and made available standalone at [[dbcsr | the DBCSR page]]. | ||
Line 31: | Line 31: | ||
==== From an official release ==== | ==== From an official release ==== | ||
- | Sources of released versions are available at our [[https:// | + | Sources of released versions are available at our [[https:// |
+ | |||
+ | 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:// | [[http:// | ||
- | [[http://spack.readthedocs.io/en/ | + | [[https://packages.spack.io/package.html?name=cp2k|{{spack-logo.png? |
+ | [[https:// | ||
+ | [[https:// | ||
+ | [[https:// | ||
==== From a third party ==== | ==== From a third party ==== | ||
* Debian/ | * Debian/ | ||
- | | + | |
+ | ==== Install CP2K on other Operating Systems ==== | ||
+ | |||
+ | | ||
+ | * [[https:// | ||
+ | |||
+ | /* | ||
+ | [[https://www.cp2k.org/howto: | ||
+ | [[https:// | ||
+ | */ | ||
==== Git Access ==== | ==== Git Access ==== | ||
Line 53: | Line 69: | ||
The code in Git is under constant development. Check the [[http:// | The code in Git is under constant development. Check the [[http:// | ||
</ | </ | ||
+ | |||
+ | The [[https:// | ||
+ | |||
+ | === Initial checkout === | ||
The latest and all prior versions are available from the [[https:// | The latest and all prior versions are available from the [[https:// | ||
Line 59: | Line 79: | ||
< | < | ||
- | git clone https:// | + | git clone --recursive |
</ | </ | ||
Line 65: | Line 85: | ||
< | < | ||
- | git clone -b support/v6.1 https:// | + | git clone --recursive |
</ | </ | ||
- | Your clone of the Git repository | + | === Keeping your clone up-to-date |
+ | |||
+ | 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. | ||
+ | |||
+ | < | ||
+ | cd cp2k | ||
+ | git config submodule.recurse true | ||
+ | git config pull.rebase true | ||
+ | </ | ||
+ | |||
+ | After setting this option, update with the following: | ||
< | < | ||
cd cp2k | cd cp2k | ||
Line 74: | Line 105: | ||
</ | </ | ||
- | The [[https:// | + | If you want to set the options globally |
+ | |||
+ | < | ||
+ | git config --global submodule.recurse true | ||
+ | git config --global pull.rebase true | ||
+ | </ | ||
+ | |||
+ | === 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 | ||
+ | git config pull.rebase true | ||
+ | </ | ||
+ | |||
+ | After setting this option, update with the following: | ||
+ | |||
+ | < | ||
+ | cd cp2k | ||
+ | |||
+ | git pull | ||
+ | git submodule update --recursive | ||
+ | </ |
download.txt · Last modified: 2024/01/10 13:29 by oschuett