dev:starting
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dev:starting [2020/04/17 11:38] – tmueller | dev:starting [2022/12/16 09:27] (current) – Fix link krack | ||
---|---|---|---|
Line 56: | Line 56: | ||
- In the case of success, the PR will be merged by one of the CP2K administrators | - In the case of success, the PR will be merged by one of the CP2K administrators | ||
- In the case of error, please check what's wrong in the CI logs, fix it in your branch, and commit/push again. The CI will automatically rerun on the new version of the code (no need to close the PR, it will be automatically updated!). Repeat until the CI runs fine. | - In the case of error, please check what's wrong in the CI logs, fix it in your branch, and commit/push again. The CI will automatically rerun on the new version of the code (no need to close the PR, it will be automatically updated!). Repeat until the CI runs fine. | ||
- | + | ||
+ | ===== Prepare a development environment with Spack ===== | ||
+ | |||
+ | The HPC package manager [[https:// | ||
+ | |||
+ | <note important> | ||
+ | |||
+ | - change into the CP2K directory: '' | ||
+ | - create a Spack environment (here for building an '' | ||
+ | - activate the Spack environment using: '' | ||
+ | - install everything required for CP2K and build & install CP2K from the current source tree (this may take while): '' | ||
+ | - start a new shell with all the environment variables set using '' | ||
+ | - to recompile, run: '' | ||
+ | |||
+ | If you experience problems with other tools (like your editor) when inside the Spack environment, |
dev/starting.1587123489.txt.gz · Last modified: 2020/08/21 10:14 (external edit)