diff --git a/INSTALL.md b/INSTALL.md index 1d5b1db35c..624e310c1e 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -47,7 +47,8 @@ cd tools/toolchain/ ## 3. Compile -This section has been moved to the [manual](./docs/getting-started/build-from-source.md). +This section has been moved to the +[manual](https://manual.cp2k.org/trunk/getting-started/build-from-source.html). ## 4. If it doesn't work diff --git a/tools/toolchain/install_cp2k_toolchain.sh b/tools/toolchain/install_cp2k_toolchain.sh index 1d04cbd49c..107dc61b9e 100755 --- a/tools/toolchain/install_cp2k_toolchain.sh +++ b/tools/toolchain/install_cp2k_toolchain.sh @@ -1067,12 +1067,14 @@ Done! To use the installed tools and libraries and cp2k version compiled with it you will first need to execute at the prompt: source ${SETUPFILE} -To build CP2K you should change directory: + +If you invoked the toolchain with --install-all then you can proceed to build cp2k like this: cd cp2k/ - cmake -S . -B build -DCP2K_USE_EVERYTHING=ON + cmake -S . -B build -DCP2K_USE_EVERYTHING=ON -DCP2K_USE_DLAF=OFF -DCP2K_USE_PEXSI=OFF cmake --build build -j 32 -See also https://manual.cp2k.org/trunk/getting-started/build-from-source.html +If you installed only some packages then you'll have to assemble the matching cmake command yourself. +For available build options see: https://manual.cp2k.org/trunk/getting-started/build-from-source.html EOF fi