howto:compile_on_cray_cscs
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
howto:compile_on_cray_cscs [2023/01/23 17:31] – krack | howto:compile_on_cray_cscs [2023/01/25 08:29] (current) – Add make step krack | ||
---|---|---|---|
Line 13: | Line 13: | ||
git clone --recursive -b support/ | git clone --recursive -b support/ | ||
</ | </ | ||
- | for the latest release version. A download of the current trunk version is only recommended if the corresponding regression tester is `OK` as indicated by a green background color of the table entry in the status column of the CP2K dashboard. | + | for the latest |
- | ==== 2. Build CP2K production binary | + | ==== 2. Build CP2K toolchain |
Change to the cp2k folder | Change to the cp2k folder | ||
Line 29: | Line 29: | ||
source arch/ | source arch/ | ||
</ | </ | ||
- | This will load the required module environment, build the CP2K toolchain, and compile (make) the CP2K binary for the selected partition. The CP2K binary | + | This will load the required module environment |
+ | |||
+ | ==== 3. Build CP2K production binary ==== | ||
+ | |||
+ | Run one of the suggested '' | ||
+ | < | ||
+ | make -j ARCH=CRAY-XC40-gnu VERSION=psmp | ||
+ | </ | ||
+ | This will compile (make) the CP2K binary for the selected partition. The CP2K binary | ||
**Enjoy CP2K on CRAY!** | **Enjoy CP2K on CRAY!** |
howto/compile_on_cray_cscs.1674495061.txt.gz · Last modified: 2023/01/23 17:31 by krack