From 4c325a8b0d2bf0287169eca39a32306c8c1bfb8d Mon Sep 17 00:00:00 2001 From: Rocco Meli Date: Wed, 29 Jan 2025 17:53:26 +0100 Subject: [PATCH] [docs] Add note about compilers and Spack --- docs/getting-started/build-with-spack.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/getting-started/build-with-spack.md b/docs/getting-started/build-with-spack.md index 53e64192d2..6e2a1118b5 100644 --- a/docs/getting-started/build-with-spack.md +++ b/docs/getting-started/build-with-spack.md @@ -6,6 +6,12 @@ HPC. To install CP2K with [Spack], you need to [install Spack]. +```{note} +If it is the first time you use [Spack], you might have to run `spack compiler find` to setup the +compilers. See [Spack Compiler Configuration](https://spack.readthedocs.io/en/latest/getting_started.html#compiler-configuration) +for more information. +``` + ## Install CP2K with Spack A barebone version of CP2K can be installed with [Spack] as follows: